diff options
author | Andrey Konovalov <andrey.konovalov@linaro.org> | 2015-07-23 18:10:53 +0300 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2015-07-23 18:10:53 +0300 |
commit | 2ea9241b5ba33d51ea9beebea754538d9c3de3a6 (patch) | |
tree | 51789e98256a63f68437e46e36b9452761676b3c | |
parent | 73fadb7e9b120bc06eca850db692bd3eff44ea19 (diff) |
Fix compilation error in kernel/trace/trace_functions_graph.ctracking-linaro-android-llct-fixes-llct-20150723.1
commit 6f6f99a38 "trace: add non-hierarchical function_graph option"
has not been fully merged into test/linaro-android-llct. Add the
missing part to fix the compilation error.
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
-rw-r--r-- | kernel/trace/trace_functions_graph.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c index 87053956a816..9e9dfff818da 100644 --- a/kernel/trace/trace_functions_graph.c +++ b/kernel/trace/trace_functions_graph.c @@ -1447,16 +1447,6 @@ static __init int init_graph_trace(void) { max_bytes_for_cpu = snprintf(NULL, 0, "%d", nr_cpu_ids - 1); - if (!register_trace_event(&graph_trace_entry_event)) { - pr_warning("Warning: could not register graph trace events\n"); - return 1; - } - - if (!register_trace_event(&graph_trace_ret_event)) { - pr_warning("Warning: could not register graph trace events\n"); - return 1; - } - return register_tracer(&graph_trace); } |