linux/net/mac80211/trace.c

// SPDX-License-Identifier: GPL-2.0
/* bug in tracepoint.h, it should include this */
#include <linux/module.h>

/* sparse isn't too happy with all macros... */
#ifndef __CHECKER__
#include <net/cfg80211.h>
#include "driver-ops.h"
#include "debug.h"
#define CREATE_TRACE_POINTS
#include "trace.h"
#include "trace_msg.h"

#ifdef CONFIG_MAC80211_MESSAGE_TRACING
void __sdata_info(const char *fmt, ...)
{}

void __sdata_dbg(bool print, const char *fmt, ...)
{}

void __sdata_err(const char *fmt, ...)
{}

void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...)
{}
#endif
#endif