commit | fd979c0132074856975a6e79bc2226b99435ec5b | [log] [tgz] |
---|---|---|
author | Cody P Schafer <cody@linux.vnet.ibm.com> | Fri Jan 30 13:45:57 2015 -0800 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Feb 02 17:56:36 2015 +1100 |
tree | ad01ab6039dec30b6e1180759b435f84cd2780b0 | |
parent | fe12545e7650de5332b5522a62686fab8bafc733 [diff] |
perf: provide sysfs_show for struct perf_pmu_events_attr (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. Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com> Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>