diff options
| author | Thomas Graf <tgraf@suug.ch> | 2016-10-27 12:23:51 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-10-29 22:55:13 +0300 |
| commit | ebb676daa1a340ccef25eb769aefc09b79c01f8a (patch) | |
| tree | 3a12499230e97b4cd2d2b00a140e9fcc62ad7a2e /tools/perf/scripts/python/syscall-counts.py | |
| parent | 46b5ab1a7cfef72cc15e9de135650851619bc406 (diff) | |
| download | linux-ebb676daa1a340ccef25eb769aefc09b79c01f8a.tar.xz | |
bpf: Print function name in addition to function id
The verifier currently prints raw function ids when printing CALL
instructions or when complaining:
5: (85) call 23
unknown func 23
print a meaningful function name instead:
5: (85) call bpf_redirect#23
unknown func bpf_redirect#23
Moves the function documentation to a single comment and renames all
helpers names in the list to conform to the bpf_ prefix notation so
they can be greped in the kernel source.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
