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

TOMOYO Linux Cross Reference
Linux/Documentation/admin-guide/perf/cxl.rst

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/admin-guide/perf/cxl.rst (Version linux-6.11.5) and /Documentation/admin-guide/perf/cxl.rst (Version linux-5.11.22)


  1 .. SPDX-License-Identifier: GPL-2.0               
  2                                                   
  3 ======================================            
  4 CXL Performance Monitoring Unit (CPMU)            
  5 ======================================            
  6                                                   
  7 The CXL rev 3.0 specification provides a defin    
  8 Monitoring Unit in section 13.2: Performance M    
  9                                                   
 10 CXL components (e.g. Root Port, Switch Upstrea    
 11 any number of CPMU instances. CPMU capabilitie    
 12 the devices. The specification provides event     
 13 message types and a set of additional events f    
 14 CXL devices (e.g. DRAM events).                   
 15                                                   
 16 CPMU driver                                       
 17 ===========                                       
 18                                                   
 19 The CPMU driver registers a perf PMU with the     
 20 representing the Yth CPMU for memX.               
 21                                                   
 22     /sys/bus/cxl/device/pmu_mem<X>.<Y>            
 23                                                   
 24 The associated PMU is registered as               
 25                                                   
 26    /sys/bus/event_sources/devices/cxl_pmu_mem<    
 27                                                   
 28 In common with other CXL bus devices, the id h    
 29 relationship to specific CXL device should be     
 30 of the device on the CXL bus.                     
 31                                                   
 32 PMU driver provides description of available e    
 33                                                   
 34 The "format" directory describes all formats o    
 35 group id and mask) config1 (threshold, filter     
 36 parameters) fields of the perf_event_attr stru    
 37 describes all documented events show in perf l    
 38                                                   
 39 The events shown in perf list are the most fin    
 40 bit of the event mask set. More general events    
 41 multiple mask bits in config. For example, all    
 42 may be captured on a single counter by setting    
 43                                                   
 44 * d2h_req_rdcurr                                  
 45 * d2h_req_rdown                                   
 46 * d2h_req_rdshared                                
 47 * d2h_req_rdany                                   
 48 * d2h_req_rdownnodata                             
 49                                                   
 50 Example of usage::                                
 51                                                   
 52   $#perf list                                     
 53   cxl_pmu_mem0.0/clock_ticks/                     
 54   cxl_pmu_mem0.0/d2h_req_rdshared/                
 55   cxl_pmu_mem0.0/h2d_req_snpcur/                  
 56   cxl_pmu_mem0.0/h2d_req_snpdata/                 
 57   cxl_pmu_mem0.0/h2d_req_snpinv/                  
 58   --------------------------------------------    
 59                                                   
 60   $# perf stat -a -e cxl_pmu_mem0.0/clock_tick    
 61                                                   
 62 Vendor specific events may also be available a    
 63                                                   
 64   $# perf stat -a -e cxl_pmu_mem0.0/vid=VID,gi    
 65                                                   
 66 The driver does not support sampling so "perf     
 67 It only supports system-wide counting so attac    
 68 unsupported.                                      
                                                      

~ [ 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