This set improves bpf program address showed in /proc/kallsyms and in bpf_prog_info. First, real program address is showed instead of page address. Second, when there is no subprogram, bpf_prog_info->jited_ksyms returns the main prog address.
Song Liu (3): bpf: show real jited prog address in /proc/kallsyms bpf: show real jited address in bpf_prog_info->jited_ksyms bpf: show main program address in bpf_prog_info->jited_ksyms kernel/bpf/core.c | 4 +--- kernel/bpf/syscall.c | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 8 deletions(-) -- 2.17.1