BTF without DWARF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm updating my AF_XDP app from using a very old libbpf v0.1.1 to
libxdp v1.2.0 (the last libxdp version that supported clang/llvm 10
included in Ubuntu 20.04).

I've changed my XDP program .c code to use BTF maps as required.
However, it looks like to generate them I need to add '-g' to clang
which includes generic DWARF debug info as well.

Is there a way to generate just the BTF info without dwarf while
compiling the XDP ebpf program .c code?

Thanks in advance,
Srivats




[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux