diff options
Diffstat (limited to 'kernel/trace/trace_entries.h')
-rw-r--r-- | kernel/trace/trace_entries.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/kernel/trace/trace_entries.h b/kernel/trace/trace_entries.h index c293364c984f..13abc157dbaf 100644 --- a/kernel/trace/trace_entries.h +++ b/kernel/trace/trace_entries.h | |||
@@ -291,41 +291,6 @@ FTRACE_ENTRY(branch, trace_branch, | |||
291 | __entry->func, __entry->file, __entry->correct) | 291 | __entry->func, __entry->file, __entry->correct) |
292 | ); | 292 | ); |
293 | 293 | ||
294 | FTRACE_ENTRY(kmem_alloc, kmemtrace_alloc_entry, | ||
295 | |||
296 | TRACE_KMEM_ALLOC, | ||
297 | |||
298 | F_STRUCT( | ||
299 | __field( enum kmemtrace_type_id, type_id ) | ||
300 | __field( unsigned long, call_site ) | ||
301 | __field( const void *, ptr ) | ||
302 | __field( size_t, bytes_req ) | ||
303 | __field( size_t, bytes_alloc ) | ||
304 | __field( gfp_t, gfp_flags ) | ||
305 | __field( int, node ) | ||
306 | ), | ||
307 | |||
308 | F_printk("type:%u call_site:%lx ptr:%p req:%zi alloc:%zi" | ||
309 | " flags:%x node:%d", | ||
310 | __entry->type_id, __entry->call_site, __entry->ptr, | ||
311 | __entry->bytes_req, __entry->bytes_alloc, | ||
312 | __entry->gfp_flags, __entry->node) | ||
313 | ); | ||
314 | |||
315 | FTRACE_ENTRY(kmem_free, kmemtrace_free_entry, | ||
316 | |||
317 | TRACE_KMEM_FREE, | ||
318 | |||
319 | F_STRUCT( | ||
320 | __field( enum kmemtrace_type_id, type_id ) | ||
321 | __field( unsigned long, call_site ) | ||
322 | __field( const void *, ptr ) | ||
323 | ), | ||
324 | |||
325 | F_printk("type:%u call_site:%lx ptr:%p", | ||
326 | __entry->type_id, __entry->call_site, __entry->ptr) | ||
327 | ); | ||
328 | |||
329 | FTRACE_ENTRY(ksym_trace, ksym_trace_entry, | 294 | FTRACE_ENTRY(ksym_trace, ksym_trace_entry, |
330 | 295 | ||
331 | TRACE_KSYM, | 296 | TRACE_KSYM, |