bpftool: Dump the kernel symbol's module name
authorYafang Shao <laoar.shao@gmail.com>
Sun, 9 Jul 2023 02:56:22 +0000 (02:56 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 12 Jul 2023 03:07:50 +0000 (20:07 -0700)
commitdc6519445b33bcd9c0ce69c914979a3c0c6e80ce
tree2c7fb05d7b74b32a3753a2b70c72d53ae59910dc
parent7ac8d0d2619256cc13eaf4a889b3177a1607b02d
bpftool: Dump the kernel symbol's module name

If the kernel symbol is in a module, we will dump the module name as
well. The square brackets around the module name are trimmed.

Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20230709025630.3735-3-laoar.shao@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/bpf/bpftool/xlated_dumper.c
tools/bpf/bpftool/xlated_dumper.h