Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7057f249 authored by Johannes Berg's avatar Johannes Berg
Browse files

cfg80211: tracing: reuse wiphy_wdev_evt for rdev_get_txq_stats



A simple cleanup, reuse the event definition that we already have.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent efdfce72
Loading
Loading
Loading
Loading
+2 −11
Original line number Original line Diff line number Diff line
@@ -3246,18 +3246,9 @@ TRACE_EVENT(rdev_set_multicast_to_unicast,
		  BOOL_TO_STR(__entry->enabled))
		  BOOL_TO_STR(__entry->enabled))
);
);


TRACE_EVENT(rdev_get_txq_stats,
DEFINE_EVENT(wiphy_wdev_evt, rdev_get_txq_stats,
	TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev),
	TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev),
	TP_ARGS(wiphy, wdev),
	TP_ARGS(wiphy, wdev)
	TP_STRUCT__entry(
		WIPHY_ENTRY
		WDEV_ENTRY
	),
	TP_fast_assign(
		WIPHY_ASSIGN;
		WDEV_ASSIGN;
	),
	TP_printk(WIPHY_PR_FMT ", " WDEV_PR_FMT, WIPHY_PR_ARG, WDEV_PR_ARG)
);
);
#endif /* !__RDEV_OPS_TRACE || TRACE_HEADER_MULTI_READ */
#endif /* !__RDEV_OPS_TRACE || TRACE_HEADER_MULTI_READ */