blob: bd889a144699b3004c2987157a855cd22a8a6725 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|