fix typo in the #defines for FSUSAGE_BLOCK_SIZE (patch by Benot Dejean

2004-04-07  Bastien Nocera  <hadess@hadess.net>

	* include/glibtop/fsusage.h: fix typo in the #defines for
	FSUSAGE_BLOCK_SIZE (patch by Benot Dejean <TazForEver@free.fr>)

2004-04-07  Bastien Nocera  <hadess@hadess.net>

	* prockernel.c: (glibtop_get_proc_kernel_p): patch for NetBSD/AMD64
	support (Julio M. Merino Vidal <jmmv@menta.net>)
This commit is contained in:
Bastien Nocera
2004-04-07 10:05:51 +00:00
committed by Bastien Nocera
parent 45b69b3277
commit 07ec479243
4 changed files with 14 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2004-04-07 Bastien Nocera <hadess@hadess.net>
* include/glibtop/fsusage.h: fix typo in the #defines for
FSUSAGE_BLOCK_SIZE (patch by Beno<6E>t Dejean <TazForEver@free.fr>)
2004-03-30 Adam Weinberger <adamw@gnome.org>
* configure.in: Added en_CA (Canadian English) to ALL_LINGUAS.

View File

@@ -33,7 +33,7 @@ G_BEGIN_DECLS
#define GLIBTOP_FSUSAGE_BAVAIL 2
#define GLIBTOP_FSUSAGE_FILES 3
#define GLIBTOP_FSUSAGE_FFREE 4
#define GLIBTOP_FSUSAGE_BLOCK_SIZE 6
#define GLIBTOP_FSUSAGE_BLOCK_SIZE 5
#define GLIBTOP_MAX_FSUSAGE 6

View File

@@ -1,3 +1,8 @@
2004-04-07 Bastien Nocera <hadess@hadess.net>
* prockernel.c: (glibtop_get_proc_kernel_p): patch for NetBSD/AMD64
support (Julio M. Merino Vidal <jmmv@menta.net>)
2004-03-09 Bastien Nocera <hadess@hadess.net>
* Makefile.am:

View File

@@ -228,6 +228,9 @@ glibtop_get_proc_kernel_p (glibtop *server,
#if defined(__m68k__)
buf->kstk_esp = (u_int64_t) pcb.pcb_usp;
buf->kstk_eip = (u_int64_t) 0;
#elif defined(__x86_64__)
buf->kstk_esp = (u_int64_t) pcb.pcb_usersp;
buf->kstk_eip = (u_int64_t) 0;
#elif (defined(__arm32__) || defined(__powerpc__))
buf->kstk_esp = (u_int64_t) pcb.pcb_sp;
buf->kstk_eip = (u_int64_t) 0;