add systemTraceEvents to merge for perfetto ftrace data

Этот коммит содержится в:
Jianbing Chen
2021-08-30 09:20:31 -05:00
родитель 7793a1f331
Коммит f518e09eab
+6 -1
Просмотреть файл
@@ -26,7 +26,12 @@ for trace in trace_files
todo = JSON.parsefile(f)
out["traceEvents"] = vcat(
out["traceEvents"],
todo["traceEvents"])
get(todo, "traceEvents", [])
)
out["systemTraceEvents"] = (*)(
get(out, "systemTraceEvents", ""),
get(todo, "systemTraceEvents", "")
)
end
output_file = replace("$(string(now())).json", ":" => "-")