Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Feb 2005 21:24:01 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Ashwin Chandra <ashcs@ucla.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: KVM Linking
Message-ID:  <20050203032401.GB65765@dan.emsphone.com>
In-Reply-To: <005e01c50997$abd9b350$58e243a4@ash>
References:  <005e01c50997$abd9b350$58e243a4@ash>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050203032401.GB65765>