Back to home page

OSCL-LXR

 
 

    


0001 What:          nvdimm
0002 Date:          July 2020
0003 KernelVersion: 5.8
0004 Contact:       Dan Williams <dan.j.williams@intel.com>
0005 Description:
0006 
0007 The libnvdimm sub-system implements a common sysfs interface for
0008 platform nvdimm resources. See Documentation/driver-api/nvdimm/.
0009 
0010 What:           /sys/bus/event_source/devices/nmemX/format
0011 Date:           February 2022
0012 KernelVersion:  5.18
0013 Contact:        Kajol Jain <kjain@linux.ibm.com>
0014 Description:    (RO) Attribute group to describe the magic bits
0015                 that go into perf_event_attr.config for a particular pmu.
0016                 (See ABI/testing/sysfs-bus-event_source-devices-format).
0017 
0018                 Each attribute under this group defines a bit range of the
0019                 perf_event_attr.config. Supported attribute is listed
0020                 below::
0021                   event  = "config:0-4"  - event ID
0022 
0023                 For example::
0024                         ctl_res_cnt = "event=0x1"
0025 
0026 What:           /sys/bus/event_source/devices/nmemX/events
0027 Date:           February 2022
0028 KernelVersion:  5.18
0029 Contact:        Kajol Jain <kjain@linux.ibm.com>
0030 Description:    (RO) Attribute group to describe performance monitoring events
0031                 for the nvdimm memory device. Each attribute in this group
0032                 describes a single performance monitoring event supported by
0033                 this nvdimm pmu.  The name of the file is the name of the event.
0034                 (See ABI/testing/sysfs-bus-event_source-devices-events). A
0035                 listing of the events supported by a given nvdimm provider type
0036                 can be found in Documentation/driver-api/nvdimm/$provider.
0037 
0038 What:          /sys/bus/event_source/devices/nmemX/cpumask
0039 Date:          February 2022
0040 KernelVersion:  5.18
0041 Contact:        Kajol Jain <kjain@linux.ibm.com>
0042 Description:    (RO) This sysfs file exposes the cpumask which is designated to
0043                 to retrieve nvdimm pmu event counter data.