aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorLi Qiang <[email protected]>2022-11-04 08:49:31 +0900
committerMasami Hiramatsu (Google) <[email protected]>2022-11-04 08:49:31 +0900
commit4a6f316d6855a434f56dbbeba05e14c01acde8f8 (patch)
tree3b8675c2f6394755118a8858aecbb24802d873ea /tools/perf/scripts/python/check-perf-trace.py
parent0e792b89e6800cd9cb4757a76a96f7ef3e8b6294 (diff)
kprobe: reverse kp->flags when arm_kprobe failed
In aggregate kprobe case, when arm_kprobe failed, we need set the kp->flags with KPROBE_FLAG_DISABLED again. If not, the 'kp' kprobe will been considered as enabled but it actually not enabled. Link: https://lore.kernel.org/all/[email protected]/ Fixes: 12310e343755 ("kprobes: Propagate error from arm_kprobe_ftrace()") Cc: [email protected] Signed-off-by: Li Qiang <[email protected]> Acked-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions