trace_print_seq(9)
πΈ NAME πΈ
okay so trace_print_seq is the function we're talking about, and this page is from the Kernel API Manual, bestie π. Its whole job: move the contents of trace_seq into a seq_file. That's it. That's the vibe. main character energy for a tiny little function, ngl β¨.
π¦ SYNOPSIS π¦
int trace_print_seq (struct seq_file *m , struct trace_seq *s );
π ARGUMENTS π
mβ theseq_filedescriptor that is the destination. where the stuff is going π«Άsβ thetrace_seqdescriptor that is the source. where the stuff is coming from β¨
π DESCRIPTION π
Returns 0 on success and non zero on error. periodt π
If it succeeds to write to the seq_file it will reset the trace_seq. If it doesn't succeed? Then it does not modify the trace_seq β specifically to let the caller try again. no cap, that retry-friendliness is lowkey iconic π.
β¨ SEE ALSO β¨
Kernel file ./kernel/trace/trace_seq.c β and the whole trace_seq squad, fr fr π¦:
trace_seq_printf(9)trace_seq_bitmask(9)trace_seq_bitmask_list(9)trace_seq_vprintf(9)trace_seq_bprintf(9)trace_seq_puts(9)trace_seq_putc(9)trace_seq_putmem(9)trace_seq_putmem_hex(9)trace_seq_path(9)trace_seq_to_user(9)
π source/version: ./kernel/trace Β· date: October 2026 Β· bye bestie, go move those bytes π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms