libgtop2 and xorg break

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Mon Aug 13 14:41:01 PDT 2007


Pieter Dumon wrote:
Hmm, I'm afraid I don't know enough about the kvm changes (or would
need to browse through the diffs).
I found most members of kinfo_proc and kinfo_proc.kp_lwp that replace the old
structures and members.  But, for instance, what should I replace
.kp_proc.p_vmspace by ? the lwp's lwp_vmspace ?
Nothing at all -- the vmspace is not being exported.  You might want to be interested in some memory statistics though.  All fields should be documented in /usr/include/sys/kinfo.h.

If you're in doubt, just list what the old code is using and I'll help you find a suitable replacement.

cheers
 simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




More information about the Users mailing list