Files
linux/include/trace/events
Praveen Talari a9b2c446e3 serial: qcom-geni: trace: Drop redundant len field from geni_serial_data
The dynamic array stored in the ring buffer already carries its own
length in the array metadata. There is no need to also store it as a
separate scalar field in the entry struct.

Drop __field(unsigned int, len) and the corresponding __entry->len
assignment, and use __get_dynamic_array_len(data) in the TP_printk for
both the len=%u format argument and the __print_hex() size argument.
This saves 4 bytes per event on the ring buffer.

Signed-off-by: Praveen Talari <praveen.talari@oss.qualcomm.com>
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260615-add-tracepoints-for-qcom-geni-serial-v5-1-2efa4c97e0e2@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-07-10 14:41:04 +02:00
..
2026-06-02 15:22:29 -07:00
2026-06-22 19:52:34 +00:00
2025-08-26 17:34:31 -07:00
2024-05-08 10:39:26 +01:00
2023-12-29 11:58:27 -08:00
2023-07-17 08:18:17 -06:00
2025-07-09 22:41:55 -07:00
2024-05-14 07:22:35 -06:00
2024-09-11 20:44:31 -07:00
2025-09-13 16:55:07 -07:00
2025-11-14 17:05:53 +01:00
2024-09-28 15:13:56 +02:00
2025-11-04 08:32:14 +01:00
2026-03-31 16:47:17 +02:00
2025-04-11 18:58:10 -07:00
2025-10-27 11:10:50 +00:00
2023-07-17 08:18:17 -06:00