Re: How do I get mac80211 debugfs?

From: Johannes Berg
Date: Tue Oct 02 2012 - 07:20:26 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/