New file.
1998-07-21 Martin Baulig <martin@home-of-linux.org> * doc/ChangeLog: New file. * sysdeps/kernel/*.c: Using `glibtop_error_io_r' instead of `glibtop_error_r'. * sysdeps/kernel/proclist.c: Now using the table () function, too. This means that currently the table () function can fetch all information for libgtop and you can even unmount /proc !
This commit is contained in:
committed by
Martin Baulig
parent
5a1fa089f3
commit
7efcda3082
@@ -50,14 +50,14 @@ glibtop_get_proc_segment_s (glibtop *server, glibtop_proc_segment *buf,
|
||||
}
|
||||
|
||||
if (table (TABLE_PROC_MEM, &tbl, &pid))
|
||||
glibtop_error_r (server, "table(TABLE_PROC_MEM): %s\n", strerror (errno));
|
||||
glibtop_error_io_r (server, "table(TABLE_PROC_MEM)");
|
||||
|
||||
buf->start_code = tbl.proc_mem.start_code;
|
||||
buf->end_code = tbl.proc_mem.end_code;
|
||||
buf->start_stack = tbl.proc_mem.start_stack;
|
||||
|
||||
if (table (TABLE_PROC_SEGMENT, &tbl, &pid))
|
||||
glibtop_error_r (server, "table(TABLE_PROC_SEGMENT): %s\n", strerror (errno));
|
||||
glibtop_error_io_r (server, "table(TABLE_PROC_SEGMENT)");
|
||||
|
||||
buf->flags = _glibtop_sysdeps_proc_segment;
|
||||
|
||||
|
Reference in New Issue
Block a user