Profile/Systemtap

From Sugar Labs
Revision as of 13:46, 10 March 2014 by Godiard (talk | contribs) (Created page with " == Using Systemtap to profile Sugar == In my system (Fedora 18) I found a bug [https://www.sourceware.org/ml/systemtap/2013-q3/msg00205.html] and needed install systemtap fr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Using Systemtap to profile Sugar

In my system (Fedora 18) I found a bug [1] and needed install systemtap from git. Newer systems can have it solved.

Installing systemtap from git

The installation is very standard, requieres set a destination directory:

$ git clone git://sourceware.org/git/systemtap.git
$ cd systemtap/
$ ./configure  --prefix=/home/gonzalo/systemtap-2.5-27886
$ make
$ make install

Installing from repositories

You can try install from repositories too.

# yum install -y systemtap-devel systemtap-runtime systemtap-client

If you install from git and from the repositories, in the same system, can have conflicts trying to run the probes.

Using systemtap

Systemtap have

External links

Analyzing memory use with SystemTap [2]