Project

General

Profile

Actions

Bug #343

closed

When enable-event with invalid filter, error is given but the event is still enabled

Added by Tan le tran about 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
09/18/2012
Due date:
% Done:

100%

Estimated time:

Description

Scenario: =========

1)_ lttng create ses1 -o /cluster/temp/sessiondir/ses1
2)_ lttng enable-event ust_tests_demo2:loop -u --filter ' intfield => 2 '
get:
error syntax error
Parse error
Error: Error setting filter
3)_ lttng list ses1
get:
:
Events:
ust_tests_demo2:loop (type: tracepoint) [enabled]

Expected Behaviour: ===================
The event should not be enabled if the specified filter is invalid.


Files

log.txt (13.5 KB) log.txt Terminal log with "sessiond -vvv" Tan le tran, 09/18/2012 05:08 PM
Actions

Also available in: Atom PDF