Martin Baulig
5e3d6bdf18
Merged bug fixes from stable branch.
1998-06-11 23:56:06 +00:00
Martin Baulig
aff6786e71
Replaced call to gh_append2 ()' with
gh_append ()'.
...
1998-06-12 Martin Baulig <baulig@taurus.uni-trier.de >
* sysdeps/guile/proclist.c: Replaced call to
`gh_append2 ()' with `gh_append ()'.
* sysdeps/guile/names/*.c: dito.
1998-06-11 23:03:07 +00:00
Martin Baulig
9ce768bc4b
Forgot to checkin.
1998-06-08 00:43:32 +00:00
Martin Baulig
33eefd46c7
Minor fixes for SunOS.
1998-06-08 00:25:47 +00:00
Martin Baulig
be91463190
More profiling stuff.
1998-06-07 21:14:30 +00:00
Martin Baulig
691cd81192
Bug fix.
1998-06-07 20:42:53 +00:00
Martin Baulig
9c9ad03d60
New file.
...
1998-06-07 Martin Baulig <martin@home-of-linux.org >
* sysdeps/linux/glibtop_machine.h: New file.
* sysdeps/linux/*.c: Performance optimizations. We now use
`open' and `read' instead of `fopen' and `fscanf'.
1998-06-07 20:38:02 +00:00
Martin Baulig
c84923132a
Using single underscore instead of two underscores for function prefixes
...
1998-06-07 Martin Baulig <martin@home-of-linux.org >
* *.[ch]: Using single underscore instead of two underscores
for function prefixes (regexp: ``s,__([rspl])\b,_$1,g'') to
avoid ambiguity with mangled C++ names.
1998-06-07 13:57:45 +00:00
Martin Baulig
0a323e5080
New file.
...
1998-06-06 Martin Baulig <martin@home-of-linux.org >
* sysdeps/osf1/glibtop_server.h: New file.
* sysdeps/osf1/*.c: renamed all functions implementing
features that don't need to be suid to '__s'.
1998-06-06 18:48:17 +00:00
Martin Baulig
222df2c7d6
Removed that file.
...
1998-06-06 Martin Baulig <martin@home-of-linux.org >
* sysdeps/names/procdata.c: Removed that file.
* sysdeps/names/*.c: Fixed declaration of `glibtop_types_*'.
1998-06-06 18:42:14 +00:00
Martin Baulig
de5cf356c9
Added `#include <types.h>'.
...
1998-06-06 Martin Baulig <martin@home-of-linux.org >
* glibtop.h: Added `#include <types.h>'.
* include/glibtop/types.h: New file - numeric constants
for `glibtop_types_<feature>'.
* sysdeps/names/*.c (glibtop_types_*): Using numeric
constants from `types.h' instead of string constants.
1998-06-06 18:19:16 +00:00
Martin Baulig
3728e4c34e
renamed all functions implementing features to '__p' (since they need to
...
* sysdeps/sun4/*.c: renamed all functions implementing
features to '__p' (since they need to be SGID kmem on SunOS).
1998-06-02 22:23:45 +00:00
Martin Baulig
f233a1673f
renamed to `glibtop_open__r'.
...
* sysdeps/linux/open.c (glibtop_open): renamed to
`glibtop_open__r'.
1998-06-02 19:41:29 +00:00
Martin Baulig
7f39d62371
tells `glibtop_open' to use the default server and not to check the
...
* include/glibtop/open.h (GLIBTOP_OPEN_NO_OVERRIDE):
tells `glibtop_open' to use the default server and not
to check the environment variables.
* include/glibtop/sysdeps.h (_glibtop_sysdeps):
renamed 'dummy' member to 'features'.
* include/glibtop/command.h (GLIBTOP_CMND_SYSDEPS):
added definition here.
1998-06-02 16:20:15 +00:00
Martin Baulig
344bdd330f
now using '__r' functions, they are #defined either as the '__p' or the
...
* sysdeps/common/sysdeps.c: now using '__r' functions,
they are #defined either as the '__p' or the '__s' ones.
1998-06-01 15:22:00 +00:00
Martin Baulig
2546fa37eb
changed call of 'glibtop_init__r', it now takes two additional arguments.
...
* sysdeps/linux/*.c: changed call of 'glibtop_init__r',
it now takes two additional arguments.
1998-06-01 15:21:19 +00:00
Martin Baulig
95b9d824ea
renamed all functions implementing features to '__s'.
...
* sysdeps/linux/*.c: renamed all functions implementing
features to '__s'.
1998-05-28 19:24:24 +00:00
Martin Baulig
15caaaf34f
added memory statistics.
...
* sysdeps/sun4/{open.c, mem.c, glibtop_machine.h}: added
memory statistics.
1998-05-24 16:16:59 +00:00
Martin Baulig
ff3aced01e
added `locked' member to this structure for SunOS.
...
* include/glibtop/mem.h (_glibtop_mem): added `locked'
member to this structure for SunOS.
1998-05-24 16:15:24 +00:00
Martin Baulig
109f8dc608
Started porting. Getting CPU usage now working. Took a lot of code from
...
* sysdeps/sun4/{open.c, cpu.c}: Started porting.
Getting CPU usage now working. Took a lot of code
from top-3.4.
1998-05-23 23:05:08 +00:00
Martin Baulig
37e161bcec
New file. System dependend header file for SunOS.
...
* sysdeps/sun4/glibtop_machine.h: New file.
System dependend header file for SunOS.
1998-05-23 23:03:59 +00:00
Martin Baulig
977a3695f6
removed -I$(includedir).
...
* */Makefile.am (INCLUDES): removed -I$(includedir).
1998-05-23 13:50:46 +00:00
Martin Baulig
29ba1a484b
Fixed typo.
1998-05-22 23:55:35 +00:00
Martin Baulig
c67ba32006
Small bugfixes.
1998-05-22 23:24:06 +00:00
Martin Baulig
436bef3790
added 'DIST_SUBDIRS'
...
* sysdeps/guile/Makefile.am: added 'DIST_SUBDIRS'
1998-05-21 20:07:29 +00:00
Martin Baulig
5e70e5fa9f
added 'DIST_SUBDIRS'
...
* sysdeps/Makefile.am: added 'DIST_SUBDIRS'
1998-05-21 20:06:55 +00:00
Martin Baulig
dec10a8221
INCLUDES no longer uses @GTOP_INCS@ which now points to where the
...
stuff gets installed and now longer to the build directories.
Added '-D_GNU_SOURCE' to INCLUDES.
1998-05-21 17:37:51 +00:00
Martin Baulig
a6f0f33112
only build 'names' subdir when necessary.
...
* sysdeps/guile/Makefile.am: only build 'names'
subdir when necessary.
1998-05-20 21:01:41 +00:00
Martin Baulig
8bd9f46d1a
only build 'names' subdir when necessary.
...
* sysdeps/Makefile.am: only build 'names' subdir
when necessary.
1998-05-20 21:01:04 +00:00
Martin Baulig
56a0d62358
added implementation for DEC OSF/1.
...
* sysdeps/osf1/procuid.c (glibtop_get_proc_uid__r):
added implementation for DEC OSF/1.
1998-05-19 23:03:56 +00:00
Martin Baulig
2ece5e5f8e
forgot to checkin
...
* sysdeps/sun4/uptime.c: forgot to checkin
* sysdeps/sun4/loadavg.c: forgot to checkin
1998-05-19 23:03:48 +00:00
Martin Baulig
92dc0c9a34
forgot to checkin
...
* sysdeps/osf1/uptime.c: forgot to checkin
* sysdeps/osf1/loadavg.c: forgot to checkin
1998-05-19 23:02:39 +00:00
Martin Baulig
d74eaeb6c8
forgot this file all the time - stub for glibtop_uptime
...
* sysdeps/stub/uptime.c: forgot this file all the
time - stub for glibtop_uptime
* sysdeps/stub/loadavg.c: forgot this file all the
time - stub for glibtop_loadavg
1998-05-19 18:43:46 +00:00
Martin Baulig
33cdc01c1d
Initial revision
1998-05-19 18:19:50 +00:00