Lines Matching +full:traces +full:- +full:db
3 set -ex
6 mount -t virtiofs waffle-tag /waffle
9 mount -t virtiofs apitrace-tag /apitrace
11 mkdir /traces-db
12 mount -t virtiofs traces-db-tag /traces-db
15 mount -t virtiofs perfetto-tag /perfetto
29 sed -i '/pool/s/^/#/' /etc/chrony/chrony.conf
30 echo refclock PHC /dev/ptp0 poll 1 dpoll -2 offset 0 >> /etc/chrony/chrony.conf
34 mkdir -p /run/chrony
35 time chronyd -q # Initial synchronization, will take some time
39 trace_no_ext=$(cat /traces-db/current_trace)
45 command=$(cat /traces-db/command)
65 wait-after-frame)
66 WAIT="--wait-after-frame"
69 record-frame)
70 RECORD="--snapshot"
76 if [ -e /traces-db/wait_after_frame ]; then
77 WAIT=-wait-after-frame
80 trace="/traces-db/${trace_no_ext}.trace"
81 datadir="/traces-db/${trace_no_ext}-out"
83 guest_perf="$datadir/${trace_base}-guest.perfetto"
92 wflinfo --platform surfaceless_egl --api gles2 -v
94 if [ "x$perfetto_loops" != "x" -a "x$perfetto_loops" != "x0" ]; then
99 … /perfetto/out/dist/perfetto --txt -c /usr/local/perfetto-guest.cfg -o "$guest_perf" --detach=mykey
102 …# The first virtio-gpu event has to be captured in the guest, so we correlate correctly to the hos…
105 eglretrace --benchmark --singlethread --loop=$perfetto_loops $WAIT --headless "$trace"
108 /perfetto/out/dist/perfetto --attach=mykey --stop
114 eglretrace --benchmark --loop=$benchmark_loops --headless "$trace"
118 eglretrace --snapshot frame --snapshot-prefix=${datadir}/ --headless "$trace"