[procps] Re: top: NUMA node CPU utilization support

  • From: Craig Small <csmall-procps@xxxxxxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Wed, 10 Apr 2013 09:03:18 +1000

On Tue, Apr 09, 2013 at 08:05:03AM -0500, Jim Warner wrote:
> When a distro prepares their version procps, if it's compiled in the presence 
> of libnuma and numa.h then top will have NUMA support built-in.  But if 
> libnuma is not then part of that distro's basic system, top would break with 
> a loader error.
The right way is to use a --with-blah (--with-numa ?) to enable to
feature and then have configure check for the presence of that dev
library and headers. The configure should fail if they are not found.
Hmm, it might be --enable-numa, its a but unclear.
--with--blah means link with library blah, --enable-blah means turn on
feature blah. It's sort of both so perhaps doesn't matter.

The packagers then ensure that if they have enabled this feature that
they pull in the required library (Debian does this with dpkg-shlibdeps
which is run at build time)

-- 
Craig Small VK2XLZ   http://enc.com.au/          csmall at : enc.com.au
Debian GNU/Linux     http://www.debian.org/      csmall at : debian.org
GPG fingerprint:     5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5

Other related posts: