Host trap PC sampling uses new record type (#1207)

* Host trap PC sampling uses new record type

* removing redundant field

* formatting

* simplifying templates in the parser - no need for HostTrap boolean

* reviving some parser tests

* hw_id decoding on GFX9

* HW id parser test

* parser CID test

* Parser multigpu test

* removing rocprofiler_pc_sampling_record_t and some fields from hw_id

* simplifying parser context

* keep bench test internally

* initializing gfx9_hw_id_t differently

* anonymous struct first

* avoiding inlining initialization of struct
Этот коммит содержится в:
Vladimir Indic
2024-11-20 21:02:47 +01:00
коммит произвёл GitHub
родитель 55aea3ef10
Коммит bc52c17e64
21 изменённых файлов: 1319 добавлений и 738 удалений
+2 -1
Просмотреть файл
@@ -285,7 +285,8 @@ TEST(pc_sampling, query_configs_after_service_setup)
pcs_config.method,
pcs_config.unit,
interval,
cb_data->client_buffer),
cb_data->client_buffer,
0),
"Failed to configure PC sampling service");
// query configuration and expect to see `pcs_config->max_interval` as the `interval`