• Home
  • Raw
  • Download

Lines Matching refs:name

75 __find_event_field(struct list_head *head, char *name)  in __find_event_field()  argument
80 if (!strcmp(field->name, name)) in __find_event_field()
88 trace_find_event_field(struct trace_event_call *call, char *name) in trace_find_event_field() argument
94 field = __find_event_field(head, name); in trace_find_event_field()
98 field = __find_event_field(&ftrace_generic_fields, name); in trace_find_event_field()
102 return __find_event_field(&ftrace_common_fields, name); in trace_find_event_field()
106 const char *name, int offset, int size, in __trace_define_field() argument
115 field->name = name; in __trace_define_field()
133 const char *name, int offset, int size, int is_signed, in trace_define_field() argument
142 return __trace_define_field(head, type, name, offset, size, in trace_define_field()
659 kfree_const(system->name); in __put_system()
737 const char *name; in __ftrace_set_clr_event_nolock() local
744 name = trace_event_name(call); in __ftrace_set_clr_event_nolock()
746 if (!name || !call->class || !call->class->reg) in __ftrace_set_clr_event_nolock()
753 strcmp(match, name) != 0 && in __ftrace_set_clr_event_nolock()
760 if (event && strcmp(event, name) != 0) in __ftrace_set_clr_event_nolock()
1111 if (system && strcmp(call->class->system, system->name) != 0) in system_enable_read()
1143 const char *name = NULL; in system_enable_write() local
1163 name = system->name; in system_enable_write()
1165 ret = __ftrace_set_clr_event(dir->tr, NULL, name, NULL, val); in system_enable_write()
1253 field->type, field->name, field->offset, in f_show()
1258 field->type, field->name, in f_show()
1841 create_new_subsystem(const char *name) in create_new_subsystem() argument
1853 system->name = kstrdup_const(name, GFP_KERNEL); in create_new_subsystem()
1854 if (!system->name) in create_new_subsystem()
1868 kfree_const(system->name); in create_new_subsystem()
1874 event_subsystem_dir(struct trace_array *tr, const char *name, in event_subsystem_dir() argument
1884 if (strcmp(system->name, name) == 0) { in event_subsystem_dir()
1893 if (strcmp(system->name, name) == 0) in event_subsystem_dir()
1905 system = create_new_subsystem(name); in event_subsystem_dir()
1911 dir->entry = tracefs_create_dir(name, parent); in event_subsystem_dir()
1913 pr_warn("Failed to create system directory %s\n", name); in event_subsystem_dir()
1929 pr_warn("Could not create tracefs '%s/filter' entry\n", name); in event_subsystem_dir()
1944 pr_warn("No memory to create event subsystem %s\n", name); in event_subsystem_dir()
1955 const char *name; in event_create_dir() local
1969 name = trace_event_name(call); in event_create_dir()
1970 file->dir = tracefs_create_dir(name, d_events); in event_create_dir()
1972 pr_warn("Could not create tracefs '%s' directory\n", name); in event_create_dir()
1996 name); in event_create_dir()
2074 const char *name; in event_init() local
2076 name = trace_event_name(call); in event_init()
2077 if (WARN_ON(!name)) in event_init()
2083 pr_warn("Could not initialize trace events/%s\n", name); in event_init()
2391 mod->name); in trace_module_add_events()
2474 const char *name; in __find_event_file() local
2479 name = trace_event_name(call); in __find_event_file()
2481 if (!name || !call->class) in __find_event_file()
2484 if (strcmp(event, name) == 0 && in __find_event_file()
2803 .name = ENABLE_EVENT_STR,
2808 .name = DISABLE_EVENT_STR,
3304 if (strcmp(system->name, "ftrace") == 0) in event_trace_self_tests()
3307 pr_info("Testing event system %s: ", system->name); in event_trace_self_tests()
3309 ret = __ftrace_set_clr_event(tr, NULL, system->name, NULL, 1); in event_trace_self_tests()
3312 system->name); in event_trace_self_tests()
3318 ret = __ftrace_set_clr_event(tr, NULL, system->name, NULL, 0); in event_trace_self_tests()
3321 system->name); in event_trace_self_tests()