We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96c5c6e commit f7d6316Copy full SHA for f7d6316
include/trace/events/kmem.h
@@ -35,8 +35,8 @@ DECLARE_EVENT_CLASS(kmem_alloc,
35
__entry->gfp_flags = gfp_flags;
36
),
37
38
- TP_printk("call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s",
39
- __entry->call_site,
+ TP_printk("call_site=%pS ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s",
+ (void *)__entry->call_site,
40
__entry->ptr,
41
__entry->bytes_req,
42
__entry->bytes_alloc,
@@ -131,7 +131,8 @@ DECLARE_EVENT_CLASS(kmem_free,
131
__entry->ptr = ptr;
132
133
134
- TP_printk("call_site=%lx ptr=%p", __entry->call_site, __entry->ptr)
+ TP_printk("call_site=%pS ptr=%p",
135
+ (void *)__entry->call_site, __entry->ptr)
136
);
137
138
DEFINE_EVENT(kmem_free, kfree,
0 commit comments