KVM Linking

Dan Nelson dnelson at allantgroup.com
Wed Feb 2 19:24:03 PST 2005


In the last episode (Feb 02), Ashwin Chandra said:
> Hi, I am trying to create a kernel thread to monitor memory usage and
> context switches. I wrote a simple program in the kern dir, updated
> the files file in conf and i cant seem to link to the kvm
> libraries...whats the easy way to include the lib/libkvm files and
> directory without having to hack it through?

Since you're already in the kernel, you can simply read the variables
directly.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-hackers mailing list