diff options
author | Frédéric Weisbecker <fweisbec@gmail.com> | 2008-08-15 15:08:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:35:40 -0400 |
commit | 98a983aad2e5b3dc83a8a761675445cdd8f3e6bd (patch) | |
tree | f207a80453ff556fa1ddcb7eef4f17485a647161 /kernel/trace/trace.c | |
parent | 3989cce82b272bd6312555fcc47c11715c157102 (diff) |
ftrace: fix some mistakes in error messages
This patch fixes some mistakes on the tracer in warning messages when
debugfs fails to create tracing files.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: srostedt@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 97513c8ecd67..896e59f772c9 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -3030,12 +3030,12 @@ static __init void tracer_init_debugfs(void) | |||
3030 | entry = debugfs_create_file("available_tracers", 0444, d_tracer, | 3030 | entry = debugfs_create_file("available_tracers", 0444, d_tracer, |
3031 | &global_trace, &show_traces_fops); | 3031 | &global_trace, &show_traces_fops); |
3032 | if (!entry) | 3032 | if (!entry) |
3033 | pr_warning("Could not create debugfs 'trace' entry\n"); | 3033 | pr_warning("Could not create debugfs 'available_tracers' entry\n"); |
3034 | 3034 | ||
3035 | entry = debugfs_create_file("current_tracer", 0444, d_tracer, | 3035 | entry = debugfs_create_file("current_tracer", 0444, d_tracer, |
3036 | &global_trace, &set_tracer_fops); | 3036 | &global_trace, &set_tracer_fops); |
3037 | if (!entry) | 3037 | if (!entry) |
3038 | pr_warning("Could not create debugfs 'trace' entry\n"); | 3038 | pr_warning("Could not create debugfs 'current_tracer' entry\n"); |
3039 | 3039 | ||
3040 | entry = debugfs_create_file("tracing_max_latency", 0644, d_tracer, | 3040 | entry = debugfs_create_file("tracing_max_latency", 0644, d_tracer, |
3041 | &tracing_max_latency, | 3041 | &tracing_max_latency, |
@@ -3048,7 +3048,7 @@ static __init void tracer_init_debugfs(void) | |||
3048 | &tracing_thresh, &tracing_max_lat_fops); | 3048 | &tracing_thresh, &tracing_max_lat_fops); |
3049 | if (!entry) | 3049 | if (!entry) |
3050 | pr_warning("Could not create debugfs " | 3050 | pr_warning("Could not create debugfs " |
3051 | "'tracing_threash' entry\n"); | 3051 | "'tracing_thresh' entry\n"); |
3052 | entry = debugfs_create_file("README", 0644, d_tracer, | 3052 | entry = debugfs_create_file("README", 0644, d_tracer, |
3053 | NULL, &tracing_readme_fops); | 3053 | NULL, &tracing_readme_fops); |
3054 | if (!entry) | 3054 | if (!entry) |
@@ -3058,13 +3058,13 @@ static __init void tracer_init_debugfs(void) | |||
3058 | NULL, &tracing_pipe_fops); | 3058 | NULL, &tracing_pipe_fops); |
3059 | if (!entry) | 3059 | if (!entry) |
3060 | pr_warning("Could not create debugfs " | 3060 | pr_warning("Could not create debugfs " |
3061 | "'tracing_threash' entry\n"); | 3061 | "'trace_pipe' entry\n"); |
3062 | 3062 | ||
3063 | entry = debugfs_create_file("trace_entries", 0644, d_tracer, | 3063 | entry = debugfs_create_file("trace_entries", 0644, d_tracer, |
3064 | &global_trace, &tracing_entries_fops); | 3064 | &global_trace, &tracing_entries_fops); |
3065 | if (!entry) | 3065 | if (!entry) |
3066 | pr_warning("Could not create debugfs " | 3066 | pr_warning("Could not create debugfs " |
3067 | "'tracing_threash' entry\n"); | 3067 | "'trace_entries' entry\n"); |
3068 | 3068 | ||
3069 | #ifdef CONFIG_DYNAMIC_FTRACE | 3069 | #ifdef CONFIG_DYNAMIC_FTRACE |
3070 | entry = debugfs_create_file("dyn_ftrace_total_info", 0444, d_tracer, | 3070 | entry = debugfs_create_file("dyn_ftrace_total_info", 0444, d_tracer, |