intel_pt_next_psb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… intel_pt_next_psb(9) β€” like, the Kernel API Manual girlies know ✨

okay so bestie, welcome to the glow-up of intel_pt_next_psb, straight out of the Kernel API Manual (section 9, obvs β€” kernel API, not commands, we're fancy like that πŸŽ€).


✨ NAME ✨

intel_pt_next_psb β€” moves the buffer pointer to the start of the next PSB packet. literally its whole personality πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

bool intel_pt_next_psb (unsigned char **buf , size_t *len );

🌸 ARGUMENTS 🌸

  • buf β€” a pointer to the buffer pointer. yes bestie, a pointer to a pointer, we're going double pointer today πŸ‘‘
  • len β€” the size of the buffer

πŸ’« DESCRIPTION πŸ’«

so what it does: it updates the buffer pointer so it points to the start of the next PSB packet, if there is one. if there isn't one? the buffer pointer just stays exactly where it was, no drama, no notes πŸ™ˆ

and if buf does get updated, then len gets adjusted accordingly to match. they move together, ride or die 🀝


πŸ”₯ RETURN πŸ”₯

  • true β€” a PSB packet was found, slay πŸŽ‰
  • false β€” nope, no PSB packet, better luck next time πŸ’€

🧚 SEE ALSO 🧚

the whole friend group fr fr, iykyk πŸ’œ


mwah πŸ’‹ that's the whole page! sourced from ./tools/perf/util/intel-pt-dec... and dated October 2026 β€” go forth and find those PSB packets, bestie, you've got main character energy today 🌈⭐

πŸ“¦ where this page comes from