Project

General

Profile

Bug #938

Enabling two events with same name but not the same event type cause no warning and does not behave as expected

Added by Jonathan Rajotte Julien over 4 years ago. Updated over 2 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Target version:
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.

Also available in: Atom PDF