Profile/Systemtap: Difference between revisions
No edit summary |
|||
| 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 | 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 | 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: | ||