common_threshold_handler(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 the osnoise_tool instance 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 πŸ”₯

  • 0 for success
  • -1 for 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