diff options
| author | Steven Rostedt (Google) <[email protected]> | 2024-03-05 03:34:33 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2024-03-06 18:27:26 +0000 |
| commit | 095fe4891282be510af0db1b03587b512c0de31d (patch) | |
| tree | e1acce266710a4ae05b849543af2ca4e0c8dd56e /drivers/fpga/zynq-fpga.c | |
| parent | tracing: Limit trace_seq size to just 8K and not depend on architecture PAGE_... (diff) | |
| download | kernel-095fe4891282be510af0db1b03587b512c0de31d.tar.gz kernel-095fe4891282be510af0db1b03587b512c0de31d.zip | |
tracing: Limit trace_marker writes to just 4K
Limit the max print event of trace_marker to just 4K string size. This must
also be less than the amount that can be held by a trace_seq along with
the text that is before the output (like the task name, PID, CPU, state,
etc). As trace_seq is made to handle large events (some greater than 4K).
Make the max size of a trace_marker write event be 4K which is guaranteed
to fit in the trace_seq buffer.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Suggested-by: Linus Torvalds <[email protected]>
Reviewed-by: Mathieu Desnoyers <[email protected]>
Reviewed-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions
