~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 What:           /sys/bus/event_source/devices/hv_24x7/format
  2 Date:           September 2020
  3 Contact:        Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
  4 Description:    Read-only. Attribute group to describe the magic bits
  5                 that go into perf_event_attr.config for a particular pmu.
  6                 (See ABI/testing/sysfs-bus-event_source-devices-format).
  7 
  8                 Each attribute under this group defines a bit range of the
  9                 perf_event_attr.config. All supported attributes are listed
 10                 below::
 11 
 12                                 chip = "config:16-31"
 13                                 core  = "config:16-31"
 14                                 domain = "config:0-3"
 15                                 lpar = "config:0-15"
 16                                 offset = "config:32-63"
 17                                 vcpu = "config:16-31"
 18 
 19                 For example::
 20 
 21                   PM_PB_CYC =  "domain=1,offset=0x80,chip=?,lpar=0x0"
 22 
 23                 In this event, '?' after chip specifies that
 24                 this value will be provided by user while running this event.
 25 
 26 What:           /sys/bus/event_source/devices/hv_24x7/interface/catalog
 27 Date:           February 2014
 28 Contact:        Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
 29 Description:
 30                 Provides access to the binary "24x7 catalog" provided by the
 31                 hypervisor on POWER7 and 8 systems. This catalog lists events
 32                 available from the powerpc "hv_24x7" pmu. Its format is
 33                 documented here:
 34                 https://raw.githubusercontent.com/jmesmon/catalog-24x7/master/hv-24x7-catalog.h
 35 
 36 What:           /sys/bus/event_source/devices/hv_24x7/interface/catalog_length
 37 Date:           February 2014
 38 Contact:        Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
 39 Description:
 40                 A number equal to the length in bytes of the catalog. This is
 41                 also extractable from the provided binary "catalog" sysfs entry.
 42 
 43 What:           /sys/bus/event_source/devices/hv_24x7/interface/catalog_version
 44 Date:           February 2014
 45 Contact:        Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
 46 Description:
 47                 Exposes the "version" field of the 24x7 catalog. This is also
 48                 extractable from the provided binary "catalog" sysfs entry.
 49 
 50 What:           /sys/devices/hv_24x7/interface/sockets
 51 Date:           May 2020
 52 Contact:        Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
 53 Description:    read only
 54                 This sysfs interface exposes the number of sockets present in the
 55                 system.
 56 
 57 What:           /sys/devices/hv_24x7/interface/chipspersocket
 58 Date:           May 2020
 59 Contact:        Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
 60 Description:    read only
 61                 This sysfs interface exposes the number of chips per socket
 62                 present in the system.
 63 
 64 What:           /sys/devices/hv_24x7/interface/coresperchip
 65 Date:           May 2020
 66 Contact:        Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
 67 Description:    read only
 68                 This sysfs interface exposes the number of cores per chip
 69                 present in the system.
 70 
 71 What:           /sys/devices/hv_24x7/cpumask
 72 Date:           July 2020
 73 Contact:        Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
 74 Description:    read only
 75                 This sysfs file exposes the cpumask which is designated to make
 76                 HCALLs to retrieve hv-24x7 pmu event counter data.
 77 
 78 What:           /sys/bus/event_source/devices/hv_24x7/event_descs/<event-name>
 79 Date:           February 2014
 80 Contact:        Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
 81 Description:
 82                 Provides the description of a particular event as provided by
 83                 the firmware. If firmware does not provide a description, no
 84                 file will be created.
 85 
 86                 Note that the event-name lacks the domain suffix appended for
 87                 events in the events/ dir.
 88 
 89 What:           /sys/bus/event_source/devices/hv_24x7/event_long_descs/<event-name>
 90 Date:           February 2014
 91 Contact:        Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
 92 Description:
 93                 Provides the "long" description of a particular event as
 94                 provided by the firmware. If firmware does not provide a
 95                 description, no file will be created.
 96 
 97                 Note that the event-name lacks the domain suffix appended for
 98                 events in the events/ dir.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php