aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perfmon/perfmon.h
diff options
context:
space:
mode:
authorRay Kinsella <mdr@ashroe.eu>2021-10-15 10:13:17 +0100
committerDamjan Marion <dmarion@me.com>2021-10-16 08:32:43 +0000
commit5bb0eb122fa1a82abe0251903a91094a3a90603f (patch)
tree8cca9b7b8f3f79e2f2484359d3f3fd76e5c597c4 /src/plugins/perfmon/perfmon.h
parent1eb8fea95f10c2ac5fa1d16c350323d9af8e03f1 (diff)
perfmon: additional perf counters on icelake
The Intel Icelake uArch supports measuring up to 12 counters, comprised of 4 fixed and 8 general counters. Type: improvement Signed-off-by: Ray Kinsella <mdr@ashroe.eu> Change-Id: I68369ea55a0c95d6a4a280a464e69502bbf5474f
Diffstat (limited to 'src/plugins/perfmon/perfmon.h')
-rw-r--r--src/plugins/perfmon/perfmon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perfmon/perfmon.h b/src/plugins/perfmon/perfmon.h
index f9b9070d077..0b46e524369 100644
--- a/src/plugins/perfmon/perfmon.h
+++ b/src/plugins/perfmon/perfmon.h
@@ -23,7 +23,7 @@
#include <vppinfra/cpu.h>
#include <vlib/vlib.h>
-#define PERF_MAX_EVENTS 8 /* 4 fixed and 8 programmable on ICX */
+#define PERF_MAX_EVENTS 12 /* 4 fixed and 8 programable on ICX */
typedef enum
{