STRUCT NVDIMM_PMU(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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