Annotate vital static information into inspection table: - nr_threads Information on these variables is stored into dedicated inspection section. Signed-off-by: Eugen Hristev --- kernel/fork.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/fork.c b/kernel/fork.c index 3da0f08615a9..c85948804aa7 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -106,6 +106,7 @@ #include #include #include +#include #include #include @@ -138,6 +139,7 @@ */ unsigned long total_forks; /* Handle normal Linux uptimes. */ int nr_threads; /* The idle threads do not count.. */ +MEMINSPECT_SIMPLE_ENTRY(nr_threads); static int max_threads; /* tunable limit on nr_threads */ -- 2.43.0