perf pmu: Push configuration down to PMU driver
authorMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 16 Sep 2016 15:50:02 +0000 (09:50 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Sep 2016 15:19:41 +0000 (12:19 -0300)
commit859442bd3fcbe326a9c0174c6105c938eb101438
tree574087e00604df2f3243a032743c139b0d906e9f
parenta818c563ae16640e00389a39e7b0e7ae4bd3d64c
perf pmu: Push configuration down to PMU driver

This patch adds a PMU callback and the required mechanic so that drivers
can process the command line configuration elements found in
evsel::config_terms.

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-6-git-send-email-mathieu.poirier@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/Build
tools/perf/util/drv_configs.c [new file with mode: 0644]
tools/perf/util/drv_configs.h [new file with mode: 0644]
tools/perf/util/pmu.h