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

Commit 127f10ec authored by Luciano Coelho's avatar Luciano Coelho Committed by Johannes Berg
Browse files

mac80211: add device_timestamp to the drv_pre_channel_switch trace



The device_timestamp value was left out of the event trace for
drv_pre_channel_switch by mistake.  Add it.

Signed-off-by: default avatarLuciano Coelho <luciano.coelho@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 000baa5d
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -2140,6 +2140,7 @@ TRACE_EVENT(drv_pre_channel_switch,
		VIF_ENTRY
		VIF_ENTRY
		CHANDEF_ENTRY
		CHANDEF_ENTRY
		__field(u64, timestamp)
		__field(u64, timestamp)
		__field(u32, device_timestamp)
		__field(bool, block_tx)
		__field(bool, block_tx)
		__field(u8, count)
		__field(u8, count)
	),
	),
@@ -2149,6 +2150,7 @@ TRACE_EVENT(drv_pre_channel_switch,
		VIF_ASSIGN;
		VIF_ASSIGN;
		CHANDEF_ASSIGN(&ch_switch->chandef)
		CHANDEF_ASSIGN(&ch_switch->chandef)
		__entry->timestamp = ch_switch->timestamp;
		__entry->timestamp = ch_switch->timestamp;
		__entry->device_timestamp = ch_switch->device_timestamp;
		__entry->block_tx = ch_switch->block_tx;
		__entry->block_tx = ch_switch->block_tx;
		__entry->count = ch_switch->count;
		__entry->count = ch_switch->count;
	),
	),