Re: [PATCH bpf-next 1/3] perf: enable branch record for software events

From: Song Liu
Date: Thu Aug 26 2021 - 12:41:34 EST




> On Aug 26, 2021, at 12:56 AM, kajoljain <kjain@xxxxxxxxxxxxx> wrote:
>
>
>
> On 8/25/21 8:52 PM, Song Liu wrote:
>>
>>
>>> On Aug 25, 2021, at 5:09 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>>>
>>> On Mon, Aug 23, 2021 at 11:01:55PM -0700, Song Liu wrote:
>>>
>>>> arch/x86/events/intel/core.c | 5 ++++-
>>>> arch/x86/events/intel/lbr.c | 12 ++++++++++++
>>>> arch/x86/events/perf_event.h | 2 ++
>>>> include/linux/perf_event.h | 33 +++++++++++++++++++++++++++++++++
>>>> kernel/events/core.c | 28 ++++++++++++++++++++++++++++
>>>> 5 files changed, 79 insertions(+), 1 deletion(-)
>>>
>>> No PowerPC support :/
>>
>> I don't have PowerPC system for testing at the moment. I guess we can decide
>> the overall framework now, and ask PowerPC folks' help on PowerPC support
>> later?
>
> Hi Song,
> I will look at powerpc side to enable this.
>
> Thanks,
> Kajol Jain

Thanks Kajol!

Let me address Peter's other comments and send v2. We can then merge in
PowerPC support.

Song