[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM_iQpVQYZ8+7QLs2Z-4BbuOH7NfZkh2HbrUgHFhNkoTTeDKiQ@mail.gmail.com>
Date: Sat, 2 Jul 2022 22:58:21 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: Subash Abhinov Kasiviswanathan <quic_subashab@...cinc.com>,
David Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
netdev <netdev@...r.kernel.org>, quic_jzenner@...cinc.com,
Cong Wang <cong.wang@...edance.com>,
Qitao Xu <qitao.xu@...edance.com>,
Sean Tranchetti <quic_stranche@...cinc.com>
Subject: Re: [PATCH net-next] net: Print real skb addresses for all net events
Hmm, I just noticed there is actually a hash-ptr option for trace ring
buffer:
hash-ptr
When set, "%p" in the event printk format displays the
hashed pointer value instead of real address.
This will be useful if you want to find out which hashed
value is corresponding to the real value in trace log.
I am glad people noticed the usefulness of real addresses in tracepoint
before I did.
I will backport this to our 5.10 kernel.
Thanks.
Powered by blists - more mailing lists