Blame SOURCES/libpfm-amd_merge.patch

45e17d
commit afa8700ce726153fa1547ce118f7f9b029e675c9
45e17d
Author: Stephane Eranian <eranian@gmail.com>
45e17d
Date:   Wed Jan 16 13:23:11 2019 -0800
45e17d
45e17d
    clarify description of AMD Fam17h MERGE event
45e17d
    
45e17d
    This is a special event used when merging two counters together.
45e17d
    It needs to be programmed on the od-numbered performance counter.
45e17d
    
45e17d
    Signed-off-by: Stephane Eranian <eranian@gmail.com>
45e17d
45e17d
diff --git a/lib/events/amd64_events_fam17h.h b/lib/events/amd64_events_fam17h.h
45e17d
index 4f865b9..b0db898 100644
45e17d
--- a/lib/events/amd64_events_fam17h.h
45e17d
+++ b/lib/events/amd64_events_fam17h.h
45e17d
@@ -954,7 +954,7 @@ static const amd64_entry_t amd64_fam17h_pe[]={
45e17d
     .umasks = amd64_fam17h_tablewalker_allocation,
45e17d
   },
45e17d
   { .name   = "MERGE",
45e17d
-    .desc   = "See <xref file='svd_core_pmc' title='Large Increment per Cycle Events' format='name'>.",
45e17d
+    .desc   = "Merge two counters together. This event must be programmed on the odd performance counter",
45e17d
     .modmsk  = AMD64_FAM17H_ATTRS,
45e17d
     .code    = 0xfff,
45e17d
     .flags   = 0,
45e17d
45e17d
commit ac95d1957771d527f7bf8d11a97fb10ee223d6c0
45e17d
Author: Stephane Eranian <eranian@gmail.com>
45e17d
Date:   Thu Mar 14 15:19:13 2019 -0700
45e17d
45e17d
    remove MERGE event from AMD Fam17h table
45e17d
    
45e17d
    The MERGE event is not measuring an actual micro-architectural event. Instead
45e17d
    it is used to fuse two consecutive counters together to get a wider counter.
45e17d
    This should be used cautiously and is not currently compatible with Linux
45e17d
    perf_events interface and implementation.
45e17d
    
45e17d
    Signed-off-by: Stephane Eranian <eranian@gmail.com>
45e17d
45e17d
diff --git a/lib/events/amd64_events_fam17h.h b/lib/events/amd64_events_fam17h.h
45e17d
index b0db898..deadbed 100644
45e17d
--- a/lib/events/amd64_events_fam17h.h
45e17d
+++ b/lib/events/amd64_events_fam17h.h
45e17d
@@ -953,13 +953,6 @@ static const amd64_entry_t amd64_fam17h_pe[]={
45e17d
     .numasks = LIBPFM_ARRAY_SIZE(amd64_fam17h_tablewalker_allocation),
45e17d
     .umasks = amd64_fam17h_tablewalker_allocation,
45e17d
   },
45e17d
-  { .name   = "MERGE",
45e17d
-    .desc   = "Merge two counters together. This event must be programmed on the odd performance counter",
45e17d
-    .modmsk  = AMD64_FAM17H_ATTRS,
45e17d
-    .code    = 0xfff,
45e17d
-    .flags   = 0,
45e17d
-    .ngrp    = 0,
45e17d
-  },
45e17d
   { .name   = "L1_BTB_CORRECTION",
45e17d
     .desc   = "TBD",
45e17d
     .modmsk  = AMD64_FAM17H_ATTRS,