SWDEV-359838 - Add a phase data pointer to the hip_api_data_t

To avoid using the thread local std::stack to remember the phase enter
timestamp, the tracer tool uses the phase data to store the timestamp.

Change-Id: I9e95637b41d6f0b2bd61016062ca07d6ba897652
Dieser Commit ist enthalten in:
Laurent Morichetti committed 2022-09-30 14:55:01 -07:00
1 Ursprung b425e27230
Commit 47a29c748a
2 Dateien geändert
+2

Keine Dateien entsprechen Ihrer Suche

+1
Datei anzeigen
@@ -474,6 +474,7 @@ def generate_prof_header(f, api_map, callback_ids, opts_map):
f.write(' } ' + name + ';\n')
f.write(
' } args;\n' +
' uint64_t *phase_data;\n' +
'} hip_api_data_t;\n'
)