]> 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)
commit75c7217b1849335d465263463ae9755e636e5ffb
tree644e63192d5cd0115e2e8c1517e0e93a25e112e9
parent5a6fb45714febd19ed00db5c8890cb9d41b6c25c
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