mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
perf intel-pt: Fix missing CYC processing in PSB
Add missing CYC packet processing when walking through PSB+. This
improves the accuracy of timestamps that follow PSB+, until the next
MTC.
Fixes: 3d49807870 ("perf tools: Add new Intel PT packet definitions")
Signed-off-by: Adrian Hunter <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
1 parent
4e14814454
commit
03fb0f859b
1 file changed
+3
@@ -1761,6 +1761,9 @@ static int intel_pt_walk_psbend(struct intel_pt_decoder *decoder)
|
||||
break;
|
||||
|
||||
case INTEL_PT_CYC:
|
||||
intel_pt_calc_cyc_timestamp(decoder);
|
||||
break;
|
||||
|
||||
case INTEL_PT_VMCS:
|
||||
case INTEL_PT_MNT:
|
||||
case INTEL_PT_PAD:
|
||||
|
||||
Reference in new issue
Block a user