]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kallsyms: Make kallsyms_on_each_symbol generally available
authorJiri Olsa <jolsa@kernel.org>
Tue, 10 May 2022 12:26:12 +0000 (14:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2023 17:36:45 +0000 (18:36 +0100)
commit318a206633c248d876ea72f7133d2a2e50ad7e35
treee5050fc2c2142ed3f5f2df28686102be89c738ea
parent61b68b608954dfcdc324349053c209c189327d39
kallsyms: Make kallsyms_on_each_symbol generally available

[ Upstream commit d721def7392a7348ffb9f3583b264239cbd3702c ]

Making kallsyms_on_each_symbol generally available, so it can be
used outside CONFIG_LIVEPATCH option in following changes.

Rather than adding another ifdef option let's make the function
generally available (when CONFIG_KALLSYMS option is defined).

Cc: Christoph Hellwig <hch@lst.de>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20220510122616.2652285-2-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/kallsyms.h
kernel/kallsyms.c