aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/trace.h
diff options
context:
space:
mode:
authorBeni Lev <beni.lev@intel.com>2012-08-27 05:49:39 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-10-18 04:53:38 -0400
commit4ee3e063f10acf6fd17c0ee6f1d0a95726e74cb2 (patch)
tree66b8846df1311155856710cabe811739451566ed /net/wireless/trace.h
parent14e8a3c47e808772a5ba8118ef1f9a8d604dbbe5 (diff)
cfg80211: add cfg80211 exported function tracing
Also add tracing to the API functions that drivers (and mac80211) can call in cfg80211. Signed-off-by: Beni Lev <beni.lev@intel.com> Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/trace.h')
-rw-r--r--net/wireless/trace.h536
1 files changed, 536 insertions, 0 deletions
diff --git a/net/wireless/trace.h b/net/wireless/trace.h
index 0940e9103776..857734c4b357 100644
--- a/net/wireless/trace.h
+++ b/net/wireless/trace.h
@@ -1741,6 +1741,542 @@ TRACE_EVENT(rdev_return_channel,
1741 WIPHY_PR_ARG, CHAN_PR_ARG, __entry->type) 1741 WIPHY_PR_ARG, CHAN_PR_ARG, __entry->type)
1742); 1742);
1743 1743
1744/*************************************************************
1745 * cfg80211 exported functions traces *
1746 *************************************************************/
1747
1748TRACE_EVENT(cfg80211_return_bool,
1749 TP_PROTO(bool ret),
1750 TP_ARGS(ret),
1751 TP_STRUCT__entry(
1752 __field(bool, ret)
1753 ),
1754 TP_fast_assign(
1755 __entry->ret = ret;
1756 ),
1757 TP_printk("returned %s", BOOL_TO_STR(__entry->ret))
1758);
1759
1760DECLARE_EVENT_CLASS(cfg80211_netdev_mac_evt,
1761 TP_PROTO(struct net_device *netdev, const u8 *macaddr),
1762 TP_ARGS(netdev, macaddr),
1763 TP_STRUCT__entry(
1764 NETDEV_ENTRY
1765 MAC_ENTRY(macaddr)
1766 ),
1767 TP_fast_assign(
1768 NETDEV_ASSIGN;
1769 MAC_ASSIGN(macaddr, macaddr);
1770 ),
1771 TP_printk(NETDEV_PR_FMT ", mac: " MAC_PR_FMT,
1772 NETDEV_PR_ARG, MAC_PR_ARG(macaddr))
1773);
1774
1775DEFINE_EVENT(cfg80211_netdev_mac_evt, cfg80211_notify_new_peer_candidate,
1776 TP_PROTO(struct net_device *netdev, const u8 *macaddr),
1777 TP_ARGS(netdev, macaddr)
1778);
1779
1780DECLARE_EVENT_CLASS(netdev_evt_only,
1781 TP_PROTO(struct net_device *netdev),
1782 TP_ARGS(netdev),
1783 TP_STRUCT__entry(
1784 NETDEV_ENTRY
1785 ),
1786 TP_fast_assign(
1787 NETDEV_ASSIGN;
1788 ),
1789 TP_printk(NETDEV_PR_FMT , NETDEV_PR_ARG)
1790);
1791
1792DEFINE_EVENT(netdev_evt_only, cfg80211_send_rx_auth,
1793 TP_PROTO(struct net_device *netdev),
1794 TP_ARGS(netdev)
1795);
1796
1797TRACE_EVENT(cfg80211_send_rx_assoc,
1798 TP_PROTO(struct net_device *netdev, struct cfg80211_bss *bss),
1799 TP_ARGS(netdev, bss),
1800 TP_STRUCT__entry(
1801 NETDEV_ENTRY
1802 MAC_ENTRY(bssid)
1803 CHAN_ENTRY
1804 ),
1805 TP_fast_assign(
1806 NETDEV_ASSIGN;
1807 MAC_ASSIGN(bssid, bss->bssid);
1808 CHAN_ASSIGN(bss->channel);
1809 ),
1810 TP_printk(NETDEV_PR_FMT MAC_PR_FMT CHAN_PR_FMT,
1811 NETDEV_PR_ARG, MAC_PR_ARG(bssid), CHAN_PR_ARG)
1812);
1813
1814DEFINE_EVENT(netdev_evt_only, __cfg80211_send_deauth,
1815 TP_PROTO(struct net_device *netdev),
1816 TP_ARGS(netdev)
1817);
1818
1819DEFINE_EVENT(netdev_evt_only, __cfg80211_send_disassoc,
1820 TP_PROTO(struct net_device *netdev),
1821 TP_ARGS(netdev)
1822);
1823
1824DEFINE_EVENT(netdev_evt_only, cfg80211_send_unprot_deauth,
1825 TP_PROTO(struct net_device *netdev),
1826 TP_ARGS(netdev)
1827);
1828
1829DEFINE_EVENT(netdev_evt_only, cfg80211_send_unprot_disassoc,
1830 TP_PROTO(struct net_device *netdev),
1831 TP_ARGS(netdev)
1832);
1833
1834DECLARE_EVENT_CLASS(netdev_mac_evt,
1835 TP_PROTO(struct net_device *netdev, const u8 *mac),
1836 TP_ARGS(netdev, mac),
1837 TP_STRUCT__entry(
1838 NETDEV_ENTRY
1839 MAC_ENTRY(mac)
1840 ),
1841 TP_fast_assign(
1842 NETDEV_ASSIGN;
1843 MAC_ASSIGN(mac, mac)
1844 ),
1845 TP_printk(NETDEV_PR_FMT ", mac: " MAC_PR_FMT,
1846 NETDEV_PR_ARG, MAC_PR_ARG(mac))
1847);
1848
1849DEFINE_EVENT(netdev_mac_evt, cfg80211_send_auth_timeout,
1850 TP_PROTO(struct net_device *netdev, const u8 *mac),
1851 TP_ARGS(netdev, mac)
1852);
1853
1854DEFINE_EVENT(netdev_mac_evt, cfg80211_send_assoc_timeout,
1855 TP_PROTO(struct net_device *netdev, const u8 *mac),
1856 TP_ARGS(netdev, mac)
1857);
1858
1859TRACE_EVENT(cfg80211_michael_mic_failure,
1860 TP_PROTO(struct net_device *netdev, const u8 *addr,
1861 enum nl80211_key_type key_type, int key_id, const u8 *tsc),
1862 TP_ARGS(netdev, addr, key_type, key_id, tsc),
1863 TP_STRUCT__entry(
1864 NETDEV_ENTRY
1865 MAC_ENTRY(addr)
1866 __field(enum nl80211_key_type, key_type)
1867 __field(int, key_id)
1868 __array(u8, tsc, 6)
1869 ),
1870 TP_fast_assign(
1871 NETDEV_ASSIGN;
1872 MAC_ASSIGN(addr, addr);
1873 __entry->key_type = key_type;
1874 __entry->key_id = key_id;
1875 memcpy(__entry->tsc, tsc, 6);
1876 ),
1877 TP_printk(NETDEV_PR_FMT MAC_PR_FMT ", key type: %d, key id: %d, tsc: %pm",
1878 NETDEV_PR_ARG, MAC_PR_ARG(addr), __entry->key_type,
1879 __entry->key_id, __entry->tsc)
1880);
1881
1882TRACE_EVENT(cfg80211_ready_on_channel,
1883 TP_PROTO(struct wireless_dev *wdev, u64 cookie,
1884 struct ieee80211_channel *chan,
1885 enum nl80211_channel_type channel_type, unsigned int duration),
1886 TP_ARGS(wdev, cookie, chan, channel_type, duration),
1887 TP_STRUCT__entry(
1888 WDEV_ENTRY
1889 __field(u64, cookie)
1890 CHAN_ENTRY
1891 __field(enum nl80211_channel_type, channel_type)
1892 __field(unsigned int, duration)
1893 ),
1894 TP_fast_assign(
1895 WDEV_ASSIGN;
1896 __entry->cookie = cookie;
1897 CHAN_ASSIGN(chan);
1898 __entry->channel_type = channel_type;
1899 __entry->duration = duration;
1900 ),
1901 TP_printk(WDEV_PR_FMT ", cookie: %llu, " CHAN_PR_FMT ", channel type: %d, duration: %u",
1902 WDEV_PR_ARG, __entry->cookie, CHAN_PR_ARG,
1903 __entry->channel_type, __entry->duration)
1904);
1905
1906TRACE_EVENT(cfg80211_ready_on_channel_expired,
1907 TP_PROTO(struct wireless_dev *wdev, u64 cookie,
1908 struct ieee80211_channel *chan,
1909 enum nl80211_channel_type channel_type),
1910 TP_ARGS(wdev, cookie, chan, channel_type),
1911 TP_STRUCT__entry(
1912 WDEV_ENTRY
1913 __field(u64, cookie)
1914 CHAN_ENTRY
1915 __field(enum nl80211_channel_type, channel_type)
1916 ),
1917 TP_fast_assign(
1918 WDEV_ASSIGN;
1919 __entry->cookie = cookie;
1920 CHAN_ASSIGN(chan);
1921 __entry->channel_type = channel_type;
1922 ),
1923 TP_printk(WDEV_PR_FMT ", cookie: %llu, " CHAN_PR_FMT ", channel type: %d",
1924 WDEV_PR_ARG, __entry->cookie, CHAN_PR_ARG,
1925 __entry->channel_type)
1926);
1927
1928TRACE_EVENT(cfg80211_new_sta,
1929 TP_PROTO(struct net_device *netdev, const u8 *mac_addr,
1930 struct station_info *sinfo),
1931 TP_ARGS(netdev, mac_addr, sinfo),
1932 TP_STRUCT__entry(
1933 NETDEV_ENTRY
1934 MAC_ENTRY(mac_addr)
1935 SINFO_ENTRY
1936 ),
1937 TP_fast_assign(
1938 NETDEV_ASSIGN;
1939 MAC_ASSIGN(mac_addr, mac_addr);
1940 SINFO_ASSIGN;
1941 ),
1942 TP_printk(NETDEV_PR_FMT MAC_PR_FMT,
1943 NETDEV_PR_ARG, MAC_PR_ARG(mac_addr))
1944);
1945
1946DEFINE_EVENT(cfg80211_netdev_mac_evt, cfg80211_del_sta,
1947 TP_PROTO(struct net_device *netdev, const u8 *macaddr),
1948 TP_ARGS(netdev, macaddr)
1949);
1950
1951TRACE_EVENT(cfg80211_rx_mgmt,
1952 TP_PROTO(struct wireless_dev *wdev, int freq, int sig_mbm),
1953 TP_ARGS(wdev, freq, sig_mbm),
1954 TP_STRUCT__entry(
1955 WDEV_ENTRY
1956 __field(int, freq)
1957 __field(int, sig_mbm)
1958 ),
1959 TP_fast_assign(
1960 WDEV_ASSIGN;
1961 __entry->freq = freq;
1962 __entry->sig_mbm = sig_mbm;
1963 ),
1964 TP_printk(WDEV_PR_FMT ", freq: %d, sig mbm: %d",
1965 WDEV_PR_ARG, __entry->freq, __entry->sig_mbm)
1966);
1967
1968TRACE_EVENT(cfg80211_mgmt_tx_status,
1969 TP_PROTO(struct wireless_dev *wdev, u64 cookie, bool ack),
1970 TP_ARGS(wdev, cookie, ack),
1971 TP_STRUCT__entry(
1972 WDEV_ENTRY
1973 __field(u64, cookie)
1974 __field(bool, ack)
1975 ),
1976 TP_fast_assign(
1977 WDEV_ASSIGN;
1978 __entry->cookie = cookie;
1979 __entry->ack = ack;
1980 ),
1981 TP_printk(WDEV_PR_FMT", cookie: %llu, ack: %s",
1982 WDEV_PR_ARG, __entry->cookie, BOOL_TO_STR(__entry->ack))
1983);
1984
1985TRACE_EVENT(cfg80211_cqm_rssi_notify,
1986 TP_PROTO(struct net_device *netdev,
1987 enum nl80211_cqm_rssi_threshold_event rssi_event),
1988 TP_ARGS(netdev, rssi_event),
1989 TP_STRUCT__entry(
1990 NETDEV_ENTRY
1991 __field(enum nl80211_cqm_rssi_threshold_event, rssi_event)
1992 ),
1993 TP_fast_assign(
1994 NETDEV_ASSIGN;
1995 __entry->rssi_event = rssi_event;
1996 ),
1997 TP_printk(NETDEV_PR_FMT ", rssi event: %d",
1998 NETDEV_PR_ARG, __entry->rssi_event)
1999);
2000
2001TRACE_EVENT(cfg80211_can_beacon_sec_chan,
2002 TP_PROTO(struct wiphy *wiphy, struct ieee80211_channel *channel,
2003 enum nl80211_channel_type channel_type),
2004 TP_ARGS(wiphy, channel, channel_type),
2005 TP_STRUCT__entry(
2006 WIPHY_ENTRY
2007 CHAN_ENTRY
2008 __field(enum nl80211_channel_type, channel_type)
2009 ),
2010 TP_fast_assign(
2011 WIPHY_ASSIGN;
2012 CHAN_ASSIGN(channel);
2013 __entry->channel_type = channel_type;
2014 ),
2015 TP_printk(WIPHY_PR_FMT CHAN_PR_FMT ", channel_type: %d",
2016 WIPHY_PR_ARG, CHAN_PR_ARG, __entry->channel_type)
2017);
2018
2019TRACE_EVENT(cfg80211_ch_switch_notify,
2020 TP_PROTO(struct net_device *netdev, int freq,
2021 enum nl80211_channel_type type),
2022 TP_ARGS(netdev, freq, type),
2023 TP_STRUCT__entry(
2024 NETDEV_ENTRY
2025 __field(int, freq)
2026 __field(enum nl80211_channel_type, type)
2027 ),
2028 TP_fast_assign(
2029 NETDEV_ASSIGN;
2030 __entry->freq = freq;
2031 __entry->type = type;
2032 ),
2033 TP_printk(NETDEV_PR_FMT ", freq: %d, type: %d", NETDEV_PR_ARG,
2034 __entry->freq, __entry->type)
2035);
2036
2037DECLARE_EVENT_CLASS(cfg80211_rx_evt,
2038 TP_PROTO(struct net_device *netdev, const u8 *addr),
2039 TP_ARGS(netdev, addr),
2040 TP_STRUCT__entry(
2041 NETDEV_ENTRY
2042 MAC_ENTRY(addr)
2043 ),
2044 TP_fast_assign(
2045 NETDEV_ASSIGN;
2046 MAC_ASSIGN(addr, addr);
2047 ),
2048 TP_printk(NETDEV_PR_FMT MAC_PR_FMT, NETDEV_PR_ARG, MAC_PR_ARG(addr))
2049);
2050
2051DEFINE_EVENT(cfg80211_rx_evt, cfg80211_ibss_joined,
2052 TP_PROTO(struct net_device *netdev, const u8 *addr),
2053 TP_ARGS(netdev, addr)
2054);
2055
2056DEFINE_EVENT(cfg80211_rx_evt, cfg80211_rx_spurious_frame,
2057 TP_PROTO(struct net_device *netdev, const u8 *addr),
2058 TP_ARGS(netdev, addr)
2059);
2060
2061DEFINE_EVENT(cfg80211_rx_evt, cfg80211_rx_unexpected_4addr_frame,
2062 TP_PROTO(struct net_device *netdev, const u8 *addr),
2063 TP_ARGS(netdev, addr)
2064);
2065
2066TRACE_EVENT(cfg80211_probe_status,
2067 TP_PROTO(struct net_device *netdev, const u8 *addr, u64 cookie,
2068 bool acked),
2069 TP_ARGS(netdev, addr, cookie, acked),
2070 TP_STRUCT__entry(
2071 NETDEV_ENTRY
2072 MAC_ENTRY(addr)
2073 __field(u64, cookie)
2074 __field(bool, acked)
2075 ),
2076 TP_fast_assign(
2077 NETDEV_ASSIGN;
2078 MAC_ASSIGN(addr, addr);
2079 __entry->cookie = cookie;
2080 __entry->acked = acked;
2081 ),
2082 TP_printk(NETDEV_PR_FMT MAC_PR_FMT ", cookie: %llu, acked: %s",
2083 NETDEV_PR_ARG, MAC_PR_ARG(addr), __entry->cookie,
2084 BOOL_TO_STR(__entry->acked))
2085);
2086
2087TRACE_EVENT(cfg80211_cqm_pktloss_notify,
2088 TP_PROTO(struct net_device *netdev, const u8 *peer, u32 num_packets),
2089 TP_ARGS(netdev, peer, num_packets),
2090 TP_STRUCT__entry(
2091 NETDEV_ENTRY
2092 MAC_ENTRY(peer)
2093 __field(u32, num_packets)
2094 ),
2095 TP_fast_assign(
2096 NETDEV_ASSIGN;
2097 MAC_ASSIGN(peer, peer);
2098 __entry->num_packets = num_packets;
2099 ),
2100 TP_printk(NETDEV_PR_FMT ", peer: " MAC_PR_FMT ", num of lost packets: %u",
2101 NETDEV_PR_ARG, MAC_PR_ARG(peer), __entry->num_packets)
2102);
2103
2104DEFINE_EVENT(cfg80211_netdev_mac_evt, cfg80211_gtk_rekey_notify,
2105 TP_PROTO(struct net_device *netdev, const u8 *macaddr),
2106 TP_ARGS(netdev, macaddr)
2107);
2108
2109TRACE_EVENT(cfg80211_pmksa_candidate_notify,
2110 TP_PROTO(struct net_device *netdev, int index, const u8 *bssid,
2111 bool preauth),
2112 TP_ARGS(netdev, index, bssid, preauth),
2113 TP_STRUCT__entry(
2114 NETDEV_ENTRY
2115 __field(int, index)
2116 MAC_ENTRY(bssid)
2117 __field(bool, preauth)
2118 ),
2119 TP_fast_assign(
2120 NETDEV_ASSIGN;
2121 __entry->index = index;
2122 MAC_ASSIGN(bssid, bssid);
2123 __entry->preauth = preauth;
2124 ),
2125 TP_printk(NETDEV_PR_FMT ", index:%d, bssid: " MAC_PR_FMT ", pre auth: %s",
2126 NETDEV_PR_ARG, __entry->index, MAC_PR_ARG(bssid),
2127 BOOL_TO_STR(__entry->preauth))
2128);
2129
2130TRACE_EVENT(cfg80211_report_obss_beacon,
2131 TP_PROTO(struct wiphy *wiphy, const u8 *frame, size_t len,
2132 int freq, int sig_dbm),
2133 TP_ARGS(wiphy, frame, len, freq, sig_dbm),
2134 TP_STRUCT__entry(
2135 WIPHY_ENTRY
2136 __field(int, freq)
2137 __field(int, sig_dbm)
2138 ),
2139 TP_fast_assign(
2140 WIPHY_ASSIGN;
2141 __entry->freq = freq;
2142 __entry->sig_dbm = sig_dbm;
2143 ),
2144 TP_printk(WIPHY_PR_FMT ", freq: %d, sig_dbm: %d",
2145 WIPHY_PR_ARG, __entry->freq, __entry->sig_dbm)
2146);
2147
2148TRACE_EVENT(cfg80211_scan_done,
2149 TP_PROTO(struct cfg80211_scan_request *request, bool aborted),
2150 TP_ARGS(request, aborted),
2151 TP_STRUCT__entry(
2152 __field(u32, n_channels)
2153 __dynamic_array(u8, ie, request ? request->ie_len : 0)
2154 __array(u32, rates, IEEE80211_NUM_BANDS)
2155 __field(u32, wdev_id)
2156 MAC_ENTRY(wiphy_mac)
2157 __field(bool, no_cck)
2158 __field(bool, aborted)
2159 ),
2160 TP_fast_assign(
2161 if (request) {
2162 memcpy(__get_dynamic_array(ie), request->ie,
2163 request->ie_len);
2164 memcpy(__entry->rates, request->rates,
2165 IEEE80211_NUM_BANDS);
2166 __entry->wdev_id = request->wdev ?
2167 request->wdev->identifier : 0;
2168 if (request->wiphy)
2169 MAC_ASSIGN(wiphy_mac,
2170 request->wiphy->perm_addr);
2171 __entry->no_cck = request->no_cck;
2172 }
2173 __entry->aborted = aborted;
2174 ),
2175 TP_printk("aborted: %s", BOOL_TO_STR(__entry->aborted))
2176);
2177
2178DEFINE_EVENT(wiphy_only_evt, cfg80211_sched_scan_results,
2179 TP_PROTO(struct wiphy *wiphy),
2180 TP_ARGS(wiphy)
2181);
2182
2183DEFINE_EVENT(wiphy_only_evt, cfg80211_sched_scan_stopped,
2184 TP_PROTO(struct wiphy *wiphy),
2185 TP_ARGS(wiphy)
2186);
2187
2188TRACE_EVENT(cfg80211_get_bss,
2189 TP_PROTO(struct wiphy *wiphy, struct ieee80211_channel *channel,
2190 const u8 *bssid, const u8 *ssid, size_t ssid_len,
2191 u16 capa_mask, u16 capa_val),
2192 TP_ARGS(wiphy, channel, bssid, ssid, ssid_len, capa_mask, capa_val),
2193 TP_STRUCT__entry(
2194 WIPHY_ENTRY
2195 CHAN_ENTRY
2196 MAC_ENTRY(bssid)
2197 __dynamic_array(u8, ssid, ssid_len)
2198 __field(u16, capa_mask)
2199 __field(u16, capa_val)
2200 ),
2201 TP_fast_assign(
2202 WIPHY_ASSIGN;
2203 CHAN_ASSIGN(channel);
2204 MAC_ASSIGN(bssid, bssid);
2205 memcpy(__get_dynamic_array(ssid), ssid, ssid_len);
2206 __entry->capa_mask = capa_mask;
2207 __entry->capa_val = capa_val;
2208 ),
2209 TP_printk(WIPHY_PR_FMT CHAN_PR_FMT MAC_PR_FMT ", buf: %#.2x, "
2210 "capa_mask: %d, capa_val: %u", WIPHY_PR_ARG, CHAN_PR_ARG,
2211 MAC_PR_ARG(bssid), ((u8 *)__get_dynamic_array(ssid))[0],
2212 __entry->capa_mask, __entry->capa_val)
2213);
2214
2215TRACE_EVENT(cfg80211_inform_bss_frame,
2216 TP_PROTO(struct wiphy *wiphy, struct ieee80211_channel *channel,
2217 struct ieee80211_mgmt *mgmt, size_t len,
2218 s32 signal),
2219 TP_ARGS(wiphy, channel, mgmt, len, signal),
2220 TP_STRUCT__entry(
2221 WIPHY_ENTRY
2222 CHAN_ENTRY
2223 __dynamic_array(u8, mgmt, len)
2224 __field(s32, signal)
2225 ),
2226 TP_fast_assign(
2227 WIPHY_ASSIGN;
2228 CHAN_ASSIGN(channel);
2229 if (mgmt)
2230 memcpy(__get_dynamic_array(mgmt), mgmt, len);
2231 __entry->signal = signal;
2232 ),
2233 TP_printk(WIPHY_PR_FMT CHAN_PR_FMT "signal: %d",
2234 WIPHY_PR_ARG, CHAN_PR_ARG, __entry->signal)
2235);
2236
2237DECLARE_EVENT_CLASS(cfg80211_bss_evt,
2238 TP_PROTO(struct cfg80211_bss *pub),
2239 TP_ARGS(pub),
2240 TP_STRUCT__entry(
2241 MAC_ENTRY(bssid)
2242 CHAN_ENTRY
2243 ),
2244 TP_fast_assign(
2245 MAC_ASSIGN(bssid, pub->bssid);
2246 CHAN_ASSIGN(pub->channel);
2247 ),
2248 TP_printk(MAC_PR_FMT CHAN_PR_FMT, MAC_PR_ARG(bssid), CHAN_PR_ARG)
2249);
2250
2251DEFINE_EVENT(cfg80211_bss_evt, cfg80211_return_bss,
2252 TP_PROTO(struct cfg80211_bss *pub),
2253 TP_ARGS(pub)
2254);
2255
2256TRACE_EVENT(cfg80211_return_uint,
2257 TP_PROTO(unsigned int ret),
2258 TP_ARGS(ret),
2259 TP_STRUCT__entry(
2260 __field(unsigned int, ret)
2261 ),
2262 TP_fast_assign(
2263 __entry->ret = ret;
2264 ),
2265 TP_printk("ret: %d", __entry->ret)
2266);
2267
2268TRACE_EVENT(cfg80211_return_u32,
2269 TP_PROTO(u32 ret),
2270 TP_ARGS(ret),
2271 TP_STRUCT__entry(
2272 __field(u32, ret)
2273 ),
2274 TP_fast_assign(
2275 __entry->ret = ret;
2276 ),
2277 TP_printk("ret: %u", __entry->ret)
2278);
2279
1744#endif /* !__RDEV_OPS_TRACE || TRACE_HEADER_MULTI_READ */ 2280#endif /* !__RDEV_OPS_TRACE || TRACE_HEADER_MULTI_READ */
1745 2281
1746#undef TRACE_INCLUDE_PATH 2282#undef TRACE_INCLUDE_PATH