111 Commits

Author SHA1 Message Date
jasper
6bb8f248aa update to libgtop-2.40.0 2019-04-27 13:45:24 +00:00
robert
ab659b1c1a do not error out, just warn on kvm_nlist() 2018-04-27 11:27:07 +00:00
robert
ecda17faba unbreak by using KVM_NO_FILES for kvm_openfiles() and by using sysctl
to get shminfo, seminfo and msginfo

ok jasper@
2018-04-27 10:20:03 +00:00
jasper
f141583332 neuter all kvm(3) calls until a proper fix is found. this allows
gnome-system-monitor to report net/disk usage again instead of simply dumping core
2017-11-08 15:26:12 +00:00
jasper
a887c6fc0c update to libgtop2-2.38.0 with a stub implementation for procio 2017-11-03 11:22:11 +00:00
espie
bb69995604 barf-inducing fix for clang, which doesn't like stuff that vaguely
looks like prototypes (which is what you get when including ~kernel
stuff in userland.

okay jasper@
2017-04-17 09:46:45 +00:00
dlg
9ce38bec5c gut the procmap functionality so this can build.
i broke it by moving uvm datastructures from RB macros to RBT
functions. gutting libgtop2 basically means make it return an empty
list of mappings.

ok jasper@ sthen@
2016-10-03 12:11:29 +00:00
jasper
fa9c93932f update to libgtop-2.34.1 2016-08-21 09:49:41 +00:00
jasper
4403b1b039 update to libgtop-2.34.0 2016-04-20 06:20:38 +00:00
ajacoutot
be02f02e9a openbsd: only PID 1 is special (upstream) 2016-01-12 16:38:29 +00:00
jasper
9939f20993 pushed upstream 2015-12-11 14:19:04 +00:00
jasper
45b1a7515d - update to libgtop2-2.32.0
* various changes, mostly upstream rototilling code
2015-12-11 14:07:30 +00:00
mpi
639e472f13 Rewrite glibtop_get_netload_p() to use getifaddrs(3) instead of KVM.
ok jasper@
2015-12-06 15:19:49 +00:00
jasper
b75e4900b5 committed upstream 2014-11-18 18:35:47 +00:00
sthen
de8f270fea fix following uvm_extern.h changes, ok jasper@ 2014-11-18 16:04:43 +00:00
jasper
65c3728d26 these patches were committed upstream 2014-09-08 07:40:29 +00:00
jasper
3b3cd2849d unbreak with upcoming dkstat.h removal 2014-09-08 07:35:31 +00:00
ajacoutot
d52b94e953 Meh, forgot in previous. 2014-07-15 06:58:10 +00:00
ajacoutot
9a8a048a80 Pushed upstream. 2014-07-15 06:53:29 +00:00
robert
5d0c4abde6 remove debug code 2014-07-11 16:58:50 +00:00
robert
6d6e4d3033 add SMP support to libgtop 2014-07-11 16:57:55 +00:00
sthen
386cce839c #include <sys/mutex.h>
typedef int boolean_t;
2014-07-10 10:26:47 +00:00
jasper
9c4009aaaa update to libgtop-2.30.0 2014-04-29 06:27:57 +00:00
ajacoutot
0f126269d8 Re-add comment that got removed in previous commit. 2014-04-10 14:37:10 +00:00
naddy
507115b7c5 switch from VM_METER to VM_UVMEXP; ok jasper@ 2014-04-08 18:55:59 +00:00
ajacoutot
8202e5759f Tweak patching a bit and regen PLIST. 2014-03-31 09:34:52 +00:00
ajacoutot
0b1efb4979 Add comment to drop these patches when a new libgtop2 release is out. 2014-02-08 10:58:20 +00:00
ajacoutot
d1dc35750e Drop unecessary checks and bring glibtop_get_proc_segment from FreeBSD. 2014-02-08 10:55:31 +00:00
ajacoutot
441a4290ce Drop CVS keyword from patch. 2014-02-03 13:56:38 +00:00
ajacoutot
9e302c2f3b Explicitely mark all files that can be removed when the next release is out. 2014-02-03 13:50:32 +00:00
ajacoutot
32aff4539f Sync with what was committed upstream to bring us closer to what FreeBSD
does.
Properly use the OpenBSD-specific code instead of the common one.

ok jasper@ (maintainer)
2014-02-03 13:46:19 +00:00
ajacoutot
05d51f689f Drop unneeded chunks. 2014-02-02 11:33:45 +00:00
ajacoutot
71534c3817 Better handling of p_wchan and drop useless mfs chunk. 2014-02-01 18:11:43 +00:00
ajacoutot
3eabe57877 Drop all lsof related code.
ok jasper@
2014-01-23 14:06:34 +00:00
ajacoutot
17e7afcf7f Patch away the CVS Id. 2014-01-23 13:10:20 +00:00
jasper
4d9ce49da6 pushed upstream 2014-01-23 09:41:25 +00:00
robert
9e0a413871 fix several issues with libgtop2 process information code
ok jasper@
2013-12-09 14:26:56 +00:00
jca
8d2097b69d Cope with net*/ headers change. No bump needed (didn't build and last
bump was today).  ok sthen@ jasper@
2013-11-26 21:56:52 +00:00
sthen
db88da2cb8 remove a bunch of patches to the autoconf output script that was coping
with lack of inter-lib deps for gettext, ok ajacoutot@
2013-11-26 12:01:19 +00:00
robert
e9c9f7a1c0 wchan is no longer exposed, just check if wmesg is not empty, which is done
already and then use p_wmesg instead of trying to strlcpy p_wmesg[0]
this fixes one out of two bugs of libgtop2
ok jasper@
2013-11-19 07:30:58 +00:00
ajacoutot
1613a69f56 Committed upstream. 2013-10-16 15:11:12 +00:00
bluhm
f83dca4dc6 Including the header file netinet6/in6_var.h from netinet/in_var.h
automatically is bad.  To change that, a few ports must be adapted.
Do an explicit #include <netinet6/in6_var.h> when it is needed.
OK ajacoutot@

Commit the remaining ports that were blocked by an cvs commit error
in devel/jdk/1.7/patches.
2013-10-16 15:04:07 +00:00
ajacoutot
7f6047ea4d Update to libgtop2-2.28.5.
No noticeable changes besides our patches being integrated upstream.
2013-08-26 08:43:14 +00:00
espie
379139bf21 fix build after guenther moved some fields in struct proc from timeval
to timespec
2013-06-08 13:05:13 +00:00
jasper
5e3e9ff70d pushed upstream 2013-05-29 17:04:38 +00:00
naddy
58924627d9 fix build after uvm_extern.h rev 1.105 and read the intended variables
ok jasper@ sthen@
2013-05-21 15:11:43 +00:00
jasper
f7f14f0e06 pushed upstream 2013-04-01 11:42:18 +00:00
jasper
6bdc9ca952 adjust now that regular users can't read wchan anymore. 2013-03-27 07:57:38 +00:00
jasper
8ac9f70c34 committed upstream 2012-12-18 21:48:47 +00:00
sthen
40f5f67190 cope with sysctl.h changes 2012-12-18 21:38:12 +00:00