SWDEV-403068 & SWDEV-403069: Memory Leaks fix for tracer

Change-Id: I57ce10ae616dda9529d22d4cee15556864760d6c


[ROCm/rocprofiler commit: 3ac57e167e]
Bu işleme şunda yer alıyor:
Ammar ELWazir authored and Ammar Elwazir committed 2023-06-21 06:28:47 -04:00
1 ebeveyn bf471ed17b
işleme 4a3ce16d54
17 files changed
+296 -1401

No files matched your search

+2 -2
Dosyayı Görüntüle
@@ -383,7 +383,7 @@ class API_DescrParser:
def gen_arg_struct(self, n, name, call, struct):
content = ''
if n == -1:
content += 'struct hsa_api_data_t {\n'
content += 'typedef struct hsa_api_data_s {\n'
content += ' uint64_t correlation_id;\n'
content += ' uint32_t phase;\n'
content += ' union {\n'
@@ -402,7 +402,7 @@ class API_DescrParser:
else:
content += ' } args;\n'
content += ' uint64_t *phase_data;\n'
content += '};\n'
content += '} hsa_api_data_t;\n'
return content
# generate API callbacks