linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf: Kconfig based feature selection
@ 2015-01-19  9:35 Jan Heylen
  2015-01-19 15:54 ` David Ahern
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Heylen @ 2015-01-19  9:35 UTC (permalink / raw)
  To: linux-perf-users; +Cc: alexis.berlemont, dsahern

Hi,

I was wondering what the status is for following item on the TODO list:

Use Kconfig to allow selecting features and build minimal version of
perf, e.g. one with just 'record' for use in embedded platforms.

David Ahern prototyped this, dig those patches and update them


I tried a search for Kconfig on this mailing list it's archives, but
no good hit.

I see in the github repos from David Ahern a link to commits from
Alexis Berlemont that look interesting, is there a plan to upstream
this?
https://github.com/aberlemont/linux/tree/perf/kbuild

One thing that I don't see is, in libperf, nothing seem to be stripped
out if you e.g. only select 'record'. Is this correct? But this
observation is only based on looking at the github repo kbuild files,
I'll have to clone Alexis his repo to have a closer look.

best regards,

Jan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: perf: Kconfig based feature selection
  2015-01-19  9:35 perf: Kconfig based feature selection Jan Heylen
@ 2015-01-19 15:54 ` David Ahern
  2015-01-19 16:04   ` Jiri Olsa
  0 siblings, 1 reply; 5+ messages in thread
From: David Ahern @ 2015-01-19 15:54 UTC (permalink / raw)
  To: Jan Heylen, linux-perf-users; +Cc: alexis.berlemont, Jiri Olsa

On 1/19/15 2:35 AM, Jan Heylen wrote:
> Hi,
>
> I was wondering what the status is for following item on the TODO list:
>
> Use Kconfig to allow selecting features and build minimal version of
> perf, e.g. one with just 'record' for use in embedded platforms.
>
> David Ahern prototyped this, dig those patches and update them
>
>
> I tried a search for Kconfig on this mailing list it's archives, but
> no good hit.
>
> I see in the github repos from David Ahern a link to commits from
> Alexis Berlemont that look interesting, is there a plan to upstream
> this?
> https://github.com/aberlemont/linux/tree/perf/kbuild

Latest incarnation: https://lkml.org/lkml/2015/1/15/310

David

>
> One thing that I don't see is, in libperf, nothing seem to be stripped
> out if you e.g. only select 'record'. Is this correct? But this
> observation is only based on looking at the github repo kbuild files,
> I'll have to clone Alexis his repo to have a closer look.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: perf: Kconfig based feature selection
  2015-01-19 15:54 ` David Ahern
@ 2015-01-19 16:04   ` Jiri Olsa
  2015-01-19 20:02     ` Jan Heylen
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Olsa @ 2015-01-19 16:04 UTC (permalink / raw)
  To: David Ahern; +Cc: Jan Heylen, linux-perf-users, alexis.berlemont

On Mon, Jan 19, 2015 at 08:54:14AM -0700, David Ahern wrote:
> On 1/19/15 2:35 AM, Jan Heylen wrote:
> >Hi,
> >
> >I was wondering what the status is for following item on the TODO list:
> >
> >Use Kconfig to allow selecting features and build minimal version of
> >perf, e.g. one with just 'record' for use in embedded platforms.
> >
> >David Ahern prototyped this, dig those patches and update them
> >
> >
> >I tried a search for Kconfig on this mailing list it's archives, but
> >no good hit.
> >
> >I see in the github repos from David Ahern a link to commits from
> >Alexis Berlemont that look interesting, is there a plan to upstream
> >this?
> >https://github.com/aberlemont/linux/tree/perf/kbuild
> 
> Latest incarnation: https://lkml.org/lkml/2015/1/15/310
> 

and very latest one ine here:
  git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
  perf/build

v3 is coming shortly ;-)

