diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2021-12-10 19:23:00 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-12-11 14:19:47 +0300 |
commit | c79ee2b2160909889df67c8801352d3e69d43a1a (patch) | |
tree | 797074aba9b88035ba1c47738434e6939dda93eb /tools/bpf | |
parent | 4c761d805bb2d2ead1b9baaba75496152b394c80 (diff) | |
download | linux-c79ee2b2160909889df67c8801352d3e69d43a1a.tar.xz |
perf intel-pt: Fix state setting when receiving overflow (OVF) packet
An overflow (OVF packet) is treated as an error because it represents a
loss of trace data, but there is no loss of synchronization, so the packet
state should be INTEL_PT_STATE_IN_SYNC not INTEL_PT_STATE_ERR_RESYNC.
To support that, some additional variables must be reset, and the FUP
packet that may follow OVF is treated as an FUP event.
Fixes: f4aa081949e7b6 ("perf tools: Add Intel PT decoder")
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-5-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions