summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2018-11-02 18:16:16 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2018-11-02 21:39:01 +0100
commitde57e99ceb65d0d7775cc14a8ba5931d7de1d708 (patch)
tree9c45547a04bce09403e85d8c3f046d9bbc7950da /README
parentbpf: show real jited prog address in /proc/kallsyms (diff)
downloadlinux-de57e99ceb65d0d7775cc14a8ba5931d7de1d708.tar.xz
linux-de57e99ceb65d0d7775cc14a8ba5931d7de1d708.zip
bpf: show real jited address in bpf_prog_info->jited_ksyms
Currently, jited_ksyms in bpf_prog_info shows page addresses of jited bpf program. The main reason here is to not expose randomized start address. However, this is not ideal for detailed profiling (find hot instructions from stack traces). This patch replaces the page address with real prog start address. This change is OK because bpf_prog_get_info_by_fd() is only available to root. Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions