diff options
author | Song Liu <song@kernel.org> | 2025-03-18 21:15:18 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2025-03-25 15:36:40 +0300 |
commit | 59481b8bd0f038ca99f041566c1c04d069b54dc7 (patch) | |
tree | 98b365fd09821d5732e73d482ec5d254f8f2be74 /lib/crypto/mpi/mpiutil.c | |
parent | 4deb3b259fd39e134717878727eaacf5713dd208 (diff) | |
download | linux-59481b8bd0f038ca99f041566c1c04d069b54dc7.tar.xz |
selftest/livepatch: Only run test-kprobe with CONFIG_KPROBES_ON_FTRACE
CONFIG_KPROBES_ON_FTRACE is required for test-kprobe. Skip test-kprobe
when CONFIG_KPROBES_ON_FTRACE is not set. Since some kernel may not have
/proc/config.gz, grep for kprobe_ftrace_ops from /proc/kallsyms to check
whether CONFIG_KPROBES_ON_FTRACE is enabled.
Signed-off-by: Song Liu <song@kernel.org>
Acked-by: Joe Lawrence <joe.lawrence@redhat.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Link: https://lore.kernel.org/r/20250318181518.1055532-1-song@kernel.org
[pmladek@suse.com: Call grep with -q option.]
Reviewed-by: Petr Mladek <pmladek@suse.com>
Tested-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions