aboutsummaryrefslogtreecommitdiff
path: root/lib/libpmc
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-12-12 19:23:38 +0000
committerEd Maste <emaste@FreeBSD.org>2019-12-12 19:23:38 +0000
commit8b238f4126d32df3e70056bc32536b7248ebffa0 (patch)
tree368bee80fcb685c9d16aae8c5448c8d303c9f1af /lib/libpmc
parentd6fee74a0cca28bde5005a0d1dbfba0a956e84c1 (diff)
downloadsrc-8b238f4126d32df3e70056bc32536b7248ebffa0.tar.gz
src-8b238f4126d32df3e70056bc32536b7248ebffa0.zip
libpmc: sort some amdfam17h entries to make valid json
Notes
Notes: svn path=/head/; revision=355666
Diffstat (limited to 'lib/libpmc')
-rw-r--r--lib/libpmc/pmu-events/arch/x86/amdfam17h/core.json6
-rw-r--r--lib/libpmc/pmu-events/arch/x86/amdfam17h/memory.json2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpmc/pmu-events/arch/x86/amdfam17h/core.json b/lib/libpmc/pmu-events/arch/x86/amdfam17h/core.json
index 4098ad8cab4b..f5fc8ccbb473 100644
--- a/lib/libpmc/pmu-events/arch/x86/amdfam17h/core.json
+++ b/lib/libpmc/pmu-events/arch/x86/amdfam17h/core.json
@@ -2,20 +2,20 @@
{
"EventName": "ex_ret_instr",
"EventCode": "0xc0",
+ "SampleAfterValue": "2000003",
"BriefDescription": "Retired Instructions."
- "SampleAfterValue": "2000003",
},
{
"EventName": "ex_ret_cops",
"EventCode": "0xc1",
+ "SampleAfterValue": "2000003",
"BriefDescription": "The number of uOps retired. This includes all processor activity (instructions, exceptions, interrupts, microcode assists, etc.). The number of events logged per cycle can vary from 0 to 4."
- "SampleAfterValue": "2000003",
},
{
"EventName": "ex_ret_brn",
"EventCode": "0xc2",
+ "SampleAfterValue": "2000003",
"BriefDescription": "The number of branch instructions retired. This includes all types of architectural control flow changes, including exceptions and interrupts."
- "SampleAfterValue": "2000003",
},
{
"EventName": "ex_ret_brn_misp",
diff --git a/lib/libpmc/pmu-events/arch/x86/amdfam17h/memory.json b/lib/libpmc/pmu-events/arch/x86/amdfam17h/memory.json
index 8380ba53522b..df362ab52777 100644
--- a/lib/libpmc/pmu-events/arch/x86/amdfam17h/memory.json
+++ b/lib/libpmc/pmu-events/arch/x86/amdfam17h/memory.json
@@ -220,7 +220,7 @@
{
"EventName": "ls_not_halted_cyc",
"EventCode": "0x76",
- "BriefDescription": "Cycles not in Halt."
"SampleAfterValue": "2000003",
+ "BriefDescription": "Cycles not in Halt."
}
]