tracing/filter: Move MAX_FILTER_PRED to local tracing directory
The MAX_FILTER_PRED is only needed by the kernel/trace/*.c files. Move it to kernel/trace/trace.h. Cc: Tom Zanussi <tzanussi@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
43cd414552
commit
4a3d27e98a
|
@ -208,7 +208,6 @@ struct ftrace_event_call {
|
|||
|
||||
#define PERF_MAX_TRACE_SIZE 2048
|
||||
|
||||
#define MAX_FILTER_PRED 32
|
||||
#define MAX_FILTER_STR_VAL 256 /* Should handle KSYM_SYMBOL_LEN */
|
||||
|
||||
extern void destroy_preds(struct ftrace_event_call *call);
|
||||
|
|
|
@ -680,6 +680,8 @@ struct event_subsystem {
|
|||
#define FILTER_PRED_IS_RIGHT (1 << 15)
|
||||
#define FILTER_PRED_FOLD (1 << 15)
|
||||
|
||||
#define MAX_FILTER_PRED 32
|
||||
|
||||
struct filter_pred;
|
||||
struct regex;
|
||||
|
||||
|
|
Loading…
Reference in New Issue