linux/tools/perf/util/intel-pt-decoder
Adrian Hunter 9f1d122b52 perf intel-pt: Enable decoder to handle TIP.PGD with missing IP
When address filters are used, the decoder must detect the end of a
filter region (or a branch into a tracestop region) by matching Packet
Generation Disabled (TIP.PGD) packets against the object code using the
IP given in the packet. However, due to errata SKL014 "Intel PT TIP.PGD
May Not Have Target IP Payload", that IP may not be present.

Enable the decoder to handle that by adding a new callback function
'pgd_ip()' which indicates whether the IP is not traced, in which case
that is the point where the trace was disabled.

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-16-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-09-29 11:17:06 -03:00
..
Build perf intel-pt-decoder: Avoid checking code drift on busibox's diff 2016-07-12 15:20:41 -03:00
gen-insn-attr-x86.awk perf tools: Add AVX-512 support to the instruction decoder used by Intel PT 2016-07-21 09:37:18 -03:00
inat_types.h perf tools: Fix tarball build broken by pt/bts 2015-08-22 12:27:07 -03:00
inat.c perf tools: Fix tarball build broken by pt/bts 2015-08-22 12:27:07 -03:00
inat.h perf tools: Add AVX-512 support to the instruction decoder used by Intel PT 2016-07-21 09:37:18 -03:00
insn.c perf tools: Add AVX-512 support to the instruction decoder used by Intel PT 2016-07-21 09:37:18 -03:00
insn.h perf tools: Add AVX-512 support to the instruction decoder used by Intel PT 2016-07-21 09:37:18 -03:00
intel-pt-decoder.c perf intel-pt: Enable decoder to handle TIP.PGD with missing IP 2016-09-29 11:17:06 -03:00
intel-pt-decoder.h perf intel-pt: Enable decoder to handle TIP.PGD with missing IP 2016-09-29 11:17:06 -03:00
intel-pt-insn-decoder.c perf tools: Fix build on powerpc broken by pt/bts 2015-08-31 15:47:33 -03:00
intel-pt-insn-decoder.h
intel-pt-log.c perf intel-pt: Make logging slightly more efficient 2015-09-28 16:45:26 -03:00
intel-pt-log.h perf intel-pt: Make logging slightly more efficient 2015-09-28 16:45:26 -03:00
intel-pt-pkt-decoder.c perf intel-pt: Fix ip compression 2016-08-12 14:39:48 -03:00
intel-pt-pkt-decoder.h perf tools: Add new Intel PT packet definitions 2015-08-24 17:46:06 -03:00
x86-opcode-map.txt libnvdimm for 4.8 2016-07-28 17:38:16 -07:00