GNOME Bugzilla – Bug 605431
[PATCH] Fix numerous issues with the FreeBSD backend
Last modified: 2011-08-30 13:16:56 UTC
Created attachment 150371 [details] [review] Fix numerous issues with the FreeBSD backend The attached patch fixes numerous bugs (and adds some new OS support) to the FreeBSD backend. * Correct calculation of CPU time. * Fix a bug on newer versions of FreeBSD where computing the process map leads to a tight error loop. * Add support for the new procstat API to obtain the list of open files and cwd. * Use kvm_openfiles instead of kvm_open to better handle error messages. * Split some modules out into non-suid modules. * Properly determine the number of CPUs.
Attached is the updated version of this patch.
Created attachment 190667 [details] [review] Fix some FreeBSD specific issues
Applied your patch, thanks.