diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2021-12-10 18:22:58 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-12-11 08:19:47 -0300 |
commit | ad106a26aef3a95ac7ca88d033b431661ba346ce (patch) | |
tree | 21256a8f759eb8b3d0ac78b329f427f094cda44a /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 057ae59f5a1d924511beb1b09f395bdb316cfd03 (diff) |
perf intel-pt: Fix sync state when a PSB (synchronization) packet is found
When syncing, it may be that branch packet generation is not enabled at
that point, in which case there will not immediately be a control-flow
packet, so some packets before a control flow packet turns up, get
ignored. However, the decoder is in sync as soon as a PSB is found, so
the state should be set accordingly.
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-3-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions