summaryrefslogtreecommitdiff
path: root/trace.sh
diff options
context:
space:
mode:
Diffstat (limited to 'trace.sh')
-rwxr-xr-xtrace.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/trace.sh b/trace.sh
new file mode 100755
index 000000000..573d92362
--- /dev/null
+++ b/trace.sh
@@ -0,0 +1,3 @@
+$ANDROID_BUILD_TOP/external/perfetto/tools/record_android_trace \
+ -c $ANDROID_BUILD_TOP/packages/apps/DocumentsUI/perfetto_config.pbtx \
+ -o /tmp/perfetto-traces/docsui-$(date +"%d-%m-%Y_%H-%M-%S").perfetto-trace