great-sage-equal-to-heaven:~/vertigo/sysprof% head -13 ChangeLog

Sat Nov 12 19:44:43 2005  Søren Sandmann  <sandmann@redhat.com>

        * module/sysprof-module.c (read_frame): New function that uses
        copy_from_user_inatomic() as check_user_pages_readable() has
        disappeared in recent kernels.

        * module/sysprof-module.c (timer_notify): Use it here.

        * TODO: Updates

        * configure.ac: Change the wording of the CVS HEAD warning as this
        change seems to also have fixed the lockup with rawhide kernels.
This commit is contained in:
Søren Sandmann
2005-11-13 00:46:08 +00:00
committed by Søren Sandmann Pedersen
parent c3ce4ef8c5
commit 3a306d20d0
5 changed files with 87 additions and 22 deletions

View File

@ -126,11 +126,13 @@ on_read (gpointer data)
return;
#if 0
int i;
g_print ("pid: %d\n", trace.pid);
for (i=0; i < trace.n_addresses; ++i)
g_print ("rd: %08x\n", trace.addresses[i]);
g_print ("-=-\n");
{
int i;
g_print ("pid: %d (%d)\n", trace.pid, trace.n_addresses);
for (i=0; i < trace.n_addresses; ++i)
g_print ("rd: %08x\n", trace.addresses[i]);
g_print ("-=-\n");
}
#endif
if (rd > 0)