diff options
Diffstat (limited to 'qpid/cpp/src/prof')
-rwxr-xr-x | qpid/cpp/src/prof | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/qpid/cpp/src/prof b/qpid/cpp/src/prof new file mode 100755 index 0000000000..bd889a1446 --- /dev/null +++ b/qpid/cpp/src/prof @@ -0,0 +1,18 @@ +#!/bin/bash + +rm /var/lib/oprofile/oprofiled.log + +opcontrol --reset +opcontrol --setup --no-vmlinux --separate=library +opcontrol --start +# -- Do stuff here -- +./qpidd +# -- End of stuff -- +opcontrol --stop +opcontrol --dump +opcontrol --shutdown +opreport -l ./.libs/lt-qpidd > stats.txt +opannotate --source --output-dir=qpidd-prof ./.libs/lt-qpidd + +# clear the relusts +#opcontrol --reset |