ftrace: Add information on number of page groups allocated
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 1 Oct 2019 18:38:07 +0000 (14:38 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 13 Nov 2019 14:37:28 +0000 (09:37 -0500)
commitda537f0aef1372c5204356a7df06be8769467b7b
tree644e63192d5cd0115e2e8c1517e0e93a25e112e9
parent77ac117b3a82251b109ffc5daf7d1c5392734be3
ftrace: Add information on number of page groups allocated

Looking for ways to shrink the size of the dyn_ftrace structure, knowing the
information about how many pages and the number of groups of those pages, is
useful in working out the best ways to save on memory.

This adds one info print on how many groups of pages were used to allocate
the ftrace dyn_ftrace structures, and also shows the number of pages and
groups in the dyn_ftrace_total_info (which is used for debugging).

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c
kernel/trace/trace.c
kernel/trace/trace.h