Commit 057ae59
perf intel-pt: Fix some PGE (packet generation enable/control flow packets) usage
Packet generation enable (PGE) refers to whether control flow (COFI)
packets are being produced.
PGE may be false even when branch-tracing is enabled, due to being
out-of-context, or outside a filter address range. Fix some missing PGE
usage.
Fixes: 7c1b16b ("perf intel-pt: Add support for decoding FUP/TIP only")
Fixes: 8395981 ("perf intel-pt: Allow decoding with branch tracing disabled")
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-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>1 parent c897899 commit 057ae59
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2678 | 2678 | | |
2679 | 2679 | | |
2680 | 2680 | | |
| 2681 | + | |
2681 | 2682 | | |
2682 | 2683 | | |
2683 | 2684 | | |
| |||
2707 | 2708 | | |
2708 | 2709 | | |
2709 | 2710 | | |
2710 | | - | |
| 2711 | + | |
2711 | 2712 | | |
2712 | 2713 | | |
2713 | 2714 | | |
| |||
2897 | 2898 | | |
2898 | 2899 | | |
2899 | 2900 | | |
2900 | | - | |
| 2901 | + | |
2901 | 2902 | | |
2902 | 2903 | | |
2903 | 2904 | | |
| |||
2999 | 3000 | | |
3000 | 3001 | | |
3001 | 3002 | | |
3002 | | - | |
| 3003 | + | |
3003 | 3004 | | |
3004 | 3005 | | |
3005 | 3006 | | |
| |||
0 commit comments