summaryrefslogtreecommitdiffstats
path: root/Documentation/perf_counter/kerneltop.c
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/perf_counter/kerneltop.c')
-rw-r--r--Documentation/perf_counter/kerneltop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/perf_counter/kerneltop.c b/Documentation/perf_counter/kerneltop.c
index c0ca01504ff..430810dae1f 100644
--- a/Documentation/perf_counter/kerneltop.c
+++ b/Documentation/perf_counter/kerneltop.c
@@ -1263,8 +1263,8 @@ static void mmap_read(struct mmap_data *md)
old += size;
switch (event->header.type) {
- case PERF_EVENT_IP:
- case PERF_EVENT_IP | __PERF_EVENT_TID:
+ case PERF_EVENT_OVERFLOW | __PERF_EVENT_IP:
+ case PERF_EVENT_OVERFLOW | __PERF_EVENT_IP | __PERF_EVENT_TID:
process_event(event->ip.ip, md->counter);
break;