diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2016-09-23 17:38:45 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-09-29 17:17:05 +0300 |
commit | c093f308cea3eb4be3ed6e7e9ad54bf67a26abe4 (patch) | |
tree | dba16ec0bf49dd43d1621efbe9d9759ec14681ad /tools/perf/util/intel-pt.h | |
parent | 40b746a06332799786ba557fe84184428bef62fb (diff) | |
download | linux-c093f308cea3eb4be3ed6e7e9ad54bf67a26abe4.tar.xz |
perf intel-pt: Record address filter in AUXTRACE_INFO event
The address filter is needed to help decode the trace, so store it in
the AUXTRACE_INFO event.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: http://lkml.kernel.org/r/1474641528-18776-14-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/intel-pt.h')
-rw-r--r-- | tools/perf/util/intel-pt.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/intel-pt.h b/tools/perf/util/intel-pt.h index 8b8356233e6a..e13b14e5a37b 100644 --- a/tools/perf/util/intel-pt.h +++ b/tools/perf/util/intel-pt.h @@ -35,11 +35,10 @@ enum { INTEL_PT_TSC_CTC_D, INTEL_PT_CYC_BIT, INTEL_PT_MAX_NONTURBO_RATIO, + INTEL_PT_FILTER_STR_LEN, INTEL_PT_AUXTRACE_PRIV_MAX, }; -#define INTEL_PT_AUXTRACE_PRIV_SIZE (INTEL_PT_AUXTRACE_PRIV_MAX * sizeof(u64)) - struct auxtrace_record; struct perf_tool; union perf_event; |