tracing_sna...cond_disable(9)
π 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 π
- the kernel file
./kernel/trace/trace_snapshot.cβ go read her, she's iconic π tracing_snapshot_cond(9)tracing_cond_snapshot_data(9)tracing_snapshot_alloc(9)tracing_snapshot_cond_enable(9)update_max_tr(9)update_max_tr_single(9)
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
- 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