For plain text output, it incorrectly prints the pointer value
"void *data". The "void *data" is actually pointing to memory that
contains a bpf-map's value. The intention is to print the content of
the bpf-map's value instead of printing the pointer pointing to the
bpf-map's value.
In this case, a member of the bpf-map's value is a pointer type.
Thus, it should print the "*(void **)data".
Fixes:
|
||
|---|---|---|
| .. | ||
| bash-completion | ||
| Documentation | ||
| .gitignore | ||
| btf.c | ||
| btf_dumper.c | ||
| cfg.c | ||
| cfg.h | ||
| cgroup.c | ||
| common.c | ||
| feature.c | ||
| jit_disasm.c | ||
| json_writer.c | ||
| json_writer.h | ||
| main.c | ||
| main.h | ||
| Makefile | ||
| map.c | ||
| map_perf_ring.c | ||
| net.c | ||
| netlink_dumper.c | ||
| netlink_dumper.h | ||
| perf.c | ||
| prog.c | ||
| tracelog.c | ||
| xlated_dumper.c | ||
| xlated_dumper.h | ||