print_wakeup_source_stats(9)
π print_wakeup_source_stats(9) β the Kernel API Manual page you've been waiting for β¨
okay so you found the print_wakeup_source_stats(9) page in the Kernel API Manual, and honestly? good for you bestie, this one's a little cutie. it's the function that literally just prints out wakeup source statistics info. no cap. that's the whole vibe. πΈ
β¨ NAME β¨
print_wakeup_source_stats β Print wakeup source statistics information.
like... she tells you the stats. that's her job. she's not complicated and we love that for her. π«Ά
π SYNOPSIS π
int print_wakeup_source_stats (struct seq_file *m , struct wakeup_source *ws );
two arguments, returns an int. tidy. iconic. no notes. π
π ARGUMENTS π
mβ theseq_fileyou want the statistics printed into. it's the destination, the canvas, the little container where the stats go to live β¨wsβ the wakeup source object you're printing the statistics for. this is the main character of the operation π
π¦ SEE ALSO π¦
fr fr there is a whole friend group here, and they all live in the kernel file ./drivers/base/power/wakeup.c. say hi to:
wakeup_source_create(9)wakeup_source_destroy(9)wakeup_source_add(9)wakeup_source_remove(9)wakeup_source_register(9)wakeup_source_unregister(9)wakeup_sources_read_lock(9)wakeup_sources_read_unlock(9)wakeup_sources_walk_start(9)wakeup_sources_walk_next(9)device_wakeup_attach(9)device_wakeup_enable(9)device_wakeup_attach_irq(9)device_wakeup_detach_irq(9)device_wakeup_arm_wake_irqs(9)device_wakeup_disarm_wake_irqs(9)device_wakeup_detach(9)device_wakeup_disable(9)device_set_wakeup_capable(9)device_set_wakeup_enable(9)wakeup_source_not_usable(9)wakeup_source_activate(9)wakeup_source_report_event(9)__pm_stay_awake(9)pm_stay_awake(9)wakeup_source_deactivate(9)__pm_relax(9)pm_relax(9)pm_wakeup_timer_fn(9)pm_wakeup_ws_event(9)pm_wakeup_dev_event(9)pm_wakeup_pending(9)pm_get_wakeup_count(9)pm_save_wakeup_count(9)pm_wakep_autosleep_enabled(9)wakeup_sources_stats_seq_show(9)bpf_wakeup_sources_read_lock(9)bpf_wakeup_sources_read_unlock(9)bpf_wakeup_sources_get_head(9)
that's the whole roster π yes, all of them, i listed every single one, don't @ me.
and that's the page!! this lil moment of manual-page excellence came to you from ./drivers/base/power, dated October 2026 β screenshot it, frame it, put it on your wall πΌοΈπ mwah, love u, go read ur kernel source π§ββοΈβ¨
π¦ 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