aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/arm/util/cs-etm.h
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2016-09-16 09:50:04 -0600
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-09-22 13:08:55 -0300
commit3becf4525d9c0fb9cf8ff657b2aec1c733bc742f (patch)
treeac9dd15cbd985555e3ac45bcf62791add19220ed /tools/perf/arch/arm/util/cs-etm.h
parentperf tools: Add PMU configuration to tools (diff)
downloadlinux-dev-3becf4525d9c0fb9cf8ff657b2aec1c733bc742f.tar.xz
linux-dev-3becf4525d9c0fb9cf8ff657b2aec1c733bc742f.zip
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>
Diffstat (limited to 'tools/perf/arch/arm/util/cs-etm.h')
-rw-r--r--tools/perf/arch/arm/util/cs-etm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/arch/arm/util/cs-etm.h b/tools/perf/arch/arm/util/cs-etm.h
index 909f486d02d1..5256741be549 100644
--- a/tools/perf/arch/arm/util/cs-etm.h
+++ b/tools/perf/arch/arm/util/cs-etm.h
@@ -18,6 +18,9 @@
#ifndef INCLUDE__PERF_CS_ETM_H__
#define INCLUDE__PERF_CS_ETM_H__
+#include "../../util/evsel.h"
+
struct auxtrace_record *cs_etm_record_init(int *err);
+int cs_etm_set_drv_config(struct perf_evsel_config_term *term);
#endif