summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/trampoline.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2020-03-12 20:56:04 +0100
committerAlexei Starovoitov <ast@kernel.org>2020-03-13 20:49:52 +0100
commitdba122fb5e122e8e07e2f11cdebc10ba4f425cf7 (patch)
treeb7a60bb5ec25a3454df7b3ce43a5fa5e2e060a74 /kernel/bpf/trampoline.c
parentbpf: Add prog flag to struct bpf_ksym object (diff)
downloadlinux-dba122fb5e122e8e07e2f11cdebc10ba4f425cf7.tar.xz
linux-dba122fb5e122e8e07e2f11cdebc10ba4f425cf7.zip
bpf: Add bpf_ksym_add/del functions
Separating /proc/kallsyms add/del code and adding bpf_ksym_add/del functions for that. Moving bpf_prog_ksym_node_add/del functions to __bpf_ksym_add/del and changing their argument to 'struct bpf_ksym' object. This way we can call them for other bpf objects types like trampoline and dispatcher. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200312195610.346362-10-jolsa@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/trampoline.c')
0 files changed, 0 insertions, 0 deletions