Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933615AbbKRVI6 (ORCPT ); Wed, 18 Nov 2015 16:08:58 -0500 Received: from mail-io0-f177.google.com ([209.85.223.177]:35421 "EHLO mail-io0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932820AbbKRVI5 (ORCPT ); Wed, 18 Nov 2015 16:08:57 -0500 Subject: Re: enable dynamic debug - doubt To: Muni Sekhar , linux-kernel@vger.kernel.org References: From: Peter Hurley Message-ID: <564CE8E6.8060903@hurleysoftware.com> Date: Wed, 18 Nov 2015 16:08:54 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 950 Lines: 27 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? -- 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/