summaryrefslogtreecommitdiffstats
tag nametrace-v5.14-3 (7217c1cf4cd4c5f22e7b3bd641a594bbe7b7c8e1)
tag date2021-07-13 16:59:43 -0400
tagged bySteven Rostedt (VMware) <rostedt@goodmis.org>
tagged objectcommit ac58f4f283...
downloadlinux-trace-trace-v5.14-3.tar.gz
tracing: Add __string_len() and __assign_str_len() helpers
Add macros for the TRACE_EVENT() macro that can be used to assign strings that either need to be truncated, or have no nul terminator, and depends on a length attribute to assign. -----BEGIN PGP SIGNATURE----- iIoEABYIADIWIQRRSw7ePDh/lE+zeZMp5XQQmuv6qgUCYO3/GhQccm9zdGVkdEBn b29kbWlzLm9yZwAKCRAp5XQQmuv6qgbyAP0VBPJGv9FPvr8lTojgHdV10ei8ptXq C9+o3BvTSDlfMgD+NY5apKeKF7dRXdrCUjfuVwiDEmV/9eLvKKKBU6WnSgw= =acbf -----END PGP SIGNATURE-----