[PATCH 12/15] pref_counter: kerneltop: update event_types

From: Peter Zijlstra
Date: Mon Mar 30 2009 - 13:11:36 EST


go along with the new perf_event_type

Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
---
Documentation/perf_counter/kerneltop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6/Documentation/perf_counter/kerneltop.c
===================================================================
--- linux-2.6.orig/Documentation/perf_counter/kerneltop.c
+++ linux-2.6/Documentation/perf_counter/kerneltop.c
@@ -1263,8 +1263,8 @@ static void mmap_read(struct mmap_data *
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;


--

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/