STRUCT AUXTRACE_QUEUES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct auxtrace_queues(9) ✨

okay bestie so this is a page from the Kernel API Manual and honestly? it's giving "small struct, big responsibilities" πŸ’… no cap, it's literally just a container for a whole array of AUX area tracing queues, and we're gonna go through every single field together 🫢


🌸 NAME 🌸

struct auxtrace_queues β€” an array of AUX area tracing queues. that's it, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct auxtrace_queues {
    struct auxtrace_queue   *queue_array;
    unsigned int            nr_queues;
    bool new_data;
    bool populated;
    u64 next_buffer_nr;
 };

like… five members, zero drama, absolutely iconic ✨ (note: the original really does have that lil space before the closing brace, so we're keeping it, character for character, periodt πŸ’–)


πŸ‘‘ Members πŸ‘‘

  • queue_array β€” the actual array of queues. this is the main character right here, the whole reason this struct exists 🌈
  • nr_queues β€” how many queues we're working with. the count, the headcount, the "how many of y'all are there" number πŸ”₯
  • new_data β€” gets set whenever new data is queued. it's the lil notification bell of the struct πŸ””πŸ’€
  • populated β€” tells you the queues have been fully populated using the auxtrace_index. fully. completely. no crumbs left πŸ“
  • next_buffer_nr β€” used to number each buffer. it's the ticket dispenser at the deli counter, but make it u64 🎫✨

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./tools/perf/util/auxtrace.h β€” and then a whole friend group of structs, all of them linked below, iykyk:

  • struct itrace_synth_opts(9)
  • struct auxtrace_index_entry(9)
  • struct auxtrace_index(9)
  • struct auxtrace(9)
  • struct auxtrace_buffer(9)
  • struct auxtrace_queue(9)
  • struct auxtrace_heap_item(9)
  • struct auxtrace_heap(9)
  • struct auxtrace_mmap(9)
  • struct auxtrace_mmap_params(9)
  • struct auxtrace_record(9)
  • struct addr_filter(9)
  • struct addr_filters(9)

bestie go read all of them, they're literally all right there in the same header, no excuses 😀🫢


not me actually reading the kernel source for fun… anyway, this page lives under ./tools/perf/util and it's dated October 2026, so mark your calendars πŸ“…πŸ’–

that's the whole page, slay, bye πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from