File reorganization
Move the tracer_tool from the 'test' directory to the 'src' directory. Change-Id: I13768b9610cd359f78a66147f0255ab1e4c657e9
Dieser Commit ist enthalten in:
@@ -28,7 +28,7 @@ events_count = {}
|
||||
events_order = {}
|
||||
events_order_r = {}
|
||||
trace2info = {}
|
||||
trace2info_filename = 'test/tests_trace_cmp_levels.txt'
|
||||
trace2info_filename = 'test/golden_traces/tests_trace_cmp_levels.txt'
|
||||
|
||||
# Parses trace comparison config file and stores the info in a dictionary
|
||||
def parse_trace_levels(trace_config_filename, check_trace_flag):
|
||||
@@ -151,8 +151,8 @@ def check_trace_status(tracename, verbose, check_trace_flag):
|
||||
print('PASSED!')
|
||||
return 0
|
||||
|
||||
trace = 'test/' + tracename + '.txt'
|
||||
rtrace = tracename + '.txt'
|
||||
trace = 'test/golden_traces/' + tracename + '.txt'
|
||||
rtrace = 'test/out/' + tracename + '.out'
|
||||
if os.path.basename(tracename) in trace2info.keys():
|
||||
(trace_level, no_events_cnt, events2ignore, events2chkcnt, events2chkord, events2ch) = trace2info[os.path.basename(tracename)]
|
||||
trace_level = trace_level.rstrip('\n')
|
||||
|
||||
@@ -324,7 +324,7 @@ class API_DescrParser:
|
||||
|
||||
self.content += '\n'
|
||||
self.content += '#if PROF_API_IMPL\n'
|
||||
self.content += '#include \"core/callback_table.h\"\n';
|
||||
self.content += '#include \"callback_table.h\"\n';
|
||||
self.content += 'namespace roctracer {\n'
|
||||
self.content += 'namespace hsa_support {\n'
|
||||
self.add_section('API callback functions', '', self.gen_callbacks)
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren