Re: How do I get mac80211 debugfs?

From: Johannes Berg
Date: Tue Oct 02 2012 - 03:11:23 EST


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.

Thanks,
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/