hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/trace/events/kmem.h
....@@ -35,8 +35,8 @@
3535 __entry->gfp_flags = gfp_flags;
3636 ),
3737
38
- TP_printk("call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s",
39
- __entry->call_site,
38
+ TP_printk("call_site=%pS ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s",
39
+ (void *)__entry->call_site,
4040 __entry->ptr,
4141 __entry->bytes_req,
4242 __entry->bytes_alloc,
....@@ -88,8 +88,8 @@
8888 __entry->node = node;
8989 ),
9090
91
- TP_printk("call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s node=%d",
92
- __entry->call_site,
91
+ TP_printk("call_site=%pS ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s node=%d",
92
+ (void *)__entry->call_site,
9393 __entry->ptr,
9494 __entry->bytes_req,
9595 __entry->bytes_alloc,
....@@ -131,7 +131,8 @@
131131 __entry->ptr = ptr;
132132 ),
133133
134
- TP_printk("call_site=%lx ptr=%p", __entry->call_site, __entry->ptr)
134
+ TP_printk("call_site=%pS ptr=%p",
135
+ (void *)__entry->call_site, __entry->ptr)
135136 );
136137
137138 DEFINE_EVENT(kmem_free, kfree,