Project

General

Profile

Bug #579

Trying to apply a context-related filter quickly after adding the same parameters to the context fails

Added by Anonymous almost 7 years ago. Updated almost 7 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
06/27/2013
Due date:
% Done:

0%

Estimated time:

Description

Reproduction sequence:

lttng-sessiond --no-kernel -v --verbose-consumer
lttng create samba -o /local/traces/lttng/20130625114835
lttng enable-channel channel0 -u \
                        --tracefile-size ${LTTNG_MAX_TRACE_FILE_SIZE} \
                        --tracefile-count ${LTTNG_MAX_FILES_PER_CORE} \
                        --buffers-uid \
                        --switch-timer 1000000 \
                        --num-subbuf 16 \
                        --subbuf-size 262144
lttng add-context -u -t procname -s samba -c channel0
lttng enable-event -u -a --filter '$ctx.procname == "smbd" || $ctx.procname == "winbindd"'

All commands succeed except the last one, which produces this output:

error syntax error
Parse error
Error: Invalid filter bytecode

To overcome the situation after the script has failed, I simply ran:

lttng disable-channel -u -a

And then issued the same enable-event again, which (at that point in time) succeeds.


Files

sessiond.log.bz2 (22.9 KB) sessiond.log.bz2 Anonymous, 07/10/2013 01:00 AM

Also available in: Atom PDF