diff options
| author | Jiri Olsa <[email protected]> | 2020-03-12 20:55:58 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-03-13 12:49:51 -0700 |
| commit | 535911c80ad4f5801700e9d827a1985bbff41519 (patch) | |
| tree | bbb6ef548496d99a0d46e3d961748856fe8d285d /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 6a64037d4bf252bb8cf13917320c8e001da8997a (diff) | |
bpf: Add struct bpf_ksym
Adding 'struct bpf_ksym' object that will carry the
kallsym information for bpf symbol. Adding the start
and end address to begin with. It will be used by
bpf_prog, bpf_trampoline, bpf_dispatcher objects.
The symbol_start/symbol_end values were originally used
to sort bpf_prog objects. For the address displayed in
/proc/kallsyms we are using prog->bpf_func value.
I'm using the bpf_func value for program symbol start
instead of the symbol_start, because it makes no difference
for sorting bpf_prog objects and we can use it directly as
an address to display it in /proc/kallsyms.
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions