File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
tools/perf/util/intel-pt-decoder Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1977,8 +1977,10 @@ static int intel_pt_walk_trace(struct intel_pt_decoder *decoder)
1977
1977
* possibility of another CBR change that gets caught up
1978
1978
* in the PSB+.
1979
1979
*/
1980
- if (decoder -> cbr != decoder -> cbr_seen )
1980
+ if (decoder -> cbr != decoder -> cbr_seen ) {
1981
+ decoder -> state .type = 0 ;
1981
1982
return 0 ;
1983
+ }
1982
1984
break ;
1983
1985
1984
1986
case INTEL_PT_PIP :
@@ -2019,8 +2021,10 @@ static int intel_pt_walk_trace(struct intel_pt_decoder *decoder)
2019
2021
2020
2022
case INTEL_PT_CBR :
2021
2023
intel_pt_calc_cbr (decoder );
2022
- if (decoder -> cbr != decoder -> cbr_seen )
2024
+ if (decoder -> cbr != decoder -> cbr_seen ) {
2025
+ decoder -> state .type = 0 ;
2023
2026
return 0 ;
2027
+ }
2024
2028
break ;
2025
2029
2026
2030
case INTEL_PT_MODE_EXEC :
You can’t perform that action at this time.
0 commit comments