diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-05-04 18:12:44 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-05-13 14:05:13 -0400 |
commit | 645df987f7c1740bb1ba783ab907001720a20cf7 (patch) | |
tree | d0ca0ac86bf11c3374fb4a1222e5076f78d92bd8 /kernel/trace/trace_output.c | |
parent | af658dca221207174fc0a7bcdcd4cff7c589fdd8 (diff) |
tracing: Rename ftrace_print_*() functions ta trace_print_*()
The name "ftrace" really refers to the function hook infrastructure. It
is not about the trace_events. The functions ftrace_print_*() are not part of
the function infrastructure, and the names can be confusing. Rename them
to be trace_print_*().
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_output.c')
-rw-r--r-- | kernel/trace/trace_output.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c index 25a086bcb700..4243bf620a27 100644 --- a/kernel/trace/trace_output.c +++ b/kernel/trace/trace_output.c | |||
@@ -60,9 +60,9 @@ enum print_line_t trace_print_printk_msg_only(struct trace_iterator *iter) | |||
60 | } | 60 | } |
61 | 61 | ||
62 | const char * | 62 | const char * |
63 | ftrace_print_flags_seq(struct trace_seq *p, const char *delim, | 63 | trace_print_flags_seq(struct trace_seq *p, const char *delim, |
64 | unsigned long flags, | 64 | unsigned long flags, |
65 | const struct trace_print_flags *flag_array) | 65 | const struct trace_print_flags *flag_array) |
66 | { | 66 | { |
67 | unsigned long mask; | 67 | unsigned long mask; |
68 | const char *str; | 68 | const char *str; |
@@ -95,11 +95,11 @@ ftrace_print_flags_seq(struct trace_seq *p, const char *delim, | |||
95 | 95 | ||
96 | return ret; | 96 | return ret; |
97 | } | 97 | } |
98 | EXPORT_SYMBOL(ftrace_print_flags_seq); | 98 | EXPORT_SYMBOL(trace_print_flags_seq); |
99 | 99 | ||
100 | const char * | 100 | const char * |
101 | ftrace_print_symbols_seq(struct trace_seq *p, unsigned long val, | 101 | trace_print_symbols_seq(struct trace_seq *p, unsigned long val, |
102 | const struct trace_print_flags *symbol_array) | 102 | const struct trace_print_flags *symbol_array) |
103 | { | 103 | { |
104 | int i; | 104 | int i; |
105 | const char *ret = trace_seq_buffer_ptr(p); | 105 | const char *ret = trace_seq_buffer_ptr(p); |
@@ -120,11 +120,11 @@ ftrace_print_symbols_seq(struct trace_seq *p, unsigned long val, | |||
120 | 120 | ||
121 | return ret; | 121 | return ret; |
122 | } | 122 | } |
123 | EXPORT_SYMBOL(ftrace_print_symbols_seq); | 123 | EXPORT_SYMBOL(trace_print_symbols_seq); |
124 | 124 | ||
125 | #if BITS_PER_LONG == 32 | 125 | #if BITS_PER_LONG == 32 |
126 | const char * | 126 | const char * |
127 | ftrace_print_symbols_seq_u64(struct trace_seq *p, unsigned long long val, | 127 | trace_print_symbols_seq_u64(struct trace_seq *p, unsigned long long val, |
128 | const struct trace_print_flags_u64 *symbol_array) | 128 | const struct trace_print_flags_u64 *symbol_array) |
129 | { | 129 | { |
130 | int i; | 130 | int i; |
@@ -146,12 +146,12 @@ ftrace_print_symbols_seq_u64(struct trace_seq *p, unsigned long long val, | |||
146 | 146 | ||
147 | return ret; | 147 | return ret; |
148 | } | 148 | } |
149 | EXPORT_SYMBOL(ftrace_print_symbols_seq_u64); | 149 | EXPORT_SYMBOL(trace_print_symbols_seq_u64); |
150 | #endif | 150 | #endif |
151 | 151 | ||
152 | const char * | 152 | const char * |
153 | ftrace_print_bitmask_seq(struct trace_seq *p, void *bitmask_ptr, | 153 | trace_print_bitmask_seq(struct trace_seq *p, void *bitmask_ptr, |
154 | unsigned int bitmask_size) | 154 | unsigned int bitmask_size) |
155 | { | 155 | { |
156 | const char *ret = trace_seq_buffer_ptr(p); | 156 | const char *ret = trace_seq_buffer_ptr(p); |
157 | 157 | ||
@@ -160,10 +160,10 @@ ftrace_print_bitmask_seq(struct trace_seq *p, void *bitmask_ptr, | |||
160 | 160 | ||
161 | return ret; | 161 | return ret; |
162 | } | 162 | } |
163 | EXPORT_SYMBOL_GPL(ftrace_print_bitmask_seq); | 163 | EXPORT_SYMBOL_GPL(trace_print_bitmask_seq); |
164 | 164 | ||
165 | const char * | 165 | const char * |
166 | ftrace_print_hex_seq(struct trace_seq *p, const unsigned char *buf, int buf_len) | 166 | trace_print_hex_seq(struct trace_seq *p, const unsigned char *buf, int buf_len) |
167 | { | 167 | { |
168 | int i; | 168 | int i; |
169 | const char *ret = trace_seq_buffer_ptr(p); | 169 | const char *ret = trace_seq_buffer_ptr(p); |
@@ -175,11 +175,11 @@ ftrace_print_hex_seq(struct trace_seq *p, const unsigned char *buf, int buf_len) | |||
175 | 175 | ||
176 | return ret; | 176 | return ret; |
177 | } | 177 | } |
178 | EXPORT_SYMBOL(ftrace_print_hex_seq); | 178 | EXPORT_SYMBOL(trace_print_hex_seq); |
179 | 179 | ||
180 | const char * | 180 | const char * |
181 | ftrace_print_array_seq(struct trace_seq *p, const void *buf, int count, | 181 | trace_print_array_seq(struct trace_seq *p, const void *buf, int count, |
182 | size_t el_size) | 182 | size_t el_size) |
183 | { | 183 | { |
184 | const char *ret = trace_seq_buffer_ptr(p); | 184 | const char *ret = trace_seq_buffer_ptr(p); |
185 | const char *prefix = ""; | 185 | const char *prefix = ""; |
@@ -220,7 +220,7 @@ ftrace_print_array_seq(struct trace_seq *p, const void *buf, int count, | |||
220 | 220 | ||
221 | return ret; | 221 | return ret; |
222 | } | 222 | } |
223 | EXPORT_SYMBOL(ftrace_print_array_seq); | 223 | EXPORT_SYMBOL(trace_print_array_seq); |
224 | 224 | ||
225 | int ftrace_raw_output_prep(struct trace_iterator *iter, | 225 | int ftrace_raw_output_prep(struct trace_iterator *iter, |
226 | struct trace_event *trace_event) | 226 | struct trace_event *trace_event) |