perf tools: Add sink configuration for cs_etm PMU
authorMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 16 Sep 2016 15:50:04 +0000 (09:50 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Sep 2016 16:08:55 +0000 (13:08 -0300)
commit3becf4525d9c0fb9cf8ff657b2aec1c733bc742f
treeac9dd15cbd985555e3ac45bcf62791add19220ed
parent5d8bb1ec7477e0e53dbd891733682a6583d4398e
perf tools: Add sink configuration for cs_etm PMU

Using the PMU::set_drv_config() callback to enable the CoreSight sink
that will be used for the trace session.

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-8-git-send-email-mathieu.poirier@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/arm/util/cs-etm.c
tools/perf/arch/arm/util/cs-etm.h
tools/perf/arch/arm/util/pmu.c