perf tools: Add PMU configuration to tools
authorMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 16 Sep 2016 15:50:03 +0000 (09:50 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
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 <mathieu.poirier@linaro.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/1474041004-13956-7-git-send-email-mathieu.poirier@linaro.org
[ 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 <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-stat.c
tools/perf/builtin-top.c