STRUCT NVDIMM_PMU(9)
π
struct nvdimm_pmu(9) β Kernel API Manual π
okay bestie, this is the struct nvdimm_pmu(9) page from the Kernel API Manual, and itβs here to explain the data structure for the nvdimm perf driver. lowkey iconic. letβs get into it π«Άβ¨
πΈ NAME πΈ
struct nvdimm_pmu β data structure for nvdimm perf driver.
π¦ SYNOPSIS π¦
struct nvdimm_pmu {
struct pmu pmu;
struct device *dev;
int cpu;
struct hlist_node node;
enum cpuhp_state cpuhp_state;
struct cpumask arch_cpumask;
};
π Members π
pmuβ pmu data structure for nvdimm performance stats. slay πdevβ nvdimm device pointer.cpuβ designated cpu for counter access.nodeβ node for cpu hotplug notifier link.cpuhp_stateβ state for cpu hotplug notification.arch_cpumaskβ cpumask to get designated cpu for counter access.
π₯ SEE ALSO π₯
Kernel file ./include/linux/nd.h, plus these besties right here:
struct nd_namespace_common(9)struct nd_namespace_io(9)struct nd_namespace_pmem(9)nvdimm_read_bytes(9)nvdimm_write_bytes(9)
cute little sign-off: source/version is ./include/linux, date is October 2026, and this page is struct nvdimm_pmu(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