X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-filter.h;h=c3f06c4bcbed1524fea98afb83256b2686f30cc8;hb=fec3c5a6c7e43f1fd0ebaf4b23f6e9f3d37a952c;hp=0798354786fb6e61ef61c7a6e0d3896d559d68c3;hpb=bbd023d66d2368bbfdfb47325963d7e0123c7a8d;p=lttng-modules.git diff --git a/lttng-filter.h b/lttng-filter.h index 07983547..c3f06c4b 100644 --- a/lttng-filter.h +++ b/lttng-filter.h @@ -139,19 +139,19 @@ struct estack { #define estack_ax(stack, top) \ ({ \ - WARN_ON_ONCE((top) <= FILTER_STACK_EMPTY); \ + BUG_ON((top) <= FILTER_STACK_EMPTY); \ &(stack)->e[top]; \ }) #define estack_bx(stack, top) \ ({ \ - WARN_ON_ONCE((top) <= FILTER_STACK_EMPTY + 1); \ + BUG_ON((top) <= FILTER_STACK_EMPTY + 1); \ &(stack)->e[(top) - 1]; \ }) #define estack_push(stack, top, ax, bx) \ do { \ - WARN_ON_ONCE((top) >= FILTER_STACK_LEN - 1); \ + BUG_ON((top) >= FILTER_STACK_LEN - 1); \ (stack)->e[(top) - 1].u.v = (bx); \ (bx) = (ax); \ ++(top); \ @@ -159,7 +159,7 @@ struct estack { #define estack_pop(stack, top, ax, bx) \ do { \ - WARN_ON_ONCE((top) <= FILTER_STACK_EMPTY); \ + BUG_ON((top) <= FILTER_STACK_EMPTY); \ (ax) = (bx); \ (bx) = (stack)->e[(top) - 2].u.v; \ (top)--; \