diff --git a/[refs] b/[refs] index b326f65cf49c..41955725399f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4a3d27e98a7f2682e96d6f863752e0424b00d691 +refs/heads/master: bf93f9ed3a2cb89eb7e58851139d3be375b98027 diff --git a/trunk/kernel/trace/trace.h b/trunk/kernel/trace/trace.h index fbff872f8db1..856e73cc1d3f 100644 --- a/trunk/kernel/trace/trace.h +++ b/trunk/kernel/trace/trace.h @@ -680,7 +680,14 @@ struct event_subsystem { #define FILTER_PRED_IS_RIGHT (1 << 15) #define FILTER_PRED_FOLD (1 << 15) -#define MAX_FILTER_PRED 32 +/* + * The max preds is the size of unsigned short with + * two flags at the MSBs. One bit is used for both the IS_RIGHT + * and FOLD flags. The other is reserved. + * + * 2^14 preds is way more than enough. + */ +#define MAX_FILTER_PRED 16384 struct filter_pred; struct regex;