libgtop r2718 - trunk/sysdeps/linux
- From: bdejean svn gnome org
- To: svn-commits-list gnome org
- Subject: libgtop r2718 - trunk/sysdeps/linux
- Date: Sun,  2 Mar 2008 18:07:23 +0000 (GMT)
Author: bdejean
Date: Sun Mar  2 18:07:22 2008
New Revision: 2718
URL: http://svn.gnome.org/viewvc/libgtop?rev=2718&view=rev
Log:
Really set wchan.
Modified:
   trunk/sysdeps/linux/prockernel.c
Modified: trunk/sysdeps/linux/prockernel.c
==============================================================================
--- trunk/sysdeps/linux/prockernel.c	(original)
+++ trunk/sysdeps/linux/prockernel.c	Sun Mar  2 18:07:22 2008
@@ -72,5 +72,7 @@
 
 	buf->nwchan = strtoull (p, &p, 0);
 
+	proc_file_to_buffer(buf->wchan, sizeof buf->wchan, "/proc/%d/wchan", pid),
+
 	buf->flags = _glibtop_sysdeps_proc_kernel;
 }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]