Actions
Bug #938
openEnabling two events with same name but not the same event type cause no warning and does not behave as expected
Start date:
09/15/2015
Due date:
% Done:
0%
Estimated time:
Description
sudo lttng-sessiond -d lttng create mysession lttng enable-event --kernel kmem_kfree --probe sys_open+0xE lttng enable-event --kernel kmem_kfree lttng start sleep 0.1 lttng stop lttng view
Only the probe is considered when tracing. The metadata only shows the probe event.
This is a kernel tracer side problem (name as event key). A solution could be to prefix certain type of event on enable thus creating namespace e.g: probe_kmem_kfree.
Updated by Jérémie Galarneau over 8 years ago
- Project changed from LTTng to LTTng-modules
- Target version changed from 2.8 to 2.9
Assigning to LTTng-modules as per the bug description. I have not checked if this is an lttng-modules or lttng-tools limitation (using only the name as the key vs. a tuple of type+name+...).
Updated by Mathieu Desnoyers about 8 years ago
- Target version changed from 2.9 to 2.10
Updated by Francis Deslauriers about 7 years ago
I also faced that issue with the following commands with --function event type:
lttng enable-event -k --function=sys_open sched_switch lttng enable-event -k --probe=sys_read sched_switch lttng enable-event -k sched_switch
Actions