summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>2025-03-31 18:35:44 +0300
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>2025-04-08 02:46:25 +0300
commita3dc2983ca7b90fd35f978502de6d4664d965cfb (patch)
tree96d598333810f970226e084a0e0129dab1f59dcd /tools/perf/scripts/python/check-perf-trace.py
parentdd941507a9486252d6fcf11814387666792020f3 (diff)
downloadlinux-a3dc2983ca7b90fd35f978502de6d4664d965cfb.tar.xz
tracing: fprobe: Cleanup fprobe hash when module unloading
Cleanup fprobe address hash table on module unloading because the target symbols will be disappeared when unloading module and not sure the same symbol is mapped on the same address. Note that this is at least disables the fprobes if a part of target symbols on the unloaded modules. Unlike kprobes, fprobe does not re-enable the probe point by itself. To do that, the caller should take care register/unregister fprobe when loading/unloading modules. This simplifies the fprobe state managememt related to the module loading/unloading. Link: https://lore.kernel.org/all/174343534473.843280.13988101014957210732.stgit@devnote2/ Fixes: 4346ba160409 ("fprobe: Rewrite fprobe on function-graph tracer") Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions