]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
tracing: remove /debug/tracing/latency_trace
authorIngo Molnar <mingo@elte.hu>
Wed, 25 Feb 2009 10:03:44 +0000 (11:03 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Feb 2009 10:05:34 +0000 (11:05 +0100)
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 <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c

index e1f3b99a2e528dbf1aae3234ed8edab63c7b91bb..11ba100f9a9e92afeed53e0f594930009536aa3b 100644 (file)
@@ -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)