mac80211: add device_timestamp to the drv_pre_channel_switch trace
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 7 Nov 2014 13:28:34 +0000 (15:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 10 Nov 2014 09:18:04 +0000 (10:18 +0100)
The device_timestamp value was left out of the event trace for
drv_pre_channel_switch by mistake.  Add it.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/trace.h

index 809a4983eb4a7e553621d1687f462b6eb5ecd773..96847e78848875983f098e738f60b6195e4b1550 100644 (file)
@@ -2140,6 +2140,7 @@ TRACE_EVENT(drv_pre_channel_switch,
                VIF_ENTRY
                CHANDEF_ENTRY
                __field(u64, timestamp)
+               __field(u32, device_timestamp)
                __field(bool, block_tx)
                __field(u8, count)
        ),
@@ -2149,6 +2150,7 @@ TRACE_EVENT(drv_pre_channel_switch,
                VIF_ASSIGN;
                CHANDEF_ASSIGN(&ch_switch->chandef)
                __entry->timestamp = ch_switch->timestamp;
+               __entry->device_timestamp = ch_switch->device_timestamp;
                __entry->block_tx = ch_switch->block_tx;
                __entry->count = ch_switch->count;
        ),
This page took 0.026974 seconds and 5 git commands to generate.