• Home
  • Raw
  • Download

Lines Matching refs:event

280 	struct trace_event_call *event;  in trace_raw_output_prep()  local
285 event = container_of(trace_event, struct trace_event_call, event); in trace_raw_output_prep()
288 if (entry->type != event->event.type) { in trace_raw_output_prep()
294 trace_seq_printf(s, "%s: ", trace_event_name(event)); in trace_raw_output_prep()
648 struct trace_event *event; in ftrace_find_event() local
653 hlist_for_each_entry(event, &event_hash[key], node) { in ftrace_find_event()
654 if (event->type == type) in ftrace_find_event()
655 return event; in ftrace_find_event()
716 int register_trace_event(struct trace_event *event) in register_trace_event() argument
723 if (WARN_ON(!event)) in register_trace_event()
726 if (WARN_ON(!event->funcs)) in register_trace_event()
729 INIT_LIST_HEAD(&event->list); in register_trace_event()
731 if (!event->type) { in register_trace_event()
736 event->type = trace_search_list(&list); in register_trace_event()
737 if (!event->type) in register_trace_event()
742 event->type = next_event_type++; in register_trace_event()
746 if (WARN_ON(ftrace_find_event(event->type))) in register_trace_event()
749 list_add_tail(&event->list, list); in register_trace_event()
751 } else if (event->type > __TRACE_LAST_TYPE) { in register_trace_event()
757 if (ftrace_find_event(event->type)) in register_trace_event()
761 if (event->funcs->trace == NULL) in register_trace_event()
762 event->funcs->trace = trace_nop_print; in register_trace_event()
763 if (event->funcs->raw == NULL) in register_trace_event()
764 event->funcs->raw = trace_nop_print; in register_trace_event()
765 if (event->funcs->hex == NULL) in register_trace_event()
766 event->funcs->hex = trace_nop_print; in register_trace_event()
767 if (event->funcs->binary == NULL) in register_trace_event()
768 event->funcs->binary = trace_nop_print; in register_trace_event()
770 key = event->type & (EVENT_HASHSIZE - 1); in register_trace_event()
772 hlist_add_head(&event->node, &event_hash[key]); in register_trace_event()
774 ret = event->type; in register_trace_event()
785 int __unregister_trace_event(struct trace_event *event) in __unregister_trace_event() argument
787 hlist_del(&event->node); in __unregister_trace_event()
788 list_del(&event->list); in __unregister_trace_event()
796 int unregister_trace_event(struct trace_event *event) in unregister_trace_event() argument
799 __unregister_trace_event(event); in unregister_trace_event()
811 struct trace_event *event) in trace_nop_print() argument
820 struct trace_event *event) in trace_fn_trace() argument
840 struct trace_event *event) in trace_fn_raw() argument
854 struct trace_event *event) in trace_fn_hex() argument
868 struct trace_event *event) in trace_fn_bin() argument
921 struct trace_event *event) in trace_ctx_print() argument
927 int flags, struct trace_event *event) in trace_wake_print() argument
955 struct trace_event *event) in trace_ctx_raw() argument
961 struct trace_event *event) in trace_wake_raw() argument
991 struct trace_event *event) in trace_ctx_hex() argument
997 struct trace_event *event) in trace_wake_hex() argument
1003 int flags, struct trace_event *event) in trace_ctxwake_bin() argument
1048 int flags, struct trace_event *event) in trace_stack_print() argument
1084 int flags, struct trace_event *event) in trace_user_stack_print() argument
1138 struct trace_event *event) in trace_hwlat_print() argument
1173 struct trace_event *event) in trace_hwlat_raw() argument
1203 struct trace_event *event) in trace_bputs_print() argument
1221 struct trace_event *event) in trace_bputs_raw() argument
1247 struct trace_event *event) in trace_bprint_print() argument
1265 struct trace_event *event) in trace_bprint_raw() argument
1290 int flags, struct trace_event *event) in trace_print_print() argument
1304 struct trace_event *event) in trace_print_raw() argument
1326 struct trace_event *event) in trace_raw_data() argument
1371 struct trace_event *event; in init_events() local
1375 event = events[i]; in init_events()
1377 ret = register_trace_event(event); in init_events()
1380 event->type); in init_events()