json trace normalizing for app start

Change-Id: I97480f7461c377096c101cd0dc6ce088f799fbab
Этот коммит содержится в:
Evgeny
2020-06-17 19:01:12 -05:00
родитель 68c9f32d6e
Коммит dfba287ff2
+6
Просмотреть файл
@@ -562,6 +562,12 @@ inext = re.sub(r'^.*(\.[^\.]+)$', r'\1', inext)
dbfile = ''
csvfile = ''
begin_ts_file = indir + '/begin_ts_file.txt'
if os.path.isfile(file_name):
with open(begin_ts_file, mode='r') as fd:
START_US=int(fd.readline()) / 1000
print('Appilcation START-ts found (' + START_US + 'us)')
if re.search(r'\.csv$', outfile):
csvfile = outfile
elif re.search(r'\.db$', outfile):