perf intel-pt: pkt-decoder: Add MODE.Exec IFLAG bit
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 24 Jan 2022 08:41:40 +0000 (10:41 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Feb 2022 20:06:11 +0000 (17:06 -0300)
commitf7934477ce36dbb18c722226bca7e1b4ec5024ea
tree0651fd6583c973c7074cae637e15ecc8c7d65346
parent2750af50a360b52c6df1f5652ae728878bececc0
perf intel-pt: pkt-decoder: Add MODE.Exec IFLAG bit

As of Intel SDM (https://www.intel.com/sdm) version 076, there is a new
Intel PT feature called Event Trace which adds a bit to the existing
MODE.Exec packet to record the interrupt flag. Amend the packet decoder and
packet decoder test accordingly.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20220124084201.2699795-5-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/x86/tests/intel-pt-pkt-decoder-test.c
tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c