intel_pt_ff_cb(9)
π intel_pt_ff_cb(9) β the Kernel API Manual, but make it make sense π
okay so bestie, welcome to the intel_pt_ff_cb(9) page β it's a kernel API manual entry, it's short, it's sweet, and by the end you're gonna know exactly what this little callback does. no cap. π¦
β¨ NAME β¨
intel_pt_ff_cb β the fast forward lookahead callback. literally what it says on the tin, she's the callback that checks the lookahead during a fast forward. π
πΈ SYNOPSIS πΈ
int intel_pt_ff_cb (struct intel_pt_buffer *buffer , void *data );
that's the whole signature, copy it exactly, don't @ me. β
π ARGUMENTS π
bufferβ Intel PT trace buffer. it's the trace data she's looking at, periodt. π§dataβ an opaque pointer to fast forward data, and yes it points atstruct fast_forward_data. opaque means don't peek, just pass it through bestie. π
π DESCRIPTION π
her whole job: figure out if buffer trace is past the fast forward timestamp. that's it. that's the task. she checks the trace, she looks at the timestamp, and she tells you which side of it you're on. main character energy fr fr. π₯
π RETURN π
1β stop lookahead, because thebuffertrace is past the fast forward timestamp. the search is over, go home. π0β otherwise. not past it yet, keep going. π
π«Ά SEE ALSO π«Ά
- the kernel file, exactly here:
./tools/perf/util/intel-pt-decoder/intel-pt-decoder.cβ that's where she lives 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_fast_forward(9)
like a whole friend group of intel-pt functions, and honestly? obsessed. π
ngl she's a tiny function with one job and she does it. no bugs noted here, no warnings, no drama β just a timestamp comparison and a1or a0. slay. β¨
and that's the page bestie!! π this gem comes from source ./tools/perf/util/intel-pt-dec... and she's dated October 2026 β put that in your calendar, mwah ππ
π¦ 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