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

Change-Id: I57ce10ae616dda9529d22d4cee15556864760d6c


[ROCm/rocprofiler commit: 3ac57e167e]
This commit is contained in:
Ammar ELWazir
2023-05-25 23:13:51 +00:00
committed by Ammar Elwazir
vanhempi bf471ed17b
commit 4a3ce16d54
17 muutettua tiedostoa jossa 296 lisäystä ja 1401 poistoa
+2 -2
Näytä tiedosto
@@ -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