mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 23:33:58 +08:00
6 lines
194 B
Bash
Executable File
6 lines
194 B
Bash
Executable File
#!/bin/bash
|
|
|
|
sudo $HOME/one/external/pyflame/pyflame -s 5 -o /tmp/perf$1.txt -p $1 &&
|
|
$HOME/one/external/pyflame/flamegraph.pl /tmp/perf$1.txt > /tmp/perf$1.svg &&
|
|
google-chrome /tmp/perf$1.svg
|