From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AC23C433F5 for ; Wed, 29 Sep 2021 05:29:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 25932610E6 for ; Wed, 29 Sep 2021 05:29:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244227AbhI2Fax (ORCPT ); Wed, 29 Sep 2021 01:30:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244096AbhI2Faw (ORCPT ); Wed, 29 Sep 2021 01:30:52 -0400 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13B3CC06161C for ; Tue, 28 Sep 2021 22:29:12 -0700 (PDT) Received: by mail-yb1-xb2e.google.com with SMTP id v195so2285507ybb.0 for ; Tue, 28 Sep 2021 22:29:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G9y5qV66R7sMu6H/7MKQV3O4uRrhLLlnqDTpgcBBRiM=; b=QlZnIQ/IIPp87BSEXusqzQIsAxLflQ8g6SAGTODod0Sf9hADmW1ymoZA3K+A9uP4XL xR/L3peqESvN586wMRjTcKs0My1dnaoct5Lw1z1cwGfjlmRcoyHNjCnAqvpLfKDtU+y2 XlAJYU2FdoL897j+dIBaCuiyWRIHXFpjJh9iwtVs3OQHqDSJepGsIWpoXqns4q+FV+Yb xE40iBFMCPt5kcRy+mjyPUI9neHsFluLuYNyUxAV6CEn1T3IWz5hAseIhIoYWIiewPjB frlFS56+0A01dpLxn6PIKjus6YiQiNgzMfS+duNTbmuQ7bD0Nblw0A3UdVMENBGiDFYR 91bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G9y5qV66R7sMu6H/7MKQV3O4uRrhLLlnqDTpgcBBRiM=; b=pvpNV/JDseHhfMBHfgGSJ2JJeSe+8kT+6esEJH8wkHK7SveEBr1MHgC/ZLUZaS8IIm d95b1tWGr+GKWlG94Yr2L7D6aNoKDs9Q867nuERq24bCMWBrZM8aiAo3x3KOloPTu5HO DQKS1275r7KUB43X4zUfUoZmJ4IY3yM9Xv/aTMg3yM4joHc/eXj9qDeKpFjTyeB0VA5w Yd5aiuu8tsZYWDKox/DmVyUALee/b7tJe2cqPUL36k/nFjMRyKBptfN4qR+3xsRFAhng qqbIBvfTL0Jh/IhfBt5weAoCE0p6l9hf4ceMnX3knbiBEqxWM99evDqCZV+NBqTjVHC+ pm6Q== X-Gm-Message-State: AOAM533RXgDs7uo9B4zsCzFe0s6+pAH+or8dX4cm1KoRzVijpWBHMw8Q 1vDPyYlZTriRKEk54kU+hObMGQq1CC5wmTHF7ALs+bveN6w= X-Google-Smtp-Source: ABdhPJwkHJoHOEsK4vUcoXDhIB8KorIUHSyB8ovE69RWHRuiZBFlo6ewINhpF6PjwI6QBr1sUa4oMbpY7cqiXNcgLOw= X-Received: by 2002:a25:ccd1:: with SMTP id l200mr1524969ybf.140.1632893351382; Tue, 28 Sep 2021 22:29:11 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Cong Wang Date: Tue, 28 Sep 2021 22:29:00 -0700 Message-ID: Subject: Re: Turn on net_dbg_ratelimited() diagnostics in linux-5.10.67 ? To: "Templin (US), Fred L" Cc: "netdev@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, Sep 28, 2021 at 3:07 PM Templin (US), Fred L 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.