common_threshold_handler(9)
π common_threshold_handler(9) π
okay bestie, welcome to the Kernel API Manual πΈ this page is all about common_threshold_handler, the function that handles latency threshold overflow. it's giving kernel-core, no cap. π«Ά
β¨ NAME β¨
common_threshold_handler β handle latency threshold overflow
π¦ SYNOPSIS π¦
int common_threshold_handler (const struct osnoise_tool *tool );
π ARGUMENTS π
toolβ pointer to theosnoise_toolinstance containing trace contexts. lowkey crucial π
π DESCRIPTION π
so when this runs, it executes the configured threshold actions (e.g., saving trace, printing, sending signals). yes bestie, all the threshold-action main character energy β¨
if the continue flag is set (--on-threshold continue), it restarts the auxiliary trace instances to continue monitoring. so it's not just one-and-done, it keeps the vibe going π
π₯ RETURN π₯
0for success-1for error
that's the whole return situation, fr fr π
π SEE ALSO π
- Kernel file
./tools/tracing/rtla/src/common.c
okay bye bestie π«Ά source/version: ./tools/tracing/rtla/src Β· date: October 2026 Β· slay π
π¦ 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