XDP-Newbies Archive mirror
 help / color / mirror / Atom feed
From: "Ethy H. Brito" <ethy.brito@inexo.com.br>
To: "xdp-newbies@vger.kernel.org" <xdp-newbies@vger.kernel.org>
Subject: bpf_debug output
Date: Wed, 14 Jul 2021 00:08:04 -0300	[thread overview]
Message-ID: <20210714000804.426ed1f5@babalu> (raw)


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

             reply	other threads:[~2021-07-14  3:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-14  3:08 Ethy H. Brito [this message]
2021-07-14 17:06 ` bpf_debug output Ivan Koveshnikov
2021-07-15 19:25   ` Ethy H. Brito

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210714000804.426ed1f5@babalu \
    --to=ethy.brito@inexo.com.br \
    --cc=xdp-newbies@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).