[PATCH v2 09/14] perf: provide sysfs_show for struct perf_pmu_events_attr

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer (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: Haren Myneni CC: Cody P Schafer Signed-off-by: Cody P

[PATCH v2 09/14] perf: provide sysfs_show for struct perf_pmu_events_attr

2014-08-15 Thread Sukadev Bhattiprolu
From: Cody P Schafer d...@codyps.com (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: Haren Myneni hb...@us.ibm.com CC: Cody P