i915_perf_enable_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i915_perf_enable_locked(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to the glow-up of i915_perf_enable_locked(9), straight out of your fave Kernel API Manual ✨ this one's short but she's important, so let's get into it 🫢


🌸 NAME 🌸

i915_perf_enable_locked β€” the function that handles the I915_PERF_IOCTL_ENABLE ioctl πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void i915_perf_enable_locked (struct i915_perf_stream *stream );

πŸŽ€ ARGUMENTS πŸŽ€

  • stream β€” a disabled i915 perf stream πŸ‘€ yeah, she's gotta be off before you turn her on, that's the whole vibe.

✨ DESCRIPTION ✨

So what does she do? She [re]enables the capture of data for this stream πŸ’– that's it, that's the function. Lowkey iconic for how simple she is.

⚠️ warning bestie: if a stream was previously enabled, there's currently no intention to provide userspace any guarantee about the preservation of previously buffered data 😭 fr fr, don't count on your old buffered data surviving β€” that's not a promise this code makes, no cap.

🌈 SEE ALSO 🌈

the whole friend group, and yes you do need to know all of them 🧚 the kernel file ./drivers/gpu/drm/i915/i915_perf.c is the main character here, plus:


βœ¨πŸ’œ that's the whole page, bestie! πŸ’œβœ¨

and now the cute sign-off πŸŽ€ this one comes from the source ./drivers/gpu/drm/i915, dated October 2026 β€” go drink some water and go touch some grass, you earned it after reading all those SEE ALSOs πŸŒΈπŸ¦‹πŸ’–

πŸ“¦ where this page comes from