summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2017-05-31 16:56:48 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2017-06-13 17:10:23 -0400
commitf57a41434fc51732dd5e35e0e1aa9e607f1a05d6 (patch)
treed49f273ad29684f0d0b3b6d4581cfe3da1ff2cb4 /kernel/trace/trace.h
parent5f60b351a7e37bf243725bcc131708be2c8ea497 (diff)
downloadlinux-f57a41434fc51732dd5e35e0e1aa9e607f1a05d6.tar.bz2
trace: rename enum_map functions
Rename the core trace enum routines to use eval, to reflect their use by more than just enum to value mapping. Link: http://lkml.kernel.org/r/20170531215653.3240-8-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/trace.h')
-rw-r--r--kernel/trace/trace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index a9667297ae49..69a3ab3ee4f5 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -1773,10 +1773,10 @@ static inline const char *get_syscall_name(int syscall)
#ifdef CONFIG_EVENT_TRACING
void trace_event_init(void);
-void trace_event_enum_update(struct trace_eval_map **map, int len);
+void trace_event_eval_update(struct trace_eval_map **map, int len);
#else
static inline void __init trace_event_init(void) { }
-static inline void trace_event_enum_update(struct trace_eval_map **map, int len) { }
+static inline void trace_event_eval_update(struct trace_eval_map **map, int len) { }
#endif
extern struct trace_iterator *tracepoint_print_iter;