You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uprobe and kprobe programs have the same program type, KPROBE, which is
currently not allowed to load sleepable programs.
To avoid adding a new UPROBE type, we instead allow sleepable KPROBE
programs to load and defer the is-it-actually-a-uprobe-program check
to attachment time, where we're already validating the corresponding
perf_event.
A corollary of this patch is that you can now load a sleepable kprobe
program but cannot attach it.
Signed-off-by: Delyan Kratunov <delyank@fb.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
0 commit comments