@@ -132,7 +132,7 @@ union trace_enum_map_item;
132132struct trace_enum_map_tail {
133133 /*
134134 * "end" is first and points to NULL as it must be different
135- * than "mod" or "enum_string "
135+ * than "mod" or "eval_string "
136136 */
137137 union trace_enum_map_item * next ;
138138 const char * end ; /* points to NULL */
@@ -148,7 +148,7 @@ static DEFINE_MUTEX(trace_enum_mutex);
148148 * pointer to the next array of saved enum_map items.
149149 */
150150union trace_enum_map_item {
151- struct trace_enum_map map ;
151+ struct trace_eval_map map ;
152152 struct trace_enum_map_head head ;
153153 struct trace_enum_map_tail tail ;
154154};
@@ -4748,7 +4748,7 @@ static const struct file_operations tracing_saved_cmdlines_size_fops = {
47484748static union trace_enum_map_item *
47494749update_enum_map (union trace_enum_map_item * ptr )
47504750{
4751- if (!ptr -> map .enum_string ) {
4751+ if (!ptr -> map .eval_string ) {
47524752 if (ptr -> tail .next ) {
47534753 ptr = ptr -> tail .next ;
47544754 /* Set ptr to the next real item (skip head) */
@@ -4808,7 +4808,7 @@ static int enum_map_show(struct seq_file *m, void *v)
48084808 union trace_enum_map_item * ptr = v ;
48094809
48104810 seq_printf (m , "%s %ld (%s)\n" ,
4811- ptr -> map .enum_string , ptr -> map .enum_value ,
4811+ ptr -> map .eval_string , ptr -> map .eval_value ,
48124812 ptr -> map .system );
48134813
48144814 return 0 ;
@@ -4844,11 +4844,11 @@ trace_enum_jmp_to_tail(union trace_enum_map_item *ptr)
48444844}
48454845
48464846static void
4847- trace_insert_enum_map_file (struct module * mod , struct trace_enum_map * * start ,
4847+ trace_insert_enum_map_file (struct module * mod , struct trace_eval_map * * start ,
48484848 int len )
48494849{
4850- struct trace_enum_map * * stop ;
4851- struct trace_enum_map * * map ;
4850+ struct trace_eval_map * * stop ;
4851+ struct trace_eval_map * * map ;
48524852 union trace_enum_map_item * map_array ;
48534853 union trace_enum_map_item * ptr ;
48544854
@@ -4902,13 +4902,13 @@ static void trace_create_enum_file(struct dentry *d_tracer)
49024902#else /* CONFIG_TRACE_ENUM_MAP_FILE */
49034903static inline void trace_create_enum_file (struct dentry * d_tracer ) { }
49044904static inline void trace_insert_enum_map_file (struct module * mod ,
4905- struct trace_enum_map * * start , int len ) { }
4905+ struct trace_eval_map * * start , int len ) { }
49064906#endif /* !CONFIG_TRACE_ENUM_MAP_FILE */
49074907
49084908static void trace_insert_enum_map (struct module * mod ,
4909- struct trace_enum_map * * start , int len )
4909+ struct trace_eval_map * * start , int len )
49104910{
4911- struct trace_enum_map * * map ;
4911+ struct trace_eval_map * * map ;
49124912
49134913 if (len <= 0 )
49144914 return ;
@@ -7732,8 +7732,8 @@ struct dentry *tracing_init_dentry(void)
77327732 return NULL ;
77337733}
77347734
7735- extern struct trace_enum_map * __start_ftrace_eval_maps [];
7736- extern struct trace_enum_map * __stop_ftrace_eval_maps [];
7735+ extern struct trace_eval_map * __start_ftrace_eval_maps [];
7736+ extern struct trace_eval_map * __stop_ftrace_eval_maps [];
77377737
77387738static void __init trace_enum_init (void )
77397739{
0 commit comments