Initialize all stack variables to zero, fix uninitialized loglevel variables
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 Feb 2012 02:50:16 +0000 (21:50 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 Feb 2012 02:50:16 +0000 (21:50 -0500)
commit441c16a7f0bbab56a5e783059d0cddab68544a9a
treed3da75cd2da660a92b910c47c8e4922ed68048a1
parent22e25b7152253d44385314fc7cdc5faa4e11e30f
Initialize all stack variables to zero, fix uninitialized loglevel variables

If we want the padding behavior to be always the same (for future
extensibility), we need to set those variables to zero when they are
declared on the stack.

Also fix uninitialized loglevel variables in tests, which were failing
on x86_32 due to this.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
14 files changed:
src/bin/lttng/commands/add_context.c
src/bin/lttng/commands/calibrate.c
src/bin/lttng/commands/disable_channels.c
src/bin/lttng/commands/disable_events.c
src/bin/lttng/commands/enable_channels.c
src/bin/lttng/commands/enable_events.c
src/bin/lttng/commands/list.c
src/lib/lttng-ctl/lttng-ctl.c
tests/lttng/kernel_all_events_basic.c
tests/lttng/kernel_event_basic.c
tests/lttng/ust_global_all_events_basic.c
tests/lttng/ust_global_event_basic.c
tests/test_kernel_data_trace.c
tests/test_ust_data_trace.c
This page took 0.026804 seconds and 4 git commands to generate.