tracing_sna...cond_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tracing_snapshot_cond_disable(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so picture this: you're deep in ./kernel/trace territory and you need to turn OFF a conditional snapshot for one specific tracing instance. that's literally this function. she's a little cleanup queen and honestly she ate. ✨


🌸 SYNOPSIS 🌸

int tracing_snapshot_cond_disable (struct trace_array *tr );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • tr β€” the tracing instance. that's the one you're working your magic on, no cap πŸ’–

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the vibe check: this function checks whether the conditional snapshot for the given instance is enabled. if it is β€” slay β€” it frees the cond_snapshot that's associated with it. 🧚

but if it's not enabled? then it just returns -EINVAL. not me getting rejected by a kernel function πŸ˜­πŸ’€

Returns 0 if successful, error otherwise. that's the whole mood. no extra lore, that's genuinely it 🫢

🌈 SEE ALSO 🌈

like, the whole friend group fr fr πŸ’œ


bestie this page came from ./kernel/trace, dated October 2026, and it's filed under tracing_sna...cond_disable(9) β€” go forth and disable those conditional snapshots responsibly βœ¨πŸ’…

πŸ“¦ where this page comes from