]> git.lttng.org Git - lttng-tools.git/commit
Fix: parse_prob_opts return the actual success of the function
authorJonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Wed, 27 Aug 2014 19:46:57 +0000 (15:46 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 3 Sep 2014 18:43:30 +0000 (14:43 -0400)
commit35ae3228897f7713f28c4d830e330066434db525
treed45c856a9392aa287fc617a149a19083ea16fb97
parent7993ef2cd364e90302d17830a569e761cb46f67a
Fix: parse_prob_opts return the actual success of the function

This bug have been triggered by the mi merging and the use of a
command_ret in enable_events functions. Previously, enable_events was
reusing the ret variable for another operation and always replacing ret.
Parse_probe_event returned the last output of sscanf which represent
the number of match and not the success of the operation.

Fixes #830

Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/commands/enable_events.c
This page took 0.030306 seconds and 4 git commands to generate.