* Turn on net_dbg_ratelimited() diagnostics in linux-5.10.67 ?
@ 2021-09-28 22:00 Templin (US), Fred L
2021-09-29 5:29 ` Cong Wang
0 siblings, 1 reply; 2+ messages in thread
From: Templin (US), Fred L @ 2021-09-28 22:00 UTC (permalink / raw)
To: netdev
Hi, it has been a while since I have delved into linux kernel networking internals,
and it appears that diagnostics-generation code has been significantly cleaned up
over the years since I last checked. I am working in linux-5.10.67, and I see that
network diagnostics are now generated by calls to "net_dbg_ratelimited()" but
that these seem to be disabled by default.
How can I turn on net_dbg_ratelimited() diagnostics, and once enabled where
do I go to see the diagnostics output?
Thanks - Fred
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Turn on net_dbg_ratelimited() diagnostics in linux-5.10.67 ?
2021-09-28 22:00 Turn on net_dbg_ratelimited() diagnostics in linux-5.10.67 ? Templin (US), Fred L
@ 2021-09-29 5:29 ` Cong Wang
0 siblings, 0 replies; 2+ messages in thread
From: Cong Wang @ 2021-09-29 5:29 UTC (permalink / raw)
To: Templin (US), Fred L; +Cc: netdev
On Tue, Sep 28, 2021 at 3:07 PM Templin (US), Fred L
<Fred.L.Templin@boeing.com> wrote:
>
> Hi, it has been a while since I have delved into linux kernel networking internals,
> and it appears that diagnostics-generation code has been significantly cleaned up
> over the years since I last checked. I am working in linux-5.10.67, and I see that
> network diagnostics are now generated by calls to "net_dbg_ratelimited()" but
> that these seem to be disabled by default.
>
> How can I turn on net_dbg_ratelimited() diagnostics, and once enabled where
> do I go to see the diagnostics output?
Please look at how to use dynamic debug:
https://www.kernel.org/doc/html/v5.0/admin-guide/dynamic-debug-howto.html
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-29 5:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 22:00 Turn on net_dbg_ratelimited() diagnostics in linux-5.10.67 ? Templin (US), Fred L
2021-09-29 5:29 ` Cong Wang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.