diff options
author | Ray Kinsella <mdr@ashroe.eu> | 2021-09-30 15:15:32 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-10-05 10:44:39 +0000 |
commit | ede7143386ce1cf086066eec06dbdf7cf6d4cfee (patch) | |
tree | 9e6aad9d33551c9abf8813b52f449d0919f849d0 /src/plugins/perfmon/intel/bundle/topdown_metrics.c | |
parent | 4189108e1dbac0a7961d31d59a21b7fe8354ce61 (diff) |
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 <mdr@ashroe.eu>
Change-Id: Iba3653a4deb39b0a8ee8ad448a7e8f954283ccd8
Diffstat (limited to 'src/plugins/perfmon/intel/bundle/topdown_metrics.c')
-rw-r--r-- | src/plugins/perfmon/intel/bundle/topdown_metrics.c | 4 |
1 files changed, 1 insertions, 3 deletions
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) = { |