564898da8b65cbcc06a3240fa104e0b6730a7d56
[barometer.git] / docker / ansible / roles / config_files / templates / intel_pmu.conf.j2
1 #Copyright 2018-2019 OPNFV and Intel Corporation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 LoadPlugin intel_pmu
16
17 <Plugin intel_pmu>
18   ReportHardwareCacheEvents true
19   ReportKernelPMUEvents true
20   ReportSoftwareEvents true
21 #  EventList "/var/cache/pmu/GenuineIntel-6-2D-core.json"
22 #  HardwareEvents "L2_RQSTS.CODE_RD_HIT,L2_RQSTS.CODE_RD_MISS" "L2_RQSTS.ALL_CODE_RD"
23   Cores "[0-4]"
24 </Plugin>
25