Project

General

Profile

Bug #688

Inconsistent filter bytecode rules

Added by Daniel U. Thibault over 6 years ago. Updated over 6 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)).

#1

Updated by Mathieu Desnoyers over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF