Actions
Bug #688
closedInconsistent filter bytecode rules
Start date:
11/19/2013
Due date:
% Done:
100%
Estimated time:
Description
This speaks for itself:
[...] $ lttng enable-event -u "broken1" --filter '((1 > 1) > 1) > 1' Filter '((1 > 1) > 1) > 1' successfully set $ lttng enable-event -u "broken2" --filter '1 > (1 > (1 > 1))' [error] Nesting of binary operators is not allowed, except for logical operators. Error: Event broken2: Invalid filter bytecode (channel channel0, session broken, filter '1 > (1 > (1 > 1))')
Note that a variation on the first filter ('((1 <= 1) <= 1) <= 1') works just fine, approving each of the event instances as expected (since it evaluates to 1 (true)).
Actions