diff --git a/perfetto/capture.sh b/perfetto/capture.sh index 141842d..9b721ff 100755 --- a/perfetto/capture.sh +++ b/perfetto/capture.sh @@ -16,10 +16,7 @@ function cleanup() # Tell perfetto where to symbolize from export PERFETTO_BINARY_PATH=/usr/lib/debug export PERFETTO_SYMBOLIZER_MODE=index - traceconv symbolize "${TRACE_PATH}" >"${TRACE_PATH}.symbols" - if [[ ! -s "${TRACE_PATH}.symbols" ]]; then - rm -f "${TRACE_PATH}.symbols" - fi + traceconv bundle "${TRACE_PATH}" "${TRACE_PATH}.tar" } trap "cleanup SIGHUP" SIGHUP trap "cleanup SIGINT" SIGINT