bpf_debug output

"Ethy H. Brito" <[email protected]>
Newsgroups org.kernel.vger.xdp-newbies
Organization InterNexo Ltda.
Message-ID <20210714000804.426ed1f5@babalu>
Hi! 

I am working on some minor modifications in xdp-cpumap-tc to accommodate NAT at WAN side.
But the things are not working as expected.

How can bpf_debug be used to help debugging?

I read that its output ends-up in /sys/kernel/debug/tracing/trace_pipe.
But how can it be read? 
I tried "cat trace_pipe" but this produced no output whatsoever.

Any hints will be appreciated.

Thanx

Regards

Ethy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.