GSoC

SuHsueyu anolasc13 at gmail.com
Thu Jul 28 16:31:29 UTC 2022


I use libbpf to write demo
demo github link: https://github.com/ANOLASC/RetriveBTFDemo

I read bpf.c and commit e921913e
<https://gitlab.com/strace/strace/-/commit/e921913e> to learn the
reimplementation of some functions in libbpf.

I'm trying to write a unit test for it. But I am confused about the unit
test. I think my target is eBPF loader programs, which load the eBPF
program into the kernel. And in the process of decoding the loader program,
I can get the BTF ID. With the BTF ID, I can finally get and print the BTF
information.

These are my thoughts. Please correct me if I am incorrect.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20220729/42e40f53/attachment.htm>


More information about the Strace-devel mailing list