Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758060AbbKSIrX (ORCPT ); Thu, 19 Nov 2015 03:47:23 -0500 Received: from mail-io0-f171.google.com ([209.85.223.171]:36133 "EHLO mail-io0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754613AbbKSIrV (ORCPT ); Thu, 19 Nov 2015 03:47:21 -0500 MIME-Version: 1.0 In-Reply-To: <564CE8E6.8060903@hurleysoftware.com> References: <564CE8E6.8060903@hurleysoftware.com> Date: Thu, 19 Nov 2015 14:17:21 +0530 Message-ID: Subject: Re: enable dynamic debug - doubt From: Muni Sekhar To: Peter Hurley Cc: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1277 Lines: 42 On Thu, Nov 19, 2015 at 2:38 AM, Peter Hurley wrote: > > On 11/17/2015 07:40 AM, Muni Sekhar wrote: > > [ Please keep me in CC as I'm not subscribed to the list] > > > > Hello, > > > > The behaviour of dynamic debug prints are controlled via writing to a > > control file in the 'debugfs' > > filesystem(/dynamic_debug/control). > > That's not the only method. You'll want to read > Documentation/dynamic-debug-howto.txt; specifically, "Debug Messages at > Module Initialization Time" for ways to enable dynamic debug messages at > module load time. > > Regards, > Peter Hurley > > > Here I would like to know what order should the echo(for eg: echo -n > > 'module sdhci +p' > /sys/kernel/debug/dynamic_debug/control) be > > applied in relation to the module load - before or after? > > I just glanced through the Documentation/dynamic-debug-howto.txt and now I am able to enable "Debug Messages at Module Initialization Time". Thanks Peter & Andy for the clarification. -- Thanks, Sekhar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/