sessiond: manage syscall table allocation using std::vector
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Jul 2024 17:37:43 +0000 (17:37 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 30 Jul 2024 01:26:51 +0000 (01:26 +0000)
commitf3985622a1e68d7a9250e3a3403c33029ebc6f03
treef2a32db6801f9527687071a2a3aa796db5788697
parenta1e1dc8b80d88321052a87cb5b2b19a351a457e1
sessiond: manage syscall table allocation using std::vector

Transitioning to the use of std::vector to manage the allocation and
resizing of the syscall table allows us to do away with memset() of the
syscall structure. The memset becomes problematic when lttng_ht_node_*
becomes non-POD in a follow-up change.

Change-Id: I94096782360f85ffffb0f72d188224af15e54d07
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/kernel.cpp
src/bin/lttng-sessiond/lttng-syscall.cpp
src/bin/lttng-sessiond/lttng-syscall.hpp
This page took 0.025131 seconds and 4 git commands to generate.