Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 023c54c4 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar
Browse files

perf_counter tools: kerneltop: update event_types



Go along with the new perf_event_type ABI.

Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: default avatarPaul Mackerras <paulus@samba.org>
Orig-LKML-Reference: <20090330171024.133985461@chello.nl>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 5ed00415
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;