mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-11 06:16:38 +07:00
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: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
f7546c76f7
commit
9047e4ad43
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user