aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/events/intel/pt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/events/intel/pt.c b/arch/x86/events/intel/pt.c
index 54fa238d84d5..04bb5fb5a8d7 100644
--- a/arch/x86/events/intel/pt.c
+++ b/arch/x86/events/intel/pt.c
@@ -835,6 +835,7 @@ static int pt_buffer_reset_markers(struct pt_buffer *buf,
835 835
836 /* clear STOP and INT from current entry */ 836 /* clear STOP and INT from current entry */
837 buf->topa_index[buf->stop_pos]->stop = 0; 837 buf->topa_index[buf->stop_pos]->stop = 0;
838 buf->topa_index[buf->stop_pos]->intr = 0;
838 buf->topa_index[buf->intr_pos]->intr = 0; 839 buf->topa_index[buf->intr_pos]->intr = 0;
839 840
840 /* how many pages till the STOP marker */ 841 /* how many pages till the STOP marker */
@@ -859,6 +860,7 @@ static int pt_buffer_reset_markers(struct pt_buffer *buf,
859 buf->intr_pos = idx; 860 buf->intr_pos = idx;
860 861
861 buf->topa_index[buf->stop_pos]->stop = 1; 862 buf->topa_index[buf->stop_pos]->stop = 1;
863 buf->topa_index[buf->stop_pos]->intr = 1;
862 buf->topa_index[buf->intr_pos]->intr = 1; 864 buf->topa_index[buf->intr_pos]->intr = 1;
863 865
864 return 0; 866 return 0;