Re: [PATCH v2] ftrace: Access ret_stack->subtime only in the function profiler

2016-09-01 Thread Steven Rostedt
On Wed, 31 Aug 2016 11:55:29 +0900 Namhyung Kim wrote: > 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 entr

[PATCH v2] ftrace: Access ret_stack->subtime only in the function profiler

2016-08-30 Thread Namhyung Kim
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. Cc: Josh Poimboeuf Signed-off-by: Namhyung Kim ---