mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
perf intel-pt: Cater for CBR change in PSB+
PSB+ provides status information only so the core-to-bus ratio (CBR) in PSB+ will not have changed from its previous value. However, cater for the possibility of a another CBR change that gets caught up in the PSB+ anyway. Signed-off-by: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
1 parent
abe5a1d3e4
commit
91de8684f1
1 file changed
+7
@@ -1975,6 +1975,13 @@ next:
|
||||
goto next;
|
||||
if (err)
|
||||
return err;
|
||||
/*
|
||||
* PSB+ CBR will not have changed but cater for the
|
||||
* possibility of another CBR change that gets caught up
|
||||
* in the PSB+.
|
||||
*/
|
||||
if (decoder->cbr != decoder->cbr_seen)
|
||||
return 0;
|
||||
break;
|
||||
|
||||
case INTEL_PT_PIP:
|
||||
|
||||
Reference in new issue
Block a user