finalcut/scripts/cpuprofile.sh

7 lines
233 B
Bash
Raw Normal View History

2015-05-23 13:35:12 +02:00
#!/bin/bash
LD_LIBRARY_PATH=../src/.libs/ LD_PRELOAD="/usr/lib64/libprofiler.so.0" CPUPROFILE=../examples/.libs/ui.prof ../examples/.libs/ui
pprof --gv ../examples/.libs/ui ../examples/.libs/ui.prof
rm -f ../examples/.libs/ui.prof
2015-05-23 13:35:12 +02:00