library: set stage for NUMA node field display support

In response to that suggestion referenced below, these
changes allow display of task/thread level NUMA nodes.

Currently, only the 'top' program offers any NUMA type
support and it is limited to the Summary Area display.
With this commit both the 'top' and 'ps' programs will
be able to display NUMA nodes associated with threads.

[ this patch has been adapted from the newlib branch ]
[ and implemented so as to preserve the existing ABI ]

Reference(s):
https://gitlab.com/procps-ng/procps/issues/58

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2017-05-13 00:02:00 -05:00
committed by Craig Small
parent 629fa81b57
commit 1a2ec0390a
4 changed files with 155 additions and 0 deletions

View File

@@ -39,6 +39,10 @@ global:
look_up_our_self;
lookup_wchan;
meminfo;
numa_init;
numa_max_node;
numa_node_of_cpu;
numa_uninit;
openproc;
page_bytes;
pretty_print_signals;