trace.h (1ac731c529cd4d6adbce134754b51ff7d822b145) trace.h (05db59a0619969a47ab87050985344177c662cab)
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Based on net/wireless/trace.h */
3
4#undef TRACE_SYSTEM
5#define TRACE_SYSTEM cfg802154
6
7#if !defined(__RDEV_CFG802154_OPS_TRACE) || defined(TRACE_HEADER_MULTI_READ)
8#define __RDEV_CFG802154_OPS_TRACE

--- 342 unchanged lines hidden (view full) ---

351 TP_ARGS(wpan_phy, wpan_dev)
352);
353
354DEFINE_EVENT(802154_wdev_template, 802154_rdev_stop_beacons,
355 TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev),
356 TP_ARGS(wpan_phy, wpan_dev)
357);
358
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Based on net/wireless/trace.h */
3
4#undef TRACE_SYSTEM
5#define TRACE_SYSTEM cfg802154
6
7#if !defined(__RDEV_CFG802154_OPS_TRACE) || defined(TRACE_HEADER_MULTI_READ)
8#define __RDEV_CFG802154_OPS_TRACE

--- 342 unchanged lines hidden (view full) ---

351 TP_ARGS(wpan_phy, wpan_dev)
352);
353
354DEFINE_EVENT(802154_wdev_template, 802154_rdev_stop_beacons,
355 TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev),
356 TP_ARGS(wpan_phy, wpan_dev)
357);
358
359TRACE_EVENT(802154_rdev_associate,
360 TP_PROTO(struct wpan_phy *wpan_phy,
361 struct wpan_dev *wpan_dev,
362 struct ieee802154_addr *coord),
363 TP_ARGS(wpan_phy, wpan_dev, coord),
364 TP_STRUCT__entry(
365 WPAN_PHY_ENTRY
366 WPAN_DEV_ENTRY
367 __field(__le64, addr)
368 ),
369 TP_fast_assign(
370 WPAN_PHY_ASSIGN;
371 WPAN_DEV_ASSIGN;
372 __entry->addr = coord->extended_addr;
373 ),
374 TP_printk(WPAN_PHY_PR_FMT ", " WPAN_DEV_PR_FMT ", associating with: 0x%llx",
375 WPAN_PHY_PR_ARG, WPAN_DEV_PR_ARG, __entry->addr)
376);
377
359TRACE_EVENT(802154_rdev_return_int,
360 TP_PROTO(struct wpan_phy *wpan_phy, int ret),
361 TP_ARGS(wpan_phy, ret),
362 TP_STRUCT__entry(
363 WPAN_PHY_ENTRY
364 __field(int, ret)
365 ),
366 TP_fast_assign(

--- 14 unchanged lines hidden ---
378TRACE_EVENT(802154_rdev_return_int,
379 TP_PROTO(struct wpan_phy *wpan_phy, int ret),
380 TP_ARGS(wpan_phy, ret),
381 TP_STRUCT__entry(
382 WPAN_PHY_ENTRY
383 __field(int, ret)
384 ),
385 TP_fast_assign(

--- 14 unchanged lines hidden ---