Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
arch
/
x86
/
kernel
/
cpu
/
perf_event_intel_pt.c
diff --git
a/kernel/arch/x86/kernel/cpu/perf_event_intel_pt.c
b/kernel/arch/x86/kernel/cpu/perf_event_intel_pt.c
index
868e119
..
49e35d0
100644
(file)
--- a/
kernel/arch/x86/kernel/cpu/perf_event_intel_pt.c
+++ b/
kernel/arch/x86/kernel/cpu/perf_event_intel_pt.c
@@
-694,6
+694,7
@@
static int pt_buffer_reset_markers(struct pt_buffer *buf,
/* clear STOP and INT from current entry */
buf->topa_index[buf->stop_pos]->stop = 0;
/* clear STOP and INT from current entry */
buf->topa_index[buf->stop_pos]->stop = 0;
+ buf->topa_index[buf->stop_pos]->intr = 0;
buf->topa_index[buf->intr_pos]->intr = 0;
/* how many pages till the STOP marker */
buf->topa_index[buf->intr_pos]->intr = 0;
/* how many pages till the STOP marker */
@@
-718,6
+719,7
@@
static int pt_buffer_reset_markers(struct pt_buffer *buf,
buf->intr_pos = idx;
buf->topa_index[buf->stop_pos]->stop = 1;
buf->intr_pos = idx;
buf->topa_index[buf->stop_pos]->stop = 1;
+ buf->topa_index[buf->stop_pos]->intr = 1;
buf->topa_index[buf->intr_pos]->intr = 1;
return 0;
buf->topa_index[buf->intr_pos]->intr = 1;
return 0;