diff options
author | Jeremy Linton <jeremy.linton@arm.com> | 2017-05-31 16:56:42 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-06-13 17:08:46 -0400 |
commit | 02fd7f68f5342bc7e8054cb05ea4a07f26d41d12 (patch) | |
tree | 1c53aaadfd7ee5c4dbb00a3ff08ffc6e2ab390fd /kernel/trace | |
parent | 6a5ae63a0cc5d3ac73a96cb412fde66f3a71f98e (diff) | |
download | op-kernel-dev-02fd7f68f5342bc7e8054cb05ea4a07f26d41d12.zip op-kernel-dev-02fd7f68f5342bc7e8054cb05ea4a07f26d41d12.tar.gz |
trace: rename kernel enum section to eval
The kernel and its modules have sections containing the enum
string to value conversions. Rename this section because we
intend to store more than enums in it.
Link: http://lkml.kernel.org/r/20170531215653.3240-2-jeremy.linton@arm.com
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/trace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 63deff9..acd3eb4 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -7732,15 +7732,15 @@ struct dentry *tracing_init_dentry(void) return NULL; } -extern struct trace_enum_map *__start_ftrace_enum_maps[]; -extern struct trace_enum_map *__stop_ftrace_enum_maps[]; +extern struct trace_enum_map *__start_ftrace_eval_maps[]; +extern struct trace_enum_map *__stop_ftrace_eval_maps[]; static void __init trace_enum_init(void) { int len; - len = __stop_ftrace_enum_maps - __start_ftrace_enum_maps; - trace_insert_enum_map(NULL, __start_ftrace_enum_maps, len); + len = __stop_ftrace_eval_maps - __start_ftrace_eval_maps; + trace_insert_enum_map(NULL, __start_ftrace_eval_maps, len); } #ifdef CONFIG_MODULES |