linux/tools/perf/util/intel-pt-decoder
Adrian Hunter a882cc9497 perf intel-pt: Fix missing 'instruction' events with 'q' option
FUP packets contain IP information, which makes them also an 'instruction'
event in 'hop' mode i.e. the itrace 'q' option.  That wasn't happening, so
restructure the logic so that FUP events are added along with appropriate
'instruction' and 'branch' events.

Fixes: 7c1b16ba0e ("perf intel-pt: Add support for decoding FUP/TIP only")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: stable@vger.kernel.org # v5.15+
Link: https://lore.kernel.org/r/20211210162303.2288710-7-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-12-11 08:19:47 -03:00
..
Build x86/insn: Use get_unaligned() instead of memcpy() 2021-10-06 11:56:37 +02:00
intel-pt-decoder.c perf intel-pt: Fix missing 'instruction' events with 'q' option 2021-12-11 08:19:47 -03:00
intel-pt-decoder.h perf intel-pt: Support itrace A option to approximate IPC 2021-10-27 16:20:18 -03:00
intel-pt-insn-decoder.c perf tools: Use __BYTE_ORDER__ 2021-11-07 12:27:38 -03:00
intel-pt-insn-decoder.h perf intel_pt: Add vmlaunch and vmresume as branches 2021-02-18 16:13:30 -03:00
intel-pt-log.c perf intel-pt: Support itrace d+o option to direct debug log to stdout 2021-10-27 16:21:01 -03:00
intel-pt-log.h perf intel-pt: Add VM Time Correlation to decoder 2021-05-12 12:43:11 -03:00
intel-pt-pkt-decoder.c perf tools: Use __BYTE_ORDER__ 2021-11-07 12:27:38 -03:00
intel-pt-pkt-decoder.h perf intel-pt: Retain the last PIP packet payload as is 2021-02-18 16:13:46 -03:00