mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
perf intel-pt: Fix missing stack clear
The return compression stack must be cleared whenever there is a PSB. Fix one case where that was not happening. Signed-off-by: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
parent
3f04d98e97
commit
12b7080609
1 changed files with 1 additions and 0 deletions
|
|
@ -1932,6 +1932,7 @@ static int intel_pt_walk_to_ip(struct intel_pt_decoder *decoder)
|
|||
break;
|
||||
|
||||
case INTEL_PT_PSB:
|
||||
intel_pt_clear_stack(&decoder->stack);
|
||||
err = intel_pt_walk_psb(decoder);
|
||||
if (err)
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Reference in a new issue