summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2022-11-23 07:09:47 +0300
committerPaolo Abeni <pabeni@redhat.com>2022-11-24 17:27:49 +0300
commit14e5f71e31ff3925cc970fa7907393ee7f4b748d (patch)
tree625787fd00f8d19dbd78dda86627cb71c77d6435 /include
parent170d97739de484cc052d65043d57acce7ed10480 (diff)
downloadlinux-14e5f71e31ff3925cc970fa7907393ee7f4b748d.tar.xz
net: use %pS for kfree_skb tracing event location
For the cases where 'reason' doesn't give any clue, it's still nice to be able to track the kfree_skb caller location. %p doesn't help much so let's use %pS which prints the symbol+offset. Signed-off-by: Stanislav Fomichev <sdf@google.com> Link: https://lore.kernel.org/r/20221123040947.1015721-1-sdf@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/trace/events/skb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/skb.h b/include/trace/events/skb.h
index 50a974f7dfb4..25ab1ff9423d 100644
--- a/include/trace/events/skb.h
+++ b/include/trace/events/skb.h
@@ -42,7 +42,7 @@ TRACE_EVENT(kfree_skb,
__entry->reason = reason;
),
- TP_printk("skbaddr=%p protocol=%u location=%p reason: %s",
+ TP_printk("skbaddr=%p protocol=%u location=%pS reason: %s",
__entry->skbaddr, __entry->protocol, __entry->location,
__print_symbolic(__entry->reason,
DEFINE_DROP_REASON(FN, FNe)))