Project

General

Profile

Actions

Bug #688

closed

Inconsistent filter bytecode rules

Added by Daniel U. Thibault over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
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

Also available in: Atom PDF