[Linux-Xtensa] [PATCH] xtensa: enable HAVE_PERF_EVENTS

Max Filippov jcmvbkbc at gmail.com
Thu Jan 2 07:16:51 UTC 2014


On Wed, Jan 1, 2014 at 10:10 AM, Baruch Siach <baruch at tkos.co.il> wrote:
> Hi Chris, Max,
>
> Ping?
>
> Any chance of having this in v3.14?

Yes, sorry, I've reviewed it long ago but never replied.
Thanks, applied to my xtensa-fixes-for-upstream branch.

> On Thu, Nov 28, 2013 at 06:00:04PM +0200, Baruch Siach wrote:
>> This allows the perf tool to monitor kernel tracepoint events.
>>
>> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
>> ---
>>  arch/xtensa/Kconfig                  | 1 +
>>  arch/xtensa/include/asm/perf_event.h | 4 ++++
>>  2 files changed, 5 insertions(+)
>>  create mode 100644 arch/xtensa/include/asm/perf_event.h
>>
>> diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
>> index 908a16b..edbdb95 100644
>> --- a/arch/xtensa/Kconfig
>> +++ b/arch/xtensa/Kconfig
>> @@ -19,6 +19,7 @@ config XTENSA
>>       select IRQ_DOMAIN
>>       select HAVE_OPROFILE
>>       select HAVE_FUNCTION_TRACER
>> +     select HAVE_PERF_EVENTS
>>       help
>>         Xtensa processors are 32-bit RISC machines designed by Tensilica
>>         primarily for embedded systems.  These processors are both
>> diff --git a/arch/xtensa/include/asm/perf_event.h b/arch/xtensa/include/asm/perf_event.h
>> new file mode 100644
>> index 0000000..5aa4590
>> --- /dev/null
>> +++ b/arch/xtensa/include/asm/perf_event.h
>> @@ -0,0 +1,4 @@
>> +#ifndef __ASM_XTENSA_PERF_EVENT_H
>> +#define __ASM_XTENSA_PERF_EVENT_H
>> +
>> +#endif /* __ASM_XTENSA_PERF_EVENT_H */
>> --
>> 1.8.4.3
>
> --
>      http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



-- 
Thanks.
-- Max


More information about the linux-xtensa mailing list