hardlockup_c...g_perf_event(9)
π hardlockup_config_perf_event β Kernel API Manual π
okay so bestie, welcome to the Kernel API Manual, and today's main character is hardlockup_config_perf_event. yes it's a mouthful, no you're not gonna say it out loud, just vibe with it β¨
πΈ NAME πΈ
hardlockup_config_perf_event β overwrite the config of wd_hw_attr. that's it, that's the whole job. it just. replaces the config. iconic behavior honestly π
β¨ SYNOPSIS β¨
void hardlockup_config_perf_event (const char *str );
like, that's the whole signature. no return value, no drama, just vibes and a const char *. π¦
π«Ά ARGUMENTS π«Ά
strβ a number that identifies the raw perf event to use π₯ like, it comes in as a string, but it's giving "number that identifies the raw perf event." that's the assignment, that's what it does, no cap.
π SEE ALSO π
the whole friend group, fr fr β these are all in the kernel file ./kernel/watchdog_perf.c:
watchdog_hardlockup_enable(9)watchdog_hardlockup_disable(9)hardlockup_detector_perf_adjust_period(9)hardlockup_detector_perf_stop(9)hardlockup_detector_perf_restart(9)watchdog_hardlockup_probe(9)
go read those too, bestie, they're literally the rest of the lore ππ
lowkey a tiny page but highkey every detail is here, so we ate. ππ
anyway that's the whole manual, mwah π this lil page lives in ./kernel and it's dated October 2026, so yeah, she's from the future and she's still serving β¨π periodt.
π¦ 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