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

Commit 9047e4ad authored by Johannes Berg's avatar Johannes Berg
Browse files

iwlwifi: use __get_str in tracing



Instead of using (char *)__get_dynamic_array use
__get_str. The latter is actually a macro that
expands to the former in the code, but trace-cmd
in userspace can parse __get_str only.

Reviewed-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent f7546c76
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -298,7 +298,7 @@ TRACE_EVENT(iwlwifi_dbg,
				       MAX_MSG_LEN, vaf->fmt,
				       *vaf->va) >= MAX_MSG_LEN);
	),
	TP_printk("%s", (char *)__get_dynamic_array(msg))
	TP_printk("%s", __get_str(msg))
);

#undef TRACE_SYSTEM