trace_seq_bitmask(9)
π trace_seq_bitmask β the Kernel API Manual glow-up
okay bestie, welcome to trace_seq_bitmask</p> from the Kernel API Manual β section 9, kernel devs only, no cap β¨
πΈ NAME πΈ
trace_seq_bitmask β write a bitmask array in its ASCII representation
like, it takes your bits and turns them into a cute little string of characters. it's giving translator energy π¦
π SYNOPSIS π
void trace_seq_bitmask (struct trace_seq *s , const unsigned long *maskp
, int nmaskbits );
so you're calling trace_seq_bitmask, you're passing it a struct trace_seq *s, a const unsigned long *maskp, and an int nmaskbits. it returns void, which means it literally gives nothing back β main character who doesn't do returns π
β¨ ARGUMENTS β¨
sβ the trace sequence descriptor. that's the destination babe, the place where the output goes π«Άmaskpβ points to an array ofunsigned longs that represent a bitmask. so it's a pointer, to an array, of unsigned longs, that's the bitmask. yes all of that. iykyk π§nmaskbitsβ the number of bits that are valid inmaskp. like how many of them actually count. the rest? not invited to the party π
π DESCRIPTION π
Writes a ASCII representation of a bitmask string into s.
that's it, that's the whole vibe. bitmask goes in, ASCII representation comes out, and it lands in s. iconic behavior honestly π
β οΈ quick note bestie: the original says "a ASCII" not "an ASCII". we do not fix the manpage grammar, we simply report it. heritage π
π SEE ALSO π
Kernel file ./kernel/trace/trace_seq.c β and its whole friend group:
trace_print_seq(9)trace_seq_printf(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)
literally the entire trace_seq squad, all in ./kernel/trace. go say hi π
π sign-off π
and that's the page!! brought to you from ./kernel/trace, dated October 2026, straight out of the Kernel API Manual. slay, study it, cite it, periodt π
β¨π
π¦ 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