diff options
Diffstat (limited to 'tools/perf/builtin-kmem.c')
-rw-r--r-- | tools/perf/builtin-kmem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/builtin-kmem.c b/tools/perf/builtin-kmem.c index 39104c0beea3..547af48deb4f 100644 --- a/tools/perf/builtin-kmem.c +++ b/tools/perf/builtin-kmem.c | |||
@@ -192,7 +192,7 @@ static void insert_caller_stat(unsigned long call_site, | |||
192 | } | 192 | } |
193 | 193 | ||
194 | static void process_alloc_event(void *data, | 194 | static void process_alloc_event(void *data, |
195 | struct event *event, | 195 | struct event_format *event, |
196 | int cpu, | 196 | int cpu, |
197 | u64 timestamp __used, | 197 | u64 timestamp __used, |
198 | struct thread *thread __used, | 198 | struct thread *thread __used, |
@@ -253,7 +253,7 @@ static struct alloc_stat *search_alloc_stat(unsigned long ptr, | |||
253 | } | 253 | } |
254 | 254 | ||
255 | static void process_free_event(void *data, | 255 | static void process_free_event(void *data, |
256 | struct event *event, | 256 | struct event_format *event, |
257 | int cpu, | 257 | int cpu, |
258 | u64 timestamp __used, | 258 | u64 timestamp __used, |
259 | struct thread *thread __used) | 259 | struct thread *thread __used) |
@@ -281,7 +281,7 @@ static void process_free_event(void *data, | |||
281 | static void process_raw_event(union perf_event *raw_event __used, void *data, | 281 | static void process_raw_event(union perf_event *raw_event __used, void *data, |
282 | int cpu, u64 timestamp, struct thread *thread) | 282 | int cpu, u64 timestamp, struct thread *thread) |
283 | { | 283 | { |
284 | struct event *event; | 284 | struct event_format *event; |
285 | int type; | 285 | int type; |
286 | 286 | ||
287 | type = trace_parse_common_type(data); | 287 | type = trace_parse_common_type(data); |