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

From: Steven Rostedt
Date: Thu Sep 01 2016 - 12:20:58 EST


On Wed, 31 Aug 2016 11:55:29 +0900
Namhyung Kim <namhyung@xxxxxxxxxx> 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 entry callback.
>
> Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Applied, thanks Namhyung!

-- Steve