diff options
author | Muchun Song <[email protected]> | 2020-09-18 21:20:21 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-09-19 13:13:38 -0700 |
commit | b0399092ccebd9feef68d4ceb8d6219a8c0caa05 (patch) | |
tree | 5a6b967d59f010bcb5a4ca67c9a8e8f1314c0e4a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bb3e96d63eb75a2f4ff790b089f6b93614c729a1 (diff) |
kprobes: fix kill kprobe which has been marked as gone
If a kprobe is marked as gone, we should not kill it again. Otherwise, we
can disarm the kprobe more than once. In that case, the statistics of
kprobe_ftrace_enabled can unbalance which can lead to that kprobe do not
work.
Fixes: e8386a0cb22f ("kprobes: support probing module __exit function")
Co-developed-by: Chengming Zhou <[email protected]>
Signed-off-by: Muchun Song <[email protected]>
Signed-off-by: Chengming Zhou <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Cc: "Naveen N . Rao" <[email protected]>
Cc: Anil S Keshavamurthy <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Song Liu <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions