Fix: allow enabling same events for two channels
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 21 Mar 2013 19:24:55 +0000 (15:24 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 21 Mar 2013 19:24:55 +0000 (15:24 -0400)
commitd970f72ef97cd5f1e5e0152ce48a4c6b28eccfb2
treeb2df5d561bb361a1fe400658c138715d4ad3b516
parent6ca18e666d018ec79d517485a310c542cf735fa9
Fix: allow enabling same events for two channels

Fix the following use-case:

  593  lttng create
  594  lttng enable-channel test1 -u
  595  lttng enable-event -u -a
  596  lttng enable-event -u -a -c test1
  597  lttng start

run ./demo-trace

  598  lttng stop
  600  lttng view |wc -l

Previously, we were seeing only 8 events (number of events written in a
single stream), but now we see 16 events (each event is dispatched into
two streams).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-events.c
This page took 0.025212 seconds and 4 git commands to generate.