aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2021-12-10 16:22:58 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-12-11 11:19:47 +0000
commitad106a26aef3a95ac7ca88d033b431661ba346ce (patch)
tree21256a8f759eb8b3d0ac78b329f427f094cda44a /tools/perf/scripts/python/net_dropmonitor.py
parentperf intel-pt: Fix some PGE (packet generation enable/control flow packets) u... (diff)
downloadkernel-ad106a26aef3a95ac7ca88d033b431661ba346ce.tar.gz
kernel-ad106a26aef3a95ac7ca88d033b431661ba346ce.zip
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 <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: [email protected] # v5.15+ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions