perf pmu: Push configuration down to PMU driver
authorMathieu Poirier <[email protected]>
Fri, 16 Sep 2016 15:50:02 +0000 (09:50 -0600)
committerArnaldo Carvalho de Melo <[email protected]>
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 <[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]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
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