mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Experiment with a file-format-description format.
Wed Mar 2 23:39:50 2005 Soeren Sandmann <sandmann@redhat.com> * profile.[ch], sfile.[ch]: Experiment with a file-format-description format. * sysprof.c: Add commented out code using /proc/ based timeout.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
5dec3764c1
commit
de4b3c076d
@ -200,7 +200,7 @@ process_ensure_map (Process *process, int pid, gulong addr)
|
||||
{
|
||||
/* Round down to closest page */
|
||||
addr = (addr - addr % PAGE_SIZE);
|
||||
|
||||
|
||||
if (process_has_page (process, addr))
|
||||
return;
|
||||
|
||||
@ -214,7 +214,7 @@ process_ensure_map (Process *process, int pid, gulong addr)
|
||||
process->maps = read_maps (pid);
|
||||
|
||||
if (!process_has_page (process, addr))
|
||||
g_list_prepend (process->bad_pages, (gpointer)addr);
|
||||
process->bad_pages = g_list_prepend (process->bad_pages, (gpointer)addr);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
||||
Reference in New Issue
Block a user