X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbin%2Flttng-sessiond%2Fhealth.cpp;h=9a4dee8610b0deeb6b4c3527bc5da84b6ee140c5;hb=2d7da3031c65c4569ff2428a7c2cad30007f3b50;hp=53b9ee01f0e362171dcee85fcb888f26da49c8a5;hpb=7966af5763c4aaca39df9bbfa9277ff15715c720;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/health.cpp b/src/bin/lttng-sessiond/health.cpp index 53b9ee01f..9a4dee861 100644 --- a/src/bin/lttng-sessiond/health.cpp +++ b/src/bin/lttng-sessiond/health.cpp @@ -6,16 +6,16 @@ * */ -#include "lttng-sessiond.h" -#include "health-sessiond.h" -#include -#include -#include -#include +#include "lttng-sessiond.hpp" +#include "health-sessiond.hpp" +#include +#include +#include +#include #include #include -#include "utils.h" -#include "thread.h" +#include "utils.hpp" +#include "thread.hpp" struct thread_notifiers { struct lttng_pipe *quit_pipe; @@ -255,7 +255,7 @@ bool launch_health_management_thread(void) struct thread_notifiers *notifiers; struct lttng_thread *thread; - notifiers = (thread_notifiers *) zmalloc(sizeof(*notifiers)); + notifiers = zmalloc(); if (!notifiers) { goto error_alloc; }