perf intel-pt: Fix decoding when there are address filters
authorAdrian Hunter <[email protected]>
Fri, 23 Sep 2016 14:38:48 +0000 (17:38 +0300)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 29 Sep 2016 14:17:06 +0000 (11:17 -0300)
commit2acee108f58045d07475516852d4282ab73904dc
tree64891314c8a010ffc5b1983b6d41080b211b65b8
parent9f1d122b528ef3ffcef1bdcf6a3dddf9450a864e
perf intel-pt: Fix decoding when there are address filters

Due to errata SKL014 "Intel PT TIP.PGD May Not Have Target IP Payload",
the Intel PT decoder needs to match address filters against TIP.PGD
packets.  Parse the address filters and implement the decoder's
'pgd_ip()' callback to match the IP against the filter regions.

Signed-off-by: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/intel-pt.c