mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-01 19:43:58 +07:00
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> Orig-LKML-Reference: <20090330171024.133985461@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
5ed00415e3
commit
023c54c422
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user