]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
perf_counter tools: kerneltop: update event_types
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 30 Mar 2009 17:07:13 +0000 (19:07 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 6 Apr 2009 07:30:42 +0000 (09:30 +0200)
Go along with the new perf_event_type ABI.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Paul Mackerras <paulus@samba.org>
Orig-LKML-Reference: <20090330171024.133985461@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/kerneltop.c

index c0ca01504ff36deb6ee7e4ae9fb7f257cd3dfded..430810dae1fecc4d208be01b7e7f09b30812ece2 100644 (file)
@@ -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;