Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341520
b: refs/heads/master
c: f5c4f10
h: refs/heads/master
v: v3
  • Loading branch information
Seth Forshee authored and John W. Linville committed Nov 20, 2012
1 parent d5cb21d commit 08fac0d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 75be3e24eeedbc9ec5faf3483fe9b449abec94e8
refs/heads/master: f5c4f10852d42012c6a7a793c15bf18882e61da0
11 changes: 11 additions & 0 deletions trunk/drivers/net/wireless/brcm80211/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ config BRCMFMAC_USB
IEEE802.11n embedded FullMAC WLAN driver. Say Y if you want to
use the driver for an USB wireless card.

config BRCM_TRACING
bool "Broadcom device tracing"
depends on BRCMSMAC || BRCMFMAC
---help---
If you say Y here, the Broadcom wireless drivers will register
with ftrace to dump event information into the trace ringbuffer.
Tracing can be enabled at runtime to aid in debugging wireless
issues. This option adds a small amount of overhead when tracing
is disabled. If unsure, say Y to allow developers to better help
you when wireless problems occur.

config BRCMDBG
bool "Broadcom driver debug functions"
depends on BRCMSMAC || BRCMFMAC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <linux/tracepoint.h>
#include "mac80211_if.h"

#ifndef CONFIG_BRCMDBG
#ifndef CONFIG_BRCM_TRACING
#undef TRACE_EVENT
#define TRACE_EVENT(name, proto, ...) \
static inline void trace_ ## name(proto) {}
Expand Down Expand Up @@ -80,7 +80,7 @@ TRACE_EVENT(brcms_dpc,

#endif /* __TRACE_BRCMSMAC_H */

#ifdef CONFIG_BRCMDBG
#ifdef CONFIG_BRCM_TRACING

#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH .
Expand All @@ -89,4 +89,4 @@ TRACE_EVENT(brcms_dpc,

#include <trace/define_trace.h>

#endif /* CONFIG_BRCMDBG */
#endif /* CONFIG_BRCM_TRACING */

0 comments on commit 08fac0d

Please sign in to comment.