Re: [PATCH v5 1/6] perf: provide sysfs_show for struct perf_pmu_events_attr

From: Michael Ellerman
Date: Wed Dec 03 2014 - 01:19:48 EST


On Tue, 2014-12-02 at 18:03 -0800, Sukadev Bhattiprolu wrote:
> From: Cody P Schafer <cody@xxxxxxxxxxxxxxxxxx>
>
> (struct perf_pmu_events_attr) is defined in include/linux/perf_event.h,
> but the only "show" for it is in x86 and contains x86 specific stuff.
>
> Make a generic one for those of us who are just using the event_str.
>
> CC: Sukadev Bhattiprolu <sukadev@xxxxxxxxxxxxxxxxxx>
> CC: Haren Myneni <hbabu@xxxxxxxxxx>
> CC: Cody P Schafer <dev@xxxxxxxxxx>
> Signed-off-by: Cody P Schafer <cody@xxxxxxxxxxxxxxxxxx>
> ---
> include/linux/perf_event.h | 3 +++
> kernel/events/core.c | 8 ++++++++
> 2 files changed, 11 insertions(+)

Acme/Peterz, are you happy for us to take this series through the powerpc tree?
Do you want to give us an ack for patches 1 & 2?

cheers



--
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/