Thread (197 messages) 197 messages, 8 authors, 2021-02-26

Re: [patch 014/173] mm, tracing: record slab name for kmem_cache_free()

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2021-02-26 02:56:47
Also in: mm-commits

On Fri, 26 Feb 2021 10:02:53 +0800
Jacob Wen [off-list ref] wrote:
Freeing a slab name generally means removing a kernel module.
See the callers of kmem_cache_destroy.

We need to fix some of the trace events that call TP_printk with %pS
to get a symbol of a kernel module that maybe removed later.
No. If the symbol is not found in the kallsyms lookup at the time of
reading the trace, it will act just like a %p and print the address.
Yes, it can change the reading of the trace file form one read to the
next, but it's harmless, and it's been like this since ftrace was
introduced back in 2009.

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help