From: Ingo Molnar Date: Wed, 25 Feb 2009 10:03:44 +0000 (+0100) Subject: tracing: remove /debug/tracing/latency_trace X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=886b5b73d71e4027d7dc6c14f5f7ab102201ea6b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git tracing: remove /debug/tracing/latency_trace Impact: remove old debug/tracing API /debug/tracing/latency_trace is an old legacy format we kept from the old latency tracer. Remove the file for now. If there's any useful bit missing then we'll propagate any useful output bits into the /debug/tracing/trace output. Reported-by: Andrew Morton Signed-off-by: Ingo Molnar --- diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index e1f3b99a2e52..11ba100f9a9e 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2938,11 +2938,6 @@ static __init int tracer_init_debugfs(void) if (!entry) pr_warning("Could not create debugfs 'tracing_cpumask' entry\n"); - entry = debugfs_create_file("latency_trace", 0444, d_tracer, - &global_trace, &tracing_lt_fops); - if (!entry) - pr_warning("Could not create debugfs 'latency_trace' entry\n"); - entry = debugfs_create_file("trace", 0444, d_tracer, &global_trace, &tracing_fops); if (!entry)