提交 023c54c4 编写于 作者: P Peter Zijlstra 提交者: Ingo Molnar

perf_counter tools: kerneltop: update event_types

Go along with the new perf_event_type ABI.
Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: NPaul Mackerras <paulus@samba.org>
Orig-LKML-Reference: <20090330171024.133985461@chello.nl>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 5ed00415
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册