summaryrefslogtreecommitdiffstats
path: root/net/wireless/trace.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-10-23 15:16:50 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-10-23 19:52:53 +0200
commiteeb126e9ee5d3b14913863fdd7d88fdbf158318f (patch)
tree1d6a4770ddd370866dfda11d5c17cb5d21d6b346 /net/wireless/trace.h
parent5d0d04e477c44993f995f35b728ce9dd57a4615e (diff)
cfg80211: add tracing for P2P Device start/stop
These were missed due to the tracing work having started on a kernel that didn't have P2P Device yet, implement them now. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/trace.h')
-rw-r--r--net/wireless/trace.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/wireless/trace.h b/net/wireless/trace.h
index 857734c4b35..0ca71caf85f 100644
--- a/net/wireless/trace.h
+++ b/net/wireless/trace.h
@@ -1741,6 +1741,16 @@ TRACE_EVENT(rdev_return_channel,
WIPHY_PR_ARG, CHAN_PR_ARG, __entry->type)
);
+DEFINE_EVENT(wiphy_wdev_evt, rdev_start_p2p_device,
+ TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev),
+ TP_ARGS(wiphy, wdev)
+);
+
+DEFINE_EVENT(wiphy_wdev_evt, rdev_stop_p2p_device,
+ TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev),
+ TP_ARGS(wiphy, wdev)
+);
+
/*************************************************************
* cfg80211 exported functions traces *
*************************************************************/