PERFEVENT.CONF - Online Linux Manual PageSection : 5
Updated : PCP
Source : Performance Co-Pilot

NAMEperfevent.conf − the Performance Co-Pilot perfevent PMDA configuration file

SYNOPSIS$PCP_PMDAS_DIRS/perfevent/perfevent.conf

DESCRIPTIONThe perfevent.conf configuration file defines which hardware performance counters are enabled by the perfevent PMDA. The configuration file contains a list of events that should be enabled for each PMU. The perfevent PMDA detects which PMUs present and programs the configured events. If multiple PMUs are available, the perfevent PMDA uses the order of the entries in the configuration file to determine which PMU settings to use. The entries at the top of the configuration file have higher precedence. Only one PMU configuration setting is used. The configuration file may also contain perf derived events. A derived event has a list of events which must be listed as base events. The values for the counters in the derived events are aggregated and displayed.

FILE FORMATThe file consists of one or more groups of PMUs and the events that go with them. The PMU identification string is enclosed in brackets and one or more events are listed below, one per line. ["PMU identification string"] EVENT_NAME [CPU OPTION] ... For derived events, one or more groups of events can be specified where, counters in one group can be specific to one architecture and the counters in other group can be specific to some other architecture. Else, only one group can be specified. EVENT_NAME_1, EVENT_NAME_2 etc. belong to group 1 and EVENT_NAME_3, EVENT_NAME_4 belong to group 2 and so on. If any of the event in the first group is not available, entire group will be discarded. And, the next group will be checked. The first group with all the events available will be activated and monitored. The derived perf event is enclosed in brackets along with :derived as a suffix. Note that the EVENT_NAME listed under derived event must be present as a base event in the configuration file. And, all the events under a particular derived perf event group must have the same CPU_OPTION. || acts as a separator for different groups inside a single derived event. The syntax is : [event:derived] EVENT_NAME_1 [CPU_OPTION] [scale] EVENT_NAME_2 [CPU_OPTION] [scale] ... || EVENT_NAME_3 [CPU_OPTION] [scale] EVENT_NAME_4 [CPU_OPTION] [scale] ... The available event cpu options are as follows: cpu  to add the counter to all cpus in the system cpu_rr  to add to one of the cpus in a round-robin allocation strategy node  to add the counter to the first cpu in each numa node node_rr  to add the counter to the cpus in each numa node in a round-robin allocation strategy [N]  where N is the numerical digit of the CPU index if the CPU option is absent then the event is programmed on all cpus. scale is applicable for the counters in derived events. If scale is given, the counters will be scaled to their respective values. The options are as follows : a float value  Can be a simple float value, or a value in scientific notation. perf_scale  The scale will be taken from the kernel sysfs scale file entry for that event. Its generally specified in /sys/bus/event_source/device/events/<event_name>.scale If no scale is given, the default scale will be taken as 1.0. Blank lines are ignored. Lines that begin with the # sign are ignored. Multiple, comma separated, PMUs may be specified in the PMU definition.

SEE ALSOpmdaperfevent(1).
0
Johanes Gumabo
Data Size   :   11,026 byte
man-perfevent.conf.5Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 201,618
Visitor ID   :     :  
Visitor IP   :   18.191.171.43   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.