KVM linking

2005-02-03 Thread Ashwin Chandra
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?

thanks
ash
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KVM Linking

2005-02-02 Thread Dan Nelson
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
[EMAIL PROTECTED]
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


KVM Linking

2005-02-02 Thread Ashwin Chandra
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?

thanks
ash
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"