diff options
Diffstat (limited to 'include/trace/events/qla.h')
| -rw-r--r-- | include/trace/events/qla.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/trace/events/qla.h b/include/trace/events/qla.h index 5857cf682ee7..8800c35525a1 100644 --- a/include/trace/events/qla.h +++ b/include/trace/events/qla.h @@ -22,11 +22,11 @@ DECLARE_EVENT_CLASS(qla_log_event, TP_STRUCT__entry( __string(buf, buf) - __dynamic_array(char, msg, QLA_MSG_MAX) + __vstring(msg, vaf->fmt, vaf->va) ), TP_fast_assign( - __assign_str(buf, buf); - vsnprintf(__get_str(msg), QLA_MSG_MAX, vaf->fmt, *vaf->va); + __assign_str(buf); + __assign_vstr(msg, vaf->fmt, vaf->va); ), TP_printk("%s %s", __get_str(buf), __get_str(msg)) |
