Commit a882cc9
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: 7c1b16b ("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>1 parent a32e6c5 commit a882cc9
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2683 | 2683 | | |
2684 | 2684 | | |
2685 | 2685 | | |
| 2686 | + | |
| 2687 | + | |
2686 | 2688 | | |
2687 | 2689 | | |
2688 | 2690 | | |
| |||
2723 | 2725 | | |
2724 | 2726 | | |
2725 | 2727 | | |
2726 | | - | |
2727 | | - | |
| 2728 | + | |
| 2729 | + | |
2728 | 2730 | | |
2729 | 2731 | | |
2730 | 2732 | | |
2731 | 2733 | | |
2732 | 2734 | | |
2733 | 2735 | | |
| 2736 | + | |
2734 | 2737 | | |
2735 | 2738 | | |
| 2739 | + | |
| 2740 | + | |
2736 | 2741 | | |
2737 | | - | |
| 2742 | + | |
2738 | 2743 | | |
2739 | 2744 | | |
2740 | 2745 | | |
| |||
0 commit comments