trace_seq_path(9)
β¨ trace_seq_path(9) β¨
okay so bestie, welcome to the Kernel API Manual π
this page is literally all about trace_seq_path(9) and it's gonna be so good, i promise π«Ά
πΈ NAME πΈ
trace_seq_path β copy a path into the sequence buffer π
π¦ SYNOPSIS π¦
int trace_seq_path (struct trace_seq *s , const struct path *path );
like, that's the whole signature, no cap β¨
π ARGUMENTS π
sβ the trace sequence descriptor π§pathβ the path you wanna write into the sequence buffer πΈ
π DESCRIPTION π
okay so basically: you write a path name into the sequence buffer. that's the vibe β¨
now for the returns, because this part is lowkey important π
- Returns
1if we successfully wrote all the contents to the buffer π₯ slay, ate, no crumbs - Returns
0if the length we need to write is bigger than the reserved buffer space π in this case, nothing gets written. like, nothing at all. the buffer stays untouched, bestie π
real talk: that 0 return is your lil heads-up that your path didn't fit, and since nothing gets written, don't go assuming half of it made it in π
π SEE ALSO π
kernel file ./kernel/trace/trace_seq.c, plus the whole squad:
trace_print_seq(9)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_to_user(9)
go read them, they're iconic too π
and that's the page!! mwah π this lil beauty comes from ./kernel/trace, dated October 2026, and it's trace_seq_path(9) β main character energy from start to finish πβπ
π¦ 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