diff options
| author | Carl C. Trieloff <cctrieloff@apache.org> | 2007-07-31 19:08:40 +0000 |
|---|---|---|
| committer | Carl C. Trieloff <cctrieloff@apache.org> | 2007-07-31 19:08:40 +0000 |
| commit | 37eb4dbcb7492e048d9a70d02ebf4c3a90fc6347 (patch) | |
| tree | bb758184bee9c085eae7aff42006502bc949d7d1 /cpp/src | |
| parent | b5ed2654e8a7638bbd6f47f15f60752f174b7f3e (diff) | |
| download | qpid-python-37eb4dbcb7492e048d9a70d02ebf4c3a90fc6347.tar.gz | |
oprofile script
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@561441 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
| -rwxr-xr-x | cpp/src/prof | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cpp/src/prof b/cpp/src/prof new file mode 100755 index 0000000000..bd889a1446 --- /dev/null +++ b/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 |
