Walk all threads, not just all processes.

Thu Mar 31 19:51:51 2005  Søren Sandmann  <sandmann@redhat.com>

        * sysprof-module.c (do_generate): Walk all threads, not just all
        processes.

        * TODO: Add disk profiling ideas
This commit is contained in:
Søren Sandmann
2005-04-01 00:58:48 +00:00
committed by Søren Sandmann Pedersen
parent d33a9703a0
commit 39162c394a
4 changed files with 87 additions and 5 deletions

View File

@ -81,6 +81,9 @@ read_maps (int pid)
in = fopen (name, "r");
if (!in)
{
#if 0
g_print ("could not open %d: %s\n", pid, g_strerror (errno));
#endif
g_free (name);
return NULL;
}