diff options
author | 2014-07-18 15:17:27 +0400 | |
---|---|---|
committer | 2014-07-18 15:48:52 -0400 | |
commit | 6508fa761c330a1d2b4ae36199d08dbcb70e3ddb (patch) | |
tree | c5c76da37fddea1160d8a18ace06d89da3e20ec9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ring-buffer: Always run per-cpu ring buffer resize with schedule_work_on() (diff) | |
download | linux-dev-6508fa761c330a1d2b4ae36199d08dbcb70e3ddb.tar.xz linux-dev-6508fa761c330a1d2b4ae36199d08dbcb70e3ddb.zip |
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 <stfomichev@yandex-team.ru>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions