From: Stanislav Fomichev Date: Fri, 18 Jul 2014 11:17:27 +0000 (+0400) Subject: tracing: let user specify tracing_thresh after selecting function_graph X-Git-Tag: omap-for-v3.17/fixes-against-rc2~186^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6508fa761c330a1d2b4ae36199d08dbcb70e3ddb;p=pandora-kernel.git tracing: let user specify tracing_thresh after selecting function_graph Currently, tracing_thresh works only if we specify it before selecting function_graph tracer. If we do the opposite, tracing_thresh will change it's value, but it will not be applied. To fix it, we add update_thresh callback which is called whenever tracing_thresh is updated and for function_graph tracer we register handler which reinitializes tracer depending on tracing_thresh. Link: http://lkml.kernel.org/p/20140718111727.GA3206@stfomichev-desktop.yandex.net Signed-off-by: Stanislav Fomichev Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed