• Home
  • Raw
  • Download

Lines Matching refs:export

273 trace_process_export(struct trace_export *export,  in trace_process_export()  argument
279 if (export->flags & flag) { in trace_process_export()
282 export->write(export, entry, size); in trace_process_export()
294 static inline void ftrace_exports_enable(struct trace_export *export) in ftrace_exports_enable() argument
296 if (export->flags & TRACE_EXPORT_FUNCTION) in ftrace_exports_enable()
299 if (export->flags & TRACE_EXPORT_EVENT) in ftrace_exports_enable()
302 if (export->flags & TRACE_EXPORT_MARKER) in ftrace_exports_enable()
306 static inline void ftrace_exports_disable(struct trace_export *export) in ftrace_exports_disable() argument
308 if (export->flags & TRACE_EXPORT_FUNCTION) in ftrace_exports_disable()
311 if (export->flags & TRACE_EXPORT_EVENT) in ftrace_exports_disable()
314 if (export->flags & TRACE_EXPORT_MARKER) in ftrace_exports_disable()
320 struct trace_export *export; in ftrace_exports() local
324 export = rcu_dereference_raw_check(ftrace_exports_list); in ftrace_exports()
325 while (export) { in ftrace_exports()
326 trace_process_export(export, event, flag); in ftrace_exports()
327 export = rcu_dereference_raw_check(export->next); in ftrace_exports()
334 add_trace_export(struct trace_export **list, struct trace_export *export) in add_trace_export() argument
336 rcu_assign_pointer(export->next, *list); in add_trace_export()
343 rcu_assign_pointer(*list, export); in add_trace_export()
347 rm_trace_export(struct trace_export **list, struct trace_export *export) in rm_trace_export() argument
352 if (*p == export) in rm_trace_export()
355 if (*p != export) in rm_trace_export()
364 add_ftrace_export(struct trace_export **list, struct trace_export *export) in add_ftrace_export() argument
366 ftrace_exports_enable(export); in add_ftrace_export()
368 add_trace_export(list, export); in add_ftrace_export()
372 rm_ftrace_export(struct trace_export **list, struct trace_export *export) in rm_ftrace_export() argument
376 ret = rm_trace_export(list, export); in rm_ftrace_export()
377 ftrace_exports_disable(export); in rm_ftrace_export()
382 int register_ftrace_export(struct trace_export *export) in register_ftrace_export() argument
384 if (WARN_ON_ONCE(!export->write)) in register_ftrace_export()
389 add_ftrace_export(&ftrace_exports_list, export); in register_ftrace_export()
397 int unregister_ftrace_export(struct trace_export *export) in unregister_ftrace_export() argument
403 ret = rm_ftrace_export(&ftrace_exports_list, export); in unregister_ftrace_export()