[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM_iQpWw9OWnEHaorLri1C95W_LA56hsRmTqQyTyFwHVPA-DDQ@mail.gmail.com>
Date: Tue, 28 Sep 2021 22:29:00 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: "Templin (US), Fred L" <Fred.L.Templin@...ing.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: Turn on net_dbg_ratelimited() diagnostics in linux-5.10.67 ?
On Tue, Sep 28, 2021 at 3:07 PM Templin (US), Fred L
<Fred.L.Templin@...ing.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.
Powered by blists - more mailing lists