mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
perf intel-pt: Fix missing stack clear
commit 12b7080609 upstream.
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 <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1495786658-18063-4-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3e6837f1f4
commit
b338b87f22
@@ -1930,6 +1930,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;
|
||||
|
||||
Reference in New Issue
Block a user