]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16d6503f450e0ab11a25574c8357116a393f140b
tree644e63192d5cd0115e2e8c1517e0e93a25e112e9
parent628800d41d619d5170e76f970873338681abb50b
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