linux/drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c

// SPDX-License-Identifier: GPL-2.0-only
/******************************************************************************
 *
 * Copyright(c) 2009 - 2014 Intel Corporation. All rights reserved.
 * Copyright (C) 2018, 2023 Intel Corporation
 *****************************************************************************/

#include <linux/module.h>

/* sparse doesn't like tracepoint macros */
#ifndef __CHECKER__
#include "iwl-trans.h"

#define CREATE_TRACE_POINTS
#ifdef CONFIG_CC_IS_GCC
#pragma GCC diagnostic ignored "-Wsuggest-attribute=format"
#endif
#include "iwl-devtrace.h"

EXPORT_TRACEPOINT_SYMBOL();
EXPORT_TRACEPOINT_SYMBOL();
EXPORT_TRACEPOINT_SYMBOL();
#else
#include "iwl-devtrace.h"
#endif /* __CHECKER__ */

void __trace_iwlwifi_dev_rx(struct iwl_trans *trans, void *pkt, size_t len)
{}