jirka

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: perf: Kconfig based feature selection
  2015-01-19 16:04   ` Jiri Olsa
@ 2015-01-19 20:02     ` Jan Heylen
  2015-01-19 20:32       ` Jiri Olsa
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Heylen @ 2015-01-19 20:02 UTC (permalink / raw)
  To: Jiri Olsa; +Cc: David Ahern, linux-perf-users, Alexis Berlemont

On Mon, Jan 19, 2015 at 5:04 PM, Jiri Olsa <jolsa@redhat.com> wrote:
> On Mon, Jan 19, 2015 at 08:54:14AM -0700, David Ahern wrote:
>> On 1/19/15 2:35 AM, Jan Heylen wrote:
>> >Hi,
>> >
>> >I was wondering what the status is for following item on the TODO list:
>> >
>> >Use Kconfig to allow selecting features and build minimal version of
>> >perf, e.g. one with just 'record' for use in embedded platforms.
>> >
>> >David Ahern prototyped this, dig those patches and update them
>> >
>> >
>> >I tried a search for Kconfig on this mailing list it's archives, but
>> >no good hit.
>> >
>> >I see in the github repos from David Ahern a link to commits from
>> >Alexis Berlemont that look interesting, is there a plan to upstream
>> >this?
>> >https://github.com/aberlemont/linux/tree/perf/kbuild
>>
>> Latest incarnation: https://lkml.org/lkml/2015/1/15/310
>>
>
> and very latest one ine here:
>   git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
>   perf/build
>
> v3 is coming shortly ;-)
>
> jirka

Nice work.

What is the status on the first part of the TODO list?

> >Use Kconfig to allow selecting features and build minimal version of
> >perf, e.g. one with just 'record' for use in embedded platforms.

I don't find this back in this patch series, although it looks like a
good base to make this possible?

About the perf-feature choosing though Kconfig alike infrastructure as
in Alexis tree. Is there a plan to pick up that work too or isn't that
the intention?

Jan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: perf: Kconfig based feature selection
  2015-01-19 20:02     ` Jan Heylen
@ 2015-01-19 20:32       ` Jiri Olsa
  0 siblings, 0 replies; 5+ messages in thread
From: Jiri Olsa @ 2015-01-19 20:32 UTC (permalink / raw)
  To: Jan Heylen; +Cc: David Ahern, linux-perf-users, Alexis Berlemont

On Mon, Jan 19, 2015 at 09:02:15PM +0100, Jan Heylen wrote:
> On Mon, Jan 19, 2015 at 5:04 PM, Jiri Olsa <jolsa@redhat.com> wrote:
> > On Mon, Jan 19, 2015 at 08:54:14AM -0700, David Ahern wrote:
> >> On 1/19/15 2:35 AM, Jan Heylen wrote:
> >> >Hi,
> >> >
> >> >I was wondering what the status is for following item on the TODO list:
> >> >
> >> >Use Kconfig to allow selecting features and build minimal version of
> >> >perf, e.g. one with just 'record' for use in embedded platforms.
> >> >
> >> >David Ahern prototyped this, dig those patches and update them
> >> >
> >> >
> >> >I tried a search for Kconfig on this mailing list it's archives, but
> >> >no good hit.
> >> >
> >> >I see in the github repos from David Ahern a link to commits from
> >> >Alexis Berlemont that look interesting, is there a plan to upstream
> >> >this?
> >> >https://github.com/aberlemont/linux/tree/perf/kbuild
> >>
> >> Latest incarnation: https://lkml.org/lkml/2015/1/15/310
> >>
> >
> > and very latest one ine here:
> >   git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
> >   perf/build
> >
> > v3 is coming shortly ;-)
> >
> > jirka
> 
> Nice work.
> 
> What is the status on the first part of the TODO list?
> 
> > >Use Kconfig to allow selecting features and build minimal version of
> > >perf, e.g. one with just 'record' for use in embedded platforms.
> 
> I don't find this back in this patch series, although it looks like a
> good base to make this possible?

yep, among other things it's also the base for the rest of the Kconfig stuff

As I wrote in the 0/ changelog:

---
Also this patchset is kind of incremental version of the latest:
  perf tools: Add kbuild support into Makefile.kbuild
so it should be easier to review.
---

> 
> About the perf-feature choosing though Kconfig alike infrastructure as
> in Alexis tree. Is there a plan to pick up that work too or isn't that
> the intention?

yep, thats the plan.. the next stop is the Kconfig base and the rest
should be incremental additions of CONFIG_* stuff to make parts
of perf optional.

jirka

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-19 20:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19  9:35 perf: Kconfig based feature selection Jan Heylen
2015-01-19 15:54 ` David Ahern
2015-01-19 16:04   ` Jiri Olsa
2015-01-19 20:02     ` Jan Heylen
2015-01-19 20:32       ` Jiri Olsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).