Profile/Systemtap: Difference between revisions

Godiard (talk | contribs)
No edit summary
Godiard (talk | contribs)
Line 49: Line 49:
=== Using with sugar-buid ===
=== Using with sugar-buid ===


In sugar-build, we build glib, then we need move the global glib and gobject probes, to not have comflicts.
In sugar-build, we build glib, then we need move the global glib and gobject probes, to not have conflicts.


I renamed the global probes:
I renamed the global probes:
Line 59: Line 59:
Now we can download a sample test, like [http://people.gnome.org/~walters/glib-memtrace2.stp] and run it in our sugar-build session.
Now we can download a sample test, like [http://people.gnome.org/~walters/glib-memtrace2.stp] and run it in our sugar-build session.


To attach it to a running process, can use the -x parameter.
To define as target a running process, can use the -x parameter. (Remember stap monitor all the system) 


To get the sugar process PID, can do:
To get the sugar process PID, can do: