Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752225Ab2JBLTt (ORCPT ); Tue, 2 Oct 2012 07:19:49 -0400 Received: from he.sipsolutions.net ([78.46.109.217]:40632 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751188Ab2JBLTs (ORCPT ); Tue, 2 Oct 2012 07:19:48 -0400 Message-ID: <1349176819.10698.16.camel@jlt4.sipsolutions.net> Subject: Re: How do I get mac80211 debugfs? From: Johannes Berg To: Kevin Cruz Cc: Intel Wireless , "linux-kernel@vger.kernel.org" , "linux-wireless@vger.kernel.org" Date: Tue, 02 Oct 2012 13:20:19 +0200 In-Reply-To: <1349159890.10698.2.camel@jlt4.sipsolutions.net> (sfid-20121002_083802_746542_57596E7B) References: <1348086305.81224.YahooMailNeo@web164004.mail.gq1.yahoo.com> <20120928121917.GF5368@mwanda> <1348870515.1973.YahooMailNeo@web164005.mail.gq1.yahoo.com> <20120929072527.GA13767@mwanda> <1349102641.41622.YahooMailNeo@web164005.mail.gq1.yahoo.com> <20121001150913.GC13767@mwanda> <1349109750.55372.YahooMailNeo@web164005.mail.gq1.yahoo.com> (sfid-20121001_184314_573998_F50474BE) <1349119899.10330.53.camel@jlt4.sipsolutions.net> <1349132818.58475.YahooMailNeo@web164006.mail.gq1.yahoo.com> <1349159890.10698.2.camel@jlt4.sipsolutions.net> (sfid-20121002_083802_746542_57596E7B) Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1123 Lines: 30 On Tue, 2012-10-02 at 08:38 +0200, Johannes Berg wrote: > Hi Kevin, > > > So I tried that but all I got back was: > > > > cat: /sys/kernel/debug/ieee80211/phy*/queues: No such file or directory > > > > so I'm assuming it's because I must not have mac80211 debugfs. So how > > do I get it? > > First, make sure it's mounted, check "mount" and if not mount it: > > sudo mount -t debugfs debugfs /sys/kernel/debug > > If that doesn't work you don't have it enabled in the kernel config, > check for CONFIG_DEBUG_FS. If you do have it, but not mac80211's files, > check for CONFIG_MAC80211_DEBUGFS. Oh also, if tracing already works, that'd be sufficient. No need to enable debugfs just to confirm the issue, tracing would let me confirm it as well. I just thought debugfs would let me confirm the issue first before going to the trouble of enabling tracing. johannes -- 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/