Project

General

Profile

Actions

Bug #688

closed

Inconsistent filter bytecode rules

Added by Daniel U. Thibault about 11 years ago. Updated almost 11 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 #1

Updated by Mathieu Desnoyers almost 11 years ago

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

Also available in: Atom PDF