blob: 06203d6a1d86fe50c38c590ded15954aa0ab0c04 [file] [log] [blame]
Reinette Chatrebb5d2db2010-01-15 13:42:59 -08001/******************************************************************************
2 *
Wey-Yi Guyfb4961d2012-01-06 13:16:33 -08003 * Copyright(c) 2009 - 2012 Intel Corporation. All rights reserved.
Reinette Chatrebb5d2db2010-01-15 13:42:59 -08004 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17 *
18 * The full GNU General Public License is included in this distribution in the
19 * file called LICENSE.
20 *
21 * Contact Information:
22 * Intel Linux Wireless <ilw@linux.intel.com>
23 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
24 *
25 *****************************************************************************/
26
Johannes Bergbe1a71a2009-10-02 13:44:02 -070027#if !defined(__IWLWIFI_DEVICE_TRACE) || defined(TRACE_HEADER_MULTI_READ)
28#define __IWLWIFI_DEVICE_TRACE
29
30#include <linux/tracepoint.h>
Johannes Bergbe1a71a2009-10-02 13:44:02 -070031
Emmanuel Grumbach83ed9012011-08-25 23:11:14 -070032
Johannes Bergbe1a71a2009-10-02 13:44:02 -070033#if !defined(CONFIG_IWLWIFI_DEVICE_TRACING) || defined(__CHECKER__)
34#undef TRACE_EVENT
35#define TRACE_EVENT(name, proto, ...) \
36static inline void trace_ ## name(proto) {}
Johannes Berg2655e312012-01-31 21:08:37 -080037#undef DECLARE_EVENT_CLASS
38#define DECLARE_EVENT_CLASS(...)
39#undef DEFINE_EVENT
40#define DEFINE_EVENT(evt_class, name, proto, ...) \
41static inline void trace_ ## name(proto) {}
Johannes Bergbe1a71a2009-10-02 13:44:02 -070042#endif
43
Johannes Berg6c1011e2012-03-06 13:30:48 -080044#define DEV_ENTRY __string(dev, dev_name(dev))
45#define DEV_ASSIGN __assign_str(dev, dev_name(dev))
Johannes Bergbe1a71a2009-10-02 13:44:02 -070046
47#undef TRACE_SYSTEM
Johannes Berg0fd95af2009-11-20 12:05:02 -080048#define TRACE_SYSTEM iwlwifi_io
Johannes Bergbe1a71a2009-10-02 13:44:02 -070049
50TRACE_EVENT(iwlwifi_dev_ioread32,
Johannes Berg6c1011e2012-03-06 13:30:48 -080051 TP_PROTO(const struct device *dev, u32 offs, u32 val),
52 TP_ARGS(dev, offs, val),
Johannes Bergbe1a71a2009-10-02 13:44:02 -070053 TP_STRUCT__entry(
Johannes Berg6c1011e2012-03-06 13:30:48 -080054 DEV_ENTRY
Johannes Bergbe1a71a2009-10-02 13:44:02 -070055 __field(u32, offs)
56 __field(u32, val)
57 ),
58 TP_fast_assign(
Johannes Berg6c1011e2012-03-06 13:30:48 -080059 DEV_ASSIGN;
Johannes Bergbe1a71a2009-10-02 13:44:02 -070060 __entry->offs = offs;
61 __entry->val = val;
62 ),
Johannes Berg6c1011e2012-03-06 13:30:48 -080063 TP_printk("[%s] read io[%#x] = %#x",
64 __get_str(dev), __entry->offs, __entry->val)
Johannes Bergbe1a71a2009-10-02 13:44:02 -070065);
66
Ben Cahill4e031852009-11-20 12:04:52 -080067TRACE_EVENT(iwlwifi_dev_iowrite8,
Johannes Berg6c1011e2012-03-06 13:30:48 -080068 TP_PROTO(const struct device *dev, u32 offs, u8 val),
69 TP_ARGS(dev, offs, val),
Ben Cahill4e031852009-11-20 12:04:52 -080070 TP_STRUCT__entry(
Johannes Berg6c1011e2012-03-06 13:30:48 -080071 DEV_ENTRY
Ben Cahill4e031852009-11-20 12:04:52 -080072 __field(u32, offs)
73 __field(u8, val)
74 ),
75 TP_fast_assign(
Johannes Berg6c1011e2012-03-06 13:30:48 -080076 DEV_ASSIGN;
Ben Cahill4e031852009-11-20 12:04:52 -080077 __entry->offs = offs;
78 __entry->val = val;
79 ),
Johannes Berg6c1011e2012-03-06 13:30:48 -080080 TP_printk("[%s] write io[%#x] = %#x)",
81 __get_str(dev), __entry->offs, __entry->val)
Ben Cahill4e031852009-11-20 12:04:52 -080082);
83
Johannes Bergbe1a71a2009-10-02 13:44:02 -070084TRACE_EVENT(iwlwifi_dev_iowrite32,
Johannes Berg6c1011e2012-03-06 13:30:48 -080085 TP_PROTO(const struct device *dev, u32 offs, u32 val),
86 TP_ARGS(dev, offs, val),
Johannes Bergbe1a71a2009-10-02 13:44:02 -070087 TP_STRUCT__entry(
Johannes Berg6c1011e2012-03-06 13:30:48 -080088 DEV_ENTRY
Johannes Bergbe1a71a2009-10-02 13:44:02 -070089 __field(u32, offs)
90 __field(u32, val)
91 ),
92 TP_fast_assign(
Johannes Berg6c1011e2012-03-06 13:30:48 -080093 DEV_ASSIGN;
Johannes Bergbe1a71a2009-10-02 13:44:02 -070094 __entry->offs = offs;
95 __entry->val = val;
96 ),
Johannes Berg6c1011e2012-03-06 13:30:48 -080097 TP_printk("[%s] write io[%#x] = %#x)",
98 __get_str(dev), __entry->offs, __entry->val)
Johannes Bergbe1a71a2009-10-02 13:44:02 -070099);
100
Johannes Bergb80667e2011-12-09 07:26:13 -0800101TRACE_EVENT(iwlwifi_dev_irq,
Johannes Berg6c1011e2012-03-06 13:30:48 -0800102 TP_PROTO(const struct device *dev),
103 TP_ARGS(dev),
Johannes Bergb80667e2011-12-09 07:26:13 -0800104 TP_STRUCT__entry(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800105 DEV_ENTRY
Johannes Bergb80667e2011-12-09 07:26:13 -0800106 ),
107 TP_fast_assign(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800108 DEV_ASSIGN;
Johannes Bergb80667e2011-12-09 07:26:13 -0800109 ),
110 /* TP_printk("") doesn't compile */
111 TP_printk("%d", 0)
112);
113
114TRACE_EVENT(iwlwifi_dev_ict_read,
Johannes Berg6c1011e2012-03-06 13:30:48 -0800115 TP_PROTO(const struct device *dev, u32 index, u32 value),
116 TP_ARGS(dev, index, value),
Johannes Bergb80667e2011-12-09 07:26:13 -0800117 TP_STRUCT__entry(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800118 DEV_ENTRY
Johannes Bergb80667e2011-12-09 07:26:13 -0800119 __field(u32, index)
120 __field(u32, value)
121 ),
122 TP_fast_assign(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800123 DEV_ASSIGN;
Johannes Bergb80667e2011-12-09 07:26:13 -0800124 __entry->index = index;
125 __entry->value = value;
126 ),
Johannes Berg6c1011e2012-03-06 13:30:48 -0800127 TP_printk("[%s] read ict[%d] = %#.8x",
128 __get_str(dev), __entry->index, __entry->value)
Johannes Bergb80667e2011-12-09 07:26:13 -0800129);
130
Johannes Berg0fd95af2009-11-20 12:05:02 -0800131#undef TRACE_SYSTEM
Wey-Yi Guya9e1cb62009-12-10 14:37:26 -0800132#define TRACE_SYSTEM iwlwifi_ucode
133
134TRACE_EVENT(iwlwifi_dev_ucode_cont_event,
Johannes Berg6c1011e2012-03-06 13:30:48 -0800135 TP_PROTO(const struct device *dev, u32 time, u32 data, u32 ev),
136 TP_ARGS(dev, time, data, ev),
Wey-Yi Guya9e1cb62009-12-10 14:37:26 -0800137 TP_STRUCT__entry(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800138 DEV_ENTRY
Wey-Yi Guya9e1cb62009-12-10 14:37:26 -0800139
140 __field(u32, time)
141 __field(u32, data)
142 __field(u32, ev)
143 ),
144 TP_fast_assign(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800145 DEV_ASSIGN;
Wey-Yi Guya9e1cb62009-12-10 14:37:26 -0800146 __entry->time = time;
147 __entry->data = data;
148 __entry->ev = ev;
149 ),
Johannes Berg6c1011e2012-03-06 13:30:48 -0800150 TP_printk("[%s] EVT_LOGT:%010u:0x%08x:%04u",
151 __get_str(dev), __entry->time, __entry->data, __entry->ev)
Wey-Yi Guya9e1cb62009-12-10 14:37:26 -0800152);
153
154TRACE_EVENT(iwlwifi_dev_ucode_wrap_event,
Johannes Berg6c1011e2012-03-06 13:30:48 -0800155 TP_PROTO(const struct device *dev, u32 wraps, u32 n_entry, u32 p_entry),
156 TP_ARGS(dev, wraps, n_entry, p_entry),
Wey-Yi Guya9e1cb62009-12-10 14:37:26 -0800157 TP_STRUCT__entry(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800158 DEV_ENTRY
Wey-Yi Guya9e1cb62009-12-10 14:37:26 -0800159
160 __field(u32, wraps)
161 __field(u32, n_entry)
162 __field(u32, p_entry)
163 ),
164 TP_fast_assign(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800165 DEV_ASSIGN;
Wey-Yi Guya9e1cb62009-12-10 14:37:26 -0800166 __entry->wraps = wraps;
167 __entry->n_entry = n_entry;
168 __entry->p_entry = p_entry;
169 ),
Johannes Berg6c1011e2012-03-06 13:30:48 -0800170 TP_printk("[%s] wraps=#%02d n=0x%X p=0x%X",
171 __get_str(dev), __entry->wraps, __entry->n_entry,
Wey-Yi Guya9e1cb62009-12-10 14:37:26 -0800172 __entry->p_entry)
173);
174
175#undef TRACE_SYSTEM
Johannes Berg2655e312012-01-31 21:08:37 -0800176#define TRACE_SYSTEM iwlwifi_msg
177
178#define MAX_MSG_LEN 100
179
180DECLARE_EVENT_CLASS(iwlwifi_msg_event,
181 TP_PROTO(struct va_format *vaf),
182 TP_ARGS(vaf),
183 TP_STRUCT__entry(
184 __dynamic_array(char, msg, MAX_MSG_LEN)
185 ),
186 TP_fast_assign(
187 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
188 MAX_MSG_LEN, vaf->fmt,
189 *vaf->va) >= MAX_MSG_LEN);
190 ),
191 TP_printk("%s", (char *)__get_dynamic_array(msg))
192);
193
194DEFINE_EVENT(iwlwifi_msg_event, iwlwifi_err,
195 TP_PROTO(struct va_format *vaf),
196 TP_ARGS(vaf)
197);
198
199DEFINE_EVENT(iwlwifi_msg_event, iwlwifi_warn,
200 TP_PROTO(struct va_format *vaf),
201 TP_ARGS(vaf)
202);
203
204DEFINE_EVENT(iwlwifi_msg_event, iwlwifi_info,
205 TP_PROTO(struct va_format *vaf),
206 TP_ARGS(vaf)
207);
208
209DEFINE_EVENT(iwlwifi_msg_event, iwlwifi_crit,
210 TP_PROTO(struct va_format *vaf),
211 TP_ARGS(vaf)
212);
213
214TRACE_EVENT(iwlwifi_dbg,
215 TP_PROTO(u32 level, bool in_interrupt, const char *function,
216 struct va_format *vaf),
217 TP_ARGS(level, in_interrupt, function, vaf),
218 TP_STRUCT__entry(
219 __field(u32, level)
220 __field(u8, in_interrupt)
221 __string(function, function)
222 __dynamic_array(char, msg, MAX_MSG_LEN)
223 ),
224 TP_fast_assign(
225 __entry->level = level;
226 __entry->in_interrupt = in_interrupt;
227 __assign_str(function, function);
228 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
229 MAX_MSG_LEN, vaf->fmt,
230 *vaf->va) >= MAX_MSG_LEN);
231 ),
232 TP_printk("%s", (char *)__get_dynamic_array(msg))
233);
234
235#undef TRACE_SYSTEM
Johannes Berg0fd95af2009-11-20 12:05:02 -0800236#define TRACE_SYSTEM iwlwifi
237
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700238TRACE_EVENT(iwlwifi_dev_hcmd,
Johannes Berg6c1011e2012-03-06 13:30:48 -0800239 TP_PROTO(const struct device *dev, u32 flags,
Johannes Berg4ce7cc22011-05-13 11:57:40 -0700240 const void *hcmd0, size_t len0,
241 const void *hcmd1, size_t len1,
242 const void *hcmd2, size_t len2),
Johannes Berg6c1011e2012-03-06 13:30:48 -0800243 TP_ARGS(dev, flags, hcmd0, len0, hcmd1, len1, hcmd2, len2),
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700244 TP_STRUCT__entry(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800245 DEV_ENTRY
Johannes Berg4ce7cc22011-05-13 11:57:40 -0700246 __dynamic_array(u8, hcmd0, len0)
247 __dynamic_array(u8, hcmd1, len1)
248 __dynamic_array(u8, hcmd2, len2)
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700249 __field(u32, flags)
250 ),
251 TP_fast_assign(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800252 DEV_ASSIGN;
Johannes Berg4ce7cc22011-05-13 11:57:40 -0700253 memcpy(__get_dynamic_array(hcmd0), hcmd0, len0);
254 memcpy(__get_dynamic_array(hcmd1), hcmd1, len1);
255 memcpy(__get_dynamic_array(hcmd2), hcmd2, len2);
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700256 __entry->flags = flags;
257 ),
Johannes Berg6c1011e2012-03-06 13:30:48 -0800258 TP_printk("[%s] hcmd %#.2x (%ssync)",
259 __get_str(dev), ((u8 *)__get_dynamic_array(hcmd0))[0],
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700260 __entry->flags & CMD_ASYNC ? "a" : "")
261);
262
263TRACE_EVENT(iwlwifi_dev_rx,
Johannes Berg6c1011e2012-03-06 13:30:48 -0800264 TP_PROTO(const struct device *dev, void *rxbuf, size_t len),
265 TP_ARGS(dev, rxbuf, len),
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700266 TP_STRUCT__entry(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800267 DEV_ENTRY
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700268 __dynamic_array(u8, rxbuf, len)
269 ),
270 TP_fast_assign(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800271 DEV_ASSIGN;
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700272 memcpy(__get_dynamic_array(rxbuf), rxbuf, len);
273 ),
Johannes Berg6c1011e2012-03-06 13:30:48 -0800274 TP_printk("[%s] RX cmd %#.2x",
275 __get_str(dev), ((u8 *)__get_dynamic_array(rxbuf))[4])
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700276);
277
278TRACE_EVENT(iwlwifi_dev_tx,
Johannes Berg6c1011e2012-03-06 13:30:48 -0800279 TP_PROTO(const struct device *dev, void *tfd, size_t tfdlen,
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700280 void *buf0, size_t buf0_len,
281 void *buf1, size_t buf1_len),
Johannes Berg6c1011e2012-03-06 13:30:48 -0800282 TP_ARGS(dev, tfd, tfdlen, buf0, buf0_len, buf1, buf1_len),
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700283 TP_STRUCT__entry(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800284 DEV_ENTRY
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700285
286 __field(size_t, framelen)
287 __dynamic_array(u8, tfd, tfdlen)
288
289 /*
290 * Do not insert between or below these items,
291 * we want to keep the frame together (except
292 * for the possible padding).
293 */
294 __dynamic_array(u8, buf0, buf0_len)
295 __dynamic_array(u8, buf1, buf1_len)
296 ),
297 TP_fast_assign(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800298 DEV_ASSIGN;
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700299 __entry->framelen = buf0_len + buf1_len;
300 memcpy(__get_dynamic_array(tfd), tfd, tfdlen);
301 memcpy(__get_dynamic_array(buf0), buf0, buf0_len);
Johannes Berge95b7432010-08-06 16:00:48 +0200302 memcpy(__get_dynamic_array(buf1), buf1, buf1_len);
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700303 ),
Johannes Berg6c1011e2012-03-06 13:30:48 -0800304 TP_printk("[%s] TX %.2x (%zu bytes)",
305 __get_str(dev), ((u8 *)__get_dynamic_array(buf0))[0],
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700306 __entry->framelen)
307);
308
309TRACE_EVENT(iwlwifi_dev_ucode_error,
Johannes Berg6c1011e2012-03-06 13:30:48 -0800310 TP_PROTO(const struct device *dev, u32 desc, u32 tsf_low,
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700311 u32 data1, u32 data2, u32 line, u32 blink1,
Wey-Yi Guy50650542011-05-04 16:56:52 -0700312 u32 blink2, u32 ilink1, u32 ilink2, u32 bcon_time,
313 u32 gp1, u32 gp2, u32 gp3, u32 ucode_ver, u32 hw_ver,
314 u32 brd_ver),
Johannes Berg6c1011e2012-03-06 13:30:48 -0800315 TP_ARGS(dev, desc, tsf_low, data1, data2, line,
Wey-Yi Guy50650542011-05-04 16:56:52 -0700316 blink1, blink2, ilink1, ilink2, bcon_time, gp1, gp2,
317 gp3, ucode_ver, hw_ver, brd_ver),
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700318 TP_STRUCT__entry(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800319 DEV_ENTRY
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700320 __field(u32, desc)
Wey-Yi Guy50650542011-05-04 16:56:52 -0700321 __field(u32, tsf_low)
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700322 __field(u32, data1)
323 __field(u32, data2)
324 __field(u32, line)
325 __field(u32, blink1)
326 __field(u32, blink2)
327 __field(u32, ilink1)
328 __field(u32, ilink2)
Wey-Yi Guy50650542011-05-04 16:56:52 -0700329 __field(u32, bcon_time)
330 __field(u32, gp1)
331 __field(u32, gp2)
332 __field(u32, gp3)
333 __field(u32, ucode_ver)
334 __field(u32, hw_ver)
335 __field(u32, brd_ver)
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700336 ),
337 TP_fast_assign(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800338 DEV_ASSIGN;
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700339 __entry->desc = desc;
Wey-Yi Guy50650542011-05-04 16:56:52 -0700340 __entry->tsf_low = tsf_low;
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700341 __entry->data1 = data1;
342 __entry->data2 = data2;
343 __entry->line = line;
344 __entry->blink1 = blink1;
345 __entry->blink2 = blink2;
346 __entry->ilink1 = ilink1;
347 __entry->ilink2 = ilink2;
Wey-Yi Guy50650542011-05-04 16:56:52 -0700348 __entry->bcon_time = bcon_time;
349 __entry->gp1 = gp1;
350 __entry->gp2 = gp2;
351 __entry->gp3 = gp3;
352 __entry->ucode_ver = ucode_ver;
353 __entry->hw_ver = hw_ver;
354 __entry->brd_ver = brd_ver;
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700355 ),
Johannes Berg6c1011e2012-03-06 13:30:48 -0800356 TP_printk("[%s] #%02d %010u data 0x%08X 0x%08X line %u, "
Wey-Yi Guy50650542011-05-04 16:56:52 -0700357 "blink 0x%05X 0x%05X ilink 0x%05X 0x%05X "
358 "bcon_tm %010u gp 0x%08X 0x%08X 0x%08X uCode 0x%08X "
359 "hw 0x%08X brd 0x%08X",
Johannes Berg6c1011e2012-03-06 13:30:48 -0800360 __get_str(dev), __entry->desc, __entry->tsf_low,
Wey-Yi Guy50650542011-05-04 16:56:52 -0700361 __entry->data1,
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700362 __entry->data2, __entry->line, __entry->blink1,
Wey-Yi Guy50650542011-05-04 16:56:52 -0700363 __entry->blink2, __entry->ilink1, __entry->ilink2,
364 __entry->bcon_time, __entry->gp1, __entry->gp2,
365 __entry->gp3, __entry->ucode_ver, __entry->hw_ver,
366 __entry->brd_ver)
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700367);
368
369TRACE_EVENT(iwlwifi_dev_ucode_event,
Johannes Berg6c1011e2012-03-06 13:30:48 -0800370 TP_PROTO(const struct device *dev, u32 time, u32 data, u32 ev),
371 TP_ARGS(dev, time, data, ev),
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700372 TP_STRUCT__entry(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800373 DEV_ENTRY
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700374
375 __field(u32, time)
376 __field(u32, data)
377 __field(u32, ev)
378 ),
379 TP_fast_assign(
Johannes Berg6c1011e2012-03-06 13:30:48 -0800380 DEV_ASSIGN;
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700381 __entry->time = time;
382 __entry->data = data;
383 __entry->ev = ev;
384 ),
Johannes Berg6c1011e2012-03-06 13:30:48 -0800385 TP_printk("[%s] EVT_LOGT:%010u:0x%08x:%04u",
386 __get_str(dev), __entry->time, __entry->data, __entry->ev)
Johannes Bergbe1a71a2009-10-02 13:44:02 -0700387);
388#endif /* __IWLWIFI_DEVICE_TRACE */
389
390#undef TRACE_INCLUDE_PATH
391#define TRACE_INCLUDE_PATH .
392#undef TRACE_INCLUDE_FILE
393#define TRACE_INCLUDE_FILE iwl-devtrace
394#include <trace/define_trace.h>