auxtrace_record__init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… auxtrace_record__init(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual page for auxtrace_record__init(9) β€” yes the name is long, no cap, but it's literally the init vibe for an AUX area tracing record. πŸ¦‹


✨ NAME ✨

auxtrace_record__init β€” Initialize an AUX area tracing record. πŸ’–

🌸 SYNOPSIS 🌸

struct auxtrace_record * auxtrace_record__init (struct evlist *evlist ,
       int *err );

πŸŽ€ ARGUMENTS πŸŽ€

  • evlist β€” the list of events to check for AUX area tracing event. πŸ‘€
  • err β€” pointer to an integer to store return code. 🫢

🧚 DESCRIPTION 🧚

So this function looks through the evlist to determine which AUX area tracing hardware is being used, and then it initializes the auxtrace_record structure. That's the whole main-character move. ✨

πŸ”₯ RETURN πŸ”₯

  • a) A pointer to the struct auxtrace_record with err = 0 on success. Slay. πŸ’…
  • b) NULL with err = 0 if no AUX area tracing event is found/supported β€” and bestie, that is not considered an error. πŸ™ˆ
  • c) NULL with non-zero err on actual auxtrace_record__init failure. That's the real "oof" case. 😭

πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./tools/perf/util/auxtrace.c and struct auxtrace_cache(9).
🫢 cute sign-off: source/version is ./tools/perf/util, date is October 2026, and this page is auxtrace_record__init(9). bye bestie, go init something iconic! 🌈
πŸ“¦ where this page comes from