From ede7143386ce1cf086066eec06dbdf7cf6d4cfee Mon Sep 17 00:00:00 2001 From: Ray Kinsella Date: Thu, 30 Sep 2021 15:15:32 +0100 Subject: perfmon: bundles with multiple types Allow perfmon bundles to support more than one bundle type, either node or thread. Only used for topdown bundle for the moment. Type: improvement Signed-off-by: Ray Kinsella Change-Id: Iba3653a4deb39b0a8ee8ad448a7e8f954283ccd8 --- src/plugins/perfmon/intel/bundle/topdown_metrics.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/plugins/perfmon/intel/bundle/topdown_metrics.c') diff --git a/src/plugins/perfmon/intel/bundle/topdown_metrics.c b/src/plugins/perfmon/intel/bundle/topdown_metrics.c index 6913781be90..6b95f553c65 100644 --- a/src/plugins/perfmon/intel/bundle/topdown_metrics.c +++ b/src/plugins/perfmon/intel/bundle/topdown_metrics.c @@ -104,10 +104,8 @@ format_topdown_lvl1 (u8 *s, va_list *args) } static perfmon_cpu_supports_t topdown_lvl1_cpu_supports[] = { - /* Intel SNR supports papi/thread only */ - { clib_cpu_supports_movdiri, PERFMON_BUNDLE_TYPE_THREAD }, /* Intel ICX supports papi/thread or rdpmc/node */ - { clib_cpu_supports_avx512_bitalg, PERFMON_BUNDLE_TYPE_NODE } + { clib_cpu_supports_avx512_bitalg, PERFMON_BUNDLE_TYPE_NODE_OR_THREAD } }; PERFMON_REGISTER_BUNDLE (topdown_lvl1_metric) = { -- cgit 1.2.3-korg