sysfs-bus-nvdimm 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. What: nvdimm
  2. Date: July 2020
  3. KernelVersion: 5.8
  4. Contact: Dan Williams <[email protected]>
  5. Description:
  6. The libnvdimm sub-system implements a common sysfs interface for
  7. platform nvdimm resources. See Documentation/driver-api/nvdimm/.
  8. What: /sys/bus/event_source/devices/nmemX/format
  9. Date: February 2022
  10. KernelVersion: 5.18
  11. Contact: Kajol Jain <[email protected]>
  12. Description: (RO) Attribute group to describe the magic bits
  13. that go into perf_event_attr.config for a particular pmu.
  14. (See ABI/testing/sysfs-bus-event_source-devices-format).
  15. Each attribute under this group defines a bit range of the
  16. perf_event_attr.config. Supported attribute is listed
  17. below::
  18. event = "config:0-4" - event ID
  19. For example::
  20. ctl_res_cnt = "event=0x1"
  21. What: /sys/bus/event_source/devices/nmemX/events
  22. Date: February 2022
  23. KernelVersion: 5.18
  24. Contact: Kajol Jain <[email protected]>
  25. Description: (RO) Attribute group to describe performance monitoring events
  26. for the nvdimm memory device. Each attribute in this group
  27. describes a single performance monitoring event supported by
  28. this nvdimm pmu. The name of the file is the name of the event.
  29. (See ABI/testing/sysfs-bus-event_source-devices-events). A
  30. listing of the events supported by a given nvdimm provider type
  31. can be found in Documentation/driver-api/nvdimm/$provider.
  32. What: /sys/bus/event_source/devices/nmemX/cpumask
  33. Date: February 2022
  34. KernelVersion: 5.18
  35. Contact: Kajol Jain <[email protected]>
  36. Description: (RO) This sysfs file exposes the cpumask which is designated to
  37. to retrieve nvdimm pmu event counter data.