perf tools: Add PMU configuration to tools
authorMathieu Poirier <[email protected]>
Fri, 16 Sep 2016 15:50:03 +0000 (09:50 -0600)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 22 Sep 2016 16:07:36 +0000 (13:07 -0300)
commit5d8bb1ec7477e0e53dbd891733682a6583d4398e
tree868fb6786dfd87daf88189f824d87af0666ccbba
parent859442bd3fcbe326a9c0174c6105c938eb101438
perf tools: Add PMU configuration to tools

Now that the required mechanic is there to deal with PMU specific
configuration, add the functionality to the tools where events can be
selected.

Signed-off-by: Mathieu Poirier <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
[ Fix the build on XSI-compliant systems, using str_error_r() to make sure we return a string, not an integer ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-record.c
tools/perf/builtin-stat.c
tools/perf/builtin-top.c