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 | 555f849600ba911c5bca9eb637ba79be2ee9b368 (patch) | |
| tree | e15252b3ab86b630795eb0ca9a8138c94c70b3b5 /qpid/cpp/src/prof | |
| parent | feea8d3c2c685e6fc826d3fa8f5cfb2b4aa1d4ad (diff) | |
| download | qpid-python-555f849600ba911c5bca9eb637ba79be2ee9b368.tar.gz | |
oprofile script
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@561441 13f79535-47bb-0310-9956-ffa450edef68
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 |
