aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <[email protected]>2025-07-28 23:47:03 +0000
committerMasami Hiramatsu (Google) <[email protected]>2025-07-29 07:19:05 +0000
commita3e892ab0fc287389176eabdcd74234508f6e52d (patch)
treef6a11fcfea658efb3ce372ad548761d6f4452e78 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentLinux 6.16 (diff)
downloadkernel-a3e892ab0fc287389176eabdcd74234508f6e52d.tar.gz
kernel-a3e892ab0fc287389176eabdcd74234508f6e52d.zip
tracing: fprobe: Fix infinite recursion using preempt_*_notrace()
Since preempt_count_add/del() are tracable functions, it is not allowed to use preempt_disable/enable() in ftrace handlers. Without this fix, probing on `preempt_count_add%return` will cause an infinite recursion of fprobes. To fix this problem, use preempt_disable/enable_notrace() in fprobe_return(). Link: https://lore.kernel.org/all/175374642359.1471729.1054175011228386560.stgit@mhiramat.tok.corp.google.com/ Fixes: 4346ba160409 ("fprobe: Rewrite fprobe on function-graph tracer") Cc: [email protected] Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions