i915_perf_destroy_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so this is the i915_perf_destroy_locked(9) page from the Kernel API Manual, and it does exactly what it says on the tin: destroy an i915 perf stream. Periodt πŸ’…


✨ SYNOPSIS ✨

The whole vibe is literally this one line, bestie:

void i915_perf_destroy_locked (struct i915_perf_stream *stream );

πŸŽ€ ARGUMENTS πŸŽ€

  • stream β€” an i915 perf stream. That's the one getting the cleanup treatment 🫢

πŸ’… DESCRIPTION πŸ’…

So i915_perf_destroy_locked() frees all resources associated with the given i915 perf stream, and it disables any associated data capture in the process. Cleanup queen energy, no cap ✨


🫢 NOTE 🫢

Heads up, bestie: the gt->perf.lock mutex has been taken to serialize with any non-file-operation driver hooks. That's the whole note β€” iconic lock behavior, iykyk πŸ”₯


🌈 SEE ALSO 🌈

The whole referenced squad, literally every single one:


okay that's a wrap, bestie πŸŽ€ this Kernel API Manual cutie comes from ./drivers/gpu/drm/i915, dated October 2026, and the page itself is i915_perf_destroy_locked(9). slay and goodbye πŸ’–πŸ‘‘

πŸ“¦ where this page comes from