finalcut/scripts/cpuprofile.sh

7 lines
231 B
Bash
Raw Normal View History

#!/bin/sh
2015-05-23 13:35:12 +02:00
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