Re: perf and Kconfig
From: Alexis Berlemont
Date: Fri Dec 27 2013 - 19:16:20 EST
Hi,
I just checked your branch perf/kbuild9.
Your work is far more elaborate than mine. In my branch, I just reused
the *config targets so as to generate the files .config
include/config/auto.conf(.cmd), ...; after that, I manually modified
Makefile.perf with the variables CONFIG_* instead of using the whole
Kbuild system.
Thank you for your mail, it helped me a lot.
Alexis.
On Mon, Dec 23, 2013 at 12:54 PM, Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
> On Fri, Dec 20, 2013 at 06:00:05PM -0700, David Ahern wrote:
>> [adding perf maintainers]
>>
>> On 12/20/13, 5:39 PM, Alexis Berlemont wrote:
>> >Hi,
>> >
>> >Here is a proposal of a small contribution which tries to fulfill the
>> >task "Use Kconfig to allow selecting features and build minimal
>> >version of perf,..." displayed on the todo page of the perf
>> >wiki (https://perf.wiki.kernel.org/index.php/Todo).
>> >
>> >I tried to continue the work started by David Ahern
>> >(https://github.com/dsahern/linux.git branch:perf-config). This
>> >version relies on the features detection tests available in
>> >linux/tools/perf/config/feature-checks so as to enable some
>> >configuration options (at least by default).
>> >
>> >This little task is not complete; more Kconfig options should be added
>> >for each perf tool (top, record, report, ...).
>> >
>> >I just wanted to ask whether you consider this proposal as interesting
>> >enough for inclusion and if you are ok with the way it is implemented.
>> >
>> >The code is available here: https://github.com/aberlemont/linux.git
>> >- branch: perf-config.
>>
>> I know Jiri has an attempt in his tree and there have been a few
>> discussions since then as well. I'll take a look at it next week. I
>> would like to see it completed; I just don't have the time to do it.
>
> hi,
> my latest branch (out of sync for long time) for kbuild:
> git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
> perf/kbuild9
>
> I'll check your changes ;-)
>
> jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/