lttng: remove use of variable length array
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 6 Sep 2024 21:39:23 +0000 (21:39 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 9 Sep 2024 14:09:46 +0000 (10:09 -0400)
commitaedbbb5dcae0ede7c16bf0ff659ff762deba5226
tree26922238c753acfd09055f02febc40ffe69eff45
parentaa5439fbe18d07c8a19a4fc344847c453f52981c
lttng: remove use of variable length array

Use fmtlib to format the session attribute string when saving
the current session to .lttngrc. This eliminates a warning
emitted by clang (VLAs are not standard in C++).

Change-Id: Icdb8c1cc47adcbdfd82eefa8d2f1bf37a042a028
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/conf.cpp
This page took 0.02507 seconds and 4 git commands to generate.