diff options
author | Martin KaFai Lau <[email protected]> | 2017-10-05 21:52:13 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-10-07 23:29:39 +0100 |
commit | 368211fb920a0b789c238942c6af0414539f79d6 (patch) | |
tree | c2bccb6962e725d691b9529445f5436e385b3bf7 /lib/test-string_helpers.c | |
parent | 067cae47771c864604969fd902efe10916e0d79c (diff) |
bpf: Append prog->aux->name in bpf_get_prog_name()
This patch makes the bpf_prog's name available
in kallsyms.
The new format is bpf_prog_tag[_name].
Sample kallsyms from running selftests/bpf/test_progs:
[root@arch-fb-vm1 ~]# egrep ' bpf_prog_[0-9a-fA-F]{16}' /proc/kallsyms
ffffffffa0048000 t bpf_prog_dabf0207d1992486_test_obj_id
ffffffffa0038000 t bpf_prog_a04f5eef06a7f555__123456789ABCDE
ffffffffa0050000 t bpf_prog_a04f5eef06a7f555
Signed-off-by: Martin KaFai Lau <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions