On Fri, 18 Nov 2022 18:21:12 +0800The v3 patch has been sent according to this solution.
Yang Jihong <yangjihong1@xxxxxxxxxx> wrote:
That way we can see the broken trace event and not just silently drop it.Ok, will change in next version.(Because iter->seq.seq.len may be
smaller than strlen(dots), direct subtraction here may not be appropriate.)
We should only need to do this if the len is maxed out.
Hmm, len is only updated if it did actually copy it.
Perhaps we could just add:
trace_seq_puts(&iter->seq, "[LINE TOO BIG]\n");