summaryrefslogtreecommitdiff
path: root/README
blob: 785df93562d3337be7987c5166ad2049bfcbb36e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Compile the monitor:

    % make

Compile the charting application and utilities:

    On a debian based distribution you need to install the following
    packages: libghc6-gtk-dev libghc6-parsec-dev
    They pull in a lot of dependencies, but this is wanted :)

    % ./Setup.lhs configure --user
    % ./Setup.lhs build
    % ./Setup.lhs install

--

Capture some D-Bus traffic:

    % ./bustle-dbus-monitor > log
    ^C

Now chart it:

    % ~/bin/bustle log

Count the method calls and signal emissions:

    % ~/bin/bustle-count log

Make a .dot graph of method caller -> callee:

    % ~/bin/bustle-dot log >log.dot
    % dot -Tpng -o log-callers.png <log.dot

Count the total time spent in each method:

    % ~/bin/bustle-time log