intel_pt_step_psb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… intel_pt_step_psb β€” a little field guide

okay so bestie, welcome to the Kernel API Manual entry for intel_pt_step_psb, section 9. yes that's the whole vibe. buckle up πŸŽ€


✨ NAME ✨

intel_pt_step_psb β€” move that buffer pointer to the start of the following PSB packet. literally its whole job. no cap. πŸ¦‹


🌸 SYNOPSIS 🌸

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

look at her. so small. so powerful. πŸ‘‘


🧚 ARGUMENTS 🧚

  • buf β€” a pointer to a buffer pointer. yes, a double pointer. she's pointing at a pointer, we love a layered queen πŸ’…
  • len β€” size of buffer. the size. of the buffer. iykyk 🌈

πŸ’– DESCRIPTION πŸ’–

so what she does is: she updates the buffer pointer so it points at the start of the following PSB packet β€” and important detail, she's skipping the PSB that's sitting at buf itself, if there is one. if there isn't one? the buffer pointer just stays exactly where it was. unchanged. no movement. we respect the vibe check πŸ”₯

and if buf does get updated, then len gets adjusted accordingly. they move together. main character energy, both of them ✨


⭐ RETURN ⭐

  • true β€” if a PSB packet is found πŸŽ‰
  • false β€” otherwise πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

their whole friend group honestly. go read them too 🫢


ngl the source line got snipped in the original, so here's the trace we've got: ./tools/perf/util/intel-pt-dec... β€” and it's dated October 2026. future-coded of her honestly. mwah, that's the whole page, periodt πŸ’œ
πŸ“¦ where this page comes from