File tree Expand file tree Collapse file tree 6 files changed +334
-249
lines changed
projects/rocprofiler-systems/source/lib
device_providers/amd_smi/drivers/tests Expand file tree Collapse file tree 6 files changed +334
-249
lines changed Original file line number Diff line number Diff line change @@ -2555,12 +2555,6 @@ get_caching_perfetto()
25552555 return _v;
25562556}
25572557
2558- bool
2559- get_use_cache_output ()
2560- {
2561- return get_use_rocpd () || get_caching_perfetto ();
2562- }
2563-
25642558int
25652559get_kill_delay ()
25662560{
Original file line number Diff line number Diff line change @@ -385,9 +385,6 @@ get_use_rocpd() ROCPROFSYS_HOT;
385385bool &
386386get_caching_perfetto () ROCPROFSYS_HOT;
387387
388- bool
389- get_use_cache_output () ROCPROFSYS_HOT;
390-
391388bool
392389get_merge_perfetto_files ();
393390
Original file line number Diff line number Diff line change @@ -38,21 +38,12 @@ struct cache_policy
3838 */
3939 static void initialize_category_metadata ()
4040 {
41- if (!get_use_cache_output ())
42- {
43- return ;
44- }
4541 trace_cache::get_metadata_registry ().add_string (
4642 trait::name<category::amd_smi>::value);
4743 }
4844
4945 static void initialize_tracks_metadata ()
5046 {
51- if (!get_use_cache_output ())
52- {
53- return ;
54- }
55-
5647 const auto thread_id = std::nullopt ;
5748
5849 trace_cache::get_metadata_registry ().add_track (
@@ -163,11 +154,6 @@ struct cache_policy
163154 */
164155 static void initialize_pmc_metadata (size_t gpu_id)
165156 {
166- if (!get_use_cache_output ())
167- {
168- return ;
169- }
170-
171157 // Metadata field constants for PMC info registration
172158 constexpr size_t EVENT_CODE = 0 ;
173159 constexpr size_t INSTANCE_ID = 0 ;
@@ -343,10 +329,6 @@ struct cache_policy
343329 const enabled_metrics& enabled_metrics_cfg,
344330 const metrics& metric_values, unsigned long timestamp)
345331 {
346- if (!get_use_cache_output ())
347- {
348- return ;
349- }
350332 enabled_metrics _enabled_metrics = { .value = enabled_metrics_cfg.value &
351333 supported_metrics.value };
352334
You can’t perform that action at this time.
0 commit comments