Skip to contentSkip to conversation

mm-tracing-print-symbol-name-for-kmem_alloc_node-call_site-events.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 31, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm, tracing: print symbol name for kmem_alloc_node call_site events
has been removed from the -mm tree. Its filename was
mm-tracing-print-symbol-name-for-kmem_alloc_node-call_site-events.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Junyong Sun <[email protected]>
Subject: mm, tracing: print symbol name for kmem_alloc_node call_site events

Print the call_site ip of kmem_alloc_node using '%pS' to improve the readability of raw slab trace points.

---

 include/trace/events/kmem.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/trace/events/kmem.h renamed from include/trace/events/kmem.h~mm-tracing-print-symbol-name-for-kmem_alloc_node-call_site-events +2 -2
@@ -88,8 +88,8 @@ DECLARE_EVENT_CLASS(kmem_alloc_node,
 		__entry->node		= node;
 	),
 
-	TP_printk("call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s node=%d",
-		__entry->call_site,
+	TP_printk("call_site=%pS ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s node=%d",
+		(void *)__entry->call_site,
 		__entry->ptr,
 		__entry->bytes_req,
 		__entry->bytes_alloc,

_

Patches currently in -mm which might be from [email protected] are