Re: [PATCH] perf_counters: start documenting HAVE_PERF_COUNTERS requirements

From: Mike Frysinger
Date: Fri Jun 12 2009 - 13:33:17 EST


On Fri, Jun 12, 2009 at 13:30, Ingo Molnar wrote:
> * Mike Frysinger <vapier@xxxxxxxxxx> wrote:
>> Help out arch porters who want to support perf counters by listing some
>> basic requirements.
>>
>> Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
>> ---
>> i imagine more details would be good, but this is a starting point and
>> better than nothing
>>
>> Âinit/Kconfig     Â|  Â2 ++
>> Âtools/perf/design.txt | Â 15 +++++++++++++++
>> Â2 files changed, 17 insertions(+), 0 deletions(-)
>>
>> diff --git a/init/Kconfig b/init/Kconfig
>> index c649657..20f85b1 100644
>> --- a/init/Kconfig
>> +++ b/init/Kconfig
>> @@ -936,6 +936,8 @@ config AIO
>>
>> Âconfig HAVE_PERF_COUNTERS
>> Â Â Â bool
>> + Â Â help
>> + Â Â Â See end of tools/perf/design.txt
>>
>> Âmenu "Performance Counters"
>
> Applied, thanks Mike! I have made a small change: i changed it from
> help text into a regular comment. We usually use help texts for
> interactive Kconfig options - but this is not one.

yes, but i like the help text because when i use the kconfig search
option, it shows up. otherwise doing a search for HAVE_PERF_COUNTERS
shows nothing useful.
-mike
--
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/