em_pd_get(9)
π em_pd_get(9) π
okay bestie, welcome to the em_pd_get(9) page from the Kernel API Manual β this is the lil kernel-API moment where we go find a deviceβs performance domain, and honestly? iconic. π¦β¨
πΈ NAME πΈ
em_pd_get β Return the performance domain for a device.
π SYNOPSIS π
struct em_perf_domain * em_pd_get (struct device *dev );
π§ ARGUMENTS π§
devβ Device to find the performance domain for ππ
β¨ DESCRIPTION β¨
so hereβs the tea: this returns the performance domain that dev belongs to. if it doesnβt exist? you get NULL, and thatβs literally it. periodt. π
π₯ SEE ALSO π₯
go check out these besties too, fr fr:
- Kernel file
./kernel/power/energy_model.c em_table_free(9)em_table_alloc(9)em_dev_compute_costs(9)em_dev_update_perf_domain(9)em_cpu_get(9)em_dev_register_perf_domain(9)em_dev_register_pd_no_update(9)em_dev_unregister_perf_domain(9)em_adjust_cpu_capacity(9)em_dev_update_chip_binning(9)em_update_performance_limits(9)
mwah π source vibes: ./kernel/power Β· date: October 2026 Β· star of the show: em_pd_get(9) ππ«Ά
π¦ 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