]> Git Repo - linux.git/commit
ftrace: Access ret_stack->subtime only in the function profiler
authorNamhyung Kim <[email protected]>
Wed, 31 Aug 2016 02:55:29 +0000 (11:55 +0900)
committerSteven Rostedt <[email protected]>
Thu, 1 Sep 2016 16:19:40 +0000 (12:19 -0400)
commit8861dd303cba879bae9a9dcee74042fb642bf03b
tree9395c7c589d846cc94cbed3a960131fa15c72db4
parent613dccdf681aed9f9d1243bb2b8cd864a887802f
ftrace: Access ret_stack->subtime only in the function profiler

The subtime is used only for function profiler with function graph
tracer enabled.  Move the definition of subtime under
CONFIG_FUNCTION_PROFILER to reduce the memory usage.  Also move the
initialization of subtime into the graph entry callback.

Link: http://lkml.kernel.org/r/[email protected]
Cc: Ingo Molnar <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Documentation/trace/ftrace.txt
include/linux/ftrace.h
kernel/trace/ftrace.c
kernel/trace/trace_functions_graph.c
This page took 0.061036 seconds and 4 git commands to generate.