Netdev List
 help / color / mirror / Atom feed
* [PATCH bpf 0/3] show more accurrate bpf program address
@ 2018-11-01  7:00 Song Liu
  2018-11-01  7:00 ` [PATCH bpf 1/3] bpf: show real jited prog address in /proc/kallsyms Song Liu
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Song Liu @ 2018-11-01  7:00 UTC (permalink / raw)
  To: netdev; +Cc: kernel-team, Song Liu, ast, daniel, sandipan

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(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-11-03  1:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-01  7:00 [PATCH bpf 0/3] show more accurrate bpf program address Song Liu
2018-11-01  7:00 ` [PATCH bpf 1/3] bpf: show real jited prog address in /proc/kallsyms Song Liu
2018-11-01  7:00 ` [PATCH bpf 2/3] bpf: show real jited address in bpf_prog_info->jited_ksyms Song Liu
2018-11-02 10:09   ` Daniel Borkmann
2018-11-02 10:19     ` Daniel Borkmann
2018-11-02 16:07       ` Song Liu
2018-11-01  7:00 ` [PATCH bpf 3/3] bpf: show main program " Song Liu
2018-11-02  9:57   ` Daniel Borkmann
2018-11-01 23:15 ` [PATCH bpf 0/3] show more accurrate bpf program address Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox