diff options
author | Song Liu <[email protected]> | 2018-11-02 10:16:17 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-11-02 21:39:01 +0100 |
commit | ff1889fc531f582f902175c0acc80321af540b24 (patch) | |
tree | 83330b3be066e445313c856462efc8e11cdb71b8 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | de57e99ceb65d0d7775cc14a8ba5931d7de1d708 (diff) |
bpf: show main program address and length in bpf_prog_info
Currently, when there is no subprog (prog->aux->func_cnt == 0),
bpf_prog_info does not return any jited_ksyms or jited_func_lens. This
patch adds main program address (prog->bpf_func) and main program
length (prog->jited_len) to bpf_prog_info.
Signed-off-by: Song Liu <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions