~lttng/lttng-modules/trunk

Viewing all changes in revision 1236.

  • Committer: Mathieu Desnoyers
  • Date: 2019-09-06 16:15:23 UTC
  • Revision ID: git-v1:2d4c4d15a0483c8463874522503da3b2f840e9f6
Fix: gcc-9.1 stack frame size warning

gcc-9.1.0 warns about lttng_session_ioctl taking a too large frame size.

lttng-modules/lttng-abi.c:622:1: warning: the frame size of 2240 bytes
is larger than 2048 bytes [-Wframe-larger-than=]

Combine the variables used in the various case of the switch so they are
not duplicated on the stack by the compiler.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: