|
@@ -896,6 +896,7 @@ int using_ftrace_ops_list_func(void);
|
|
|
void ftrace_init_tracefs(struct trace_array *tr, struct dentry *d_tracer);
|
|
|
void ftrace_init_tracefs_toplevel(struct trace_array *tr,
|
|
|
struct dentry *d_tracer);
|
|
|
+void ftrace_clear_pids(struct trace_array *tr);
|
|
|
#else
|
|
|
static inline int ftrace_trace_task(struct trace_array *tr)
|
|
|
{
|
|
@@ -914,6 +915,7 @@ ftrace_init_global_array_ops(struct trace_array *tr) { }
|
|
|
static inline void ftrace_reset_array_ops(struct trace_array *tr) { }
|
|
|
static inline void ftrace_init_tracefs(struct trace_array *tr, struct dentry *d) { }
|
|
|
static inline void ftrace_init_tracefs_toplevel(struct trace_array *tr, struct dentry *d) { }
|
|
|
+static inline void ftrace_clear_pids(struct trace_array *tr) { }
|
|
|
/* ftace_func_t type is not defined, use macro instead of static inline */
|
|
|
#define ftrace_init_array_ops(tr, func) do { } while (0)
|
|
|
#endif /* CONFIG_FUNCTION_TRACER */
|