UNION HWMON_PMU_EVENT_KEY(9)
π union hwmon_pmu_event_key(9) π
okay so this is a page straight out of the Kernel API Manual, and bestie, it's about one tiny lil union that's doing main character energy in the hwmon world β¨
πΈ NAME πΈ
union hwmon_pmu_event_key β the key for hwmon_pmu->events, where every key represents an event, periodt π
And like, the union is exposed for testing so we can make sure no problems happen on big endian machines π (ngl, very responsible of it).
β¨ SYNOPSIS β¨
union hwmon_pmu_event_key {
long type_and_num;
struct {
int num :16;
enum hwmon_type type :8;
};
};
π¦ Members π¦
{unnamed_struct}β anonymous, no name, just vibes π
π Description π
The related hwmon files start with <type><number> β and that is literally what this key represents π
(iykyk)
π«Ά SEE ALSO π«Ά
- Kernel file
./tools/perf/util/hwmon_pmu.hπ enum hwmon_type(9)enum hwmon_item(9)parse_hwmon_filename(9)hwmon_pmu__new(9)
k bye bestie, this page came from ./tools/perf/util and it's dated October 2026 β iconic of it, honestly ππ
π¦ 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