intel_pt_fast_forward(9)
π intel_pt_fast_forward β like, the kernel API manual (section 9, bestie)
okay so real talk, this is intel_pt_fast_forward from the Kernel API Manual, section 9. yes, section 9. we love a numbered section. let's get into it β¨
π NAME π
intel_pt_fast_forward β reposition decoder forwards.
like literally just. scoot the decoder forward. that's the whole vibe. no cap. π¦
β¨ SYNOPSIS β¨
int intel_pt_fast_forward (struct intel_pt_decoder *decoder , uint64_t
timestamp );
that's the whole signature, character for character, don't @ me π
πΈ ARGUMENTS πΈ
decoderβ the Intel PT decoder. that's her. the main character. the one we're repositioning. πtimestampβ the timestamp we're fast forwarding towards. like the destination. the goal. the moment we're aiming at. β
π DESCRIPTION π
okay bestie here's the tea: this function repositions the decoder at the last PSB with a timestamp earlier than timestamp.
that's it. that's the whole function. she finds the right PSB, she parks the decoder there. iconic behavior honestly. π§
ngl the "earlier than" part matters β read it twice if you have to. earlier. not later. π
π₯ RETURN π₯
0on success. slay. π- a negative error code on failure. π not slay, but at least she tells you.
π SEE ALSO π
- Kernel file
./tools/perf/util/intel-pt-decoder/intel-pt-decoder.cβ go read the source, iykyk π«Ά intel_pt_next_psb(9)intel_pt_step_psb(9)intel_pt_last_psb(9)intel_pt_next_tsc(9)intel_pt_tsc_cmp(9)adj_for_padding(9)intel_pt_find_overlap_tsc(9)intel_pt_find_overlap(9)struct fast_forward_data(9)intel_pt_ff_cb(9)
like a whole friend group of functions fr fr π
mwah π this page came from ./tools/perf/util/intel-pt-dec..., dated October 2026, and she's living her best life in section 9. take care of her. π
π¦ 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