mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +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>
|
Wed Jan 11 17:51:54 2006 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
* collector.c: Remove debug spew.
|
* collector.c: Remove debug spew.
|
||||||
|
|||||||
@ -94,14 +94,14 @@ read_maps (int pid)
|
|||||||
int count;
|
int count;
|
||||||
gulong start;
|
gulong start;
|
||||||
gulong end;
|
gulong end;
|
||||||
guint offset;
|
gulong offset;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
g_print ("buffer: %s\n", buffer);
|
g_print ("buffer: %s\n", buffer);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
count = sscanf (
|
count = sscanf (
|
||||||
buffer, "%lx-%lx %*15s %x %*x:%*x %*u %255s",
|
buffer, "%lx-%lx %*15s %lx %*x:%*x %*u %255s",
|
||||||
&start, &end, &offset, file);
|
&start, &end, &offset, file);
|
||||||
if (count == 4)
|
if (count == 4)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user