Open janetat opened 4 months ago
We haven't provide such tools yet. You may write a program that links against bpftime and call APIs like https://github.com/eunomia-bpf/bpftime/blob/88a79587639afd59103b88747940c6627a434cc4/runtime/include/bpftime_shm.hpp#L290 to dump maps.
See https://github.com/eunomia-bpf/bpftime/tree/master/example/libbpftime_example for how to use APIs of bpftime
Source Code
Question
How to dump
libc_malloc_calls_total
maps when running this eBPF prog in user runtime?