aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-mediatek.c
diff options
context:
space:
mode:
authorKaFai Wan <[email protected]>2025-07-24 15:14:52 +0000
committerAlexei Starovoitov <[email protected]>2025-07-29 02:39:29 +0000
commit863aab3d4dcdfffa5cf0e0795c526dadca65be7a (patch)
treea49b2b3392ba9d718b37b7781031a661383fa277 /drivers/pwm/pwm-mediatek.c
parentbpf: Show precise rejected function when attaching fexit/fmod_ret to __noretu... (diff)
downloadkernel-863aab3d4dcdfffa5cf0e0795c526dadca65be7a.tar.gz
kernel-863aab3d4dcdfffa5cf0e0795c526dadca65be7a.zip
bpf: Add log for attaching tracing programs to functions in deny list
Show the rejected function name when attaching tracing programs to functions in deny list. With this change, we know why tracing programs can't attach to functions like __rcu_read_lock() from log. $ ./fentry libbpf: prog '__rcu_read_lock': BPF program load failed: -EINVAL libbpf: prog '__rcu_read_lock': -- BEGIN PROG LOAD LOG -- Attaching tracing programs to function '__rcu_read_lock' is rejected. Suggested-by: Leon Hwang <[email protected]> Signed-off-by: KaFai Wan <[email protected]> Acked-by: Yafang Shao <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-mediatek.c')
0 files changed, 0 insertions, 0 deletions