mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Also make offset a gulong (Samuel Mimram)
Wed Jan 11 20:31:11 2006 Søren Sandmann <sandmann@redhat.com> * process.c (read_maps): Also make offset a gulong (Samuel Mimram)
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
779b537f2b
commit
c65bfcc114
@ -1,3 +1,7 @@
|
||||
Wed Jan 11 20:31:11 2006 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* process.c (read_maps): Also make offset a gulong (Samuel Mimram)
|
||||
|
||||
Wed Jan 11 17:51:54 2006 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* collector.c: Remove debug spew.
|
||||
|
||||
@ -94,14 +94,14 @@ read_maps (int pid)
|
||||
int count;
|
||||
gulong start;
|
||||
gulong end;
|
||||
guint offset;
|
||||
gulong offset;
|
||||
|
||||
#if 0
|
||||
g_print ("buffer: %s\n", buffer);
|
||||
#endif
|
||||
|
||||
count = sscanf (
|
||||
buffer, "%lx-%lx %*15s %x %*x:%*x %*u %255s",
|
||||
buffer, "%lx-%lx %*15s %lx %*x:%*x %*u %255s",
|
||||
&start, &end, &offset, file);
|
||||
if (count == 4)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user