lkml.org 
[lkml]   [2009]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:perfcounters/core] perf_counter tools: kerneltop: update event_types
Commit-ID:  1fbb3f14bf98d66df9cec6b8321b6c8d2f87655a
Gitweb: http://git.kernel.org/tip/1fbb3f14bf98d66df9cec6b8321b6c8d2f87655a
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Mon, 30 Mar 2009 19:07:13 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Wed, 1 Apr 2009 11:33:37 +0200

perf_counter tools: kerneltop: update event_types

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>
LKML-Reference: <20090330171024.133985461@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>


---
Documentation/perf_counter/kerneltop.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/perf_counter/kerneltop.c b/Documentation/perf_counter/kerneltop.c
index c0ca015..430810d 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;


\
 
 \ /
  Last update: 2009-04-01 12:21    [from the cache]
©2003-2011 Jasper Spaans