projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Revert of 814b4934e2604a419bcb8eec57c0450dbb47e2c3
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
dispatch.cpp
diff --git
a/src/bin/lttng-sessiond/dispatch.cpp
b/src/bin/lttng-sessiond/dispatch.cpp
index 6cbb26126f8c080c3a66428f9c589b77e034b7b0..89d7c7c2e0d1fb894b02f10d7b17223ebbef9bee 100644
(file)
--- a/
src/bin/lttng-sessiond/dispatch.cpp
+++ b/
src/bin/lttng-sessiond/dispatch.cpp
@@
-10,16
+10,16
@@
#include <stddef.h>
#include <stdlib.h>
#include <urcu.h>
#include <stddef.h>
#include <stdlib.h>
#include <urcu.h>
-#include <common/futex.h>
-#include <common/macros.h>
+#include <common/futex.h
pp
>
+#include <common/macros.h
pp
>
-#include "dispatch.h"
-#include "ust-app.h"
-#include "testpoint.h"
-#include "fd-limit.h"
-#include "health-sessiond.h"
-#include "lttng-sessiond.h"
-#include "thread.h"
+#include "dispatch.h
pp
"
+#include "ust-app.h
pp
"
+#include "testpoint.h
pp
"
+#include "fd-limit.h
pp
"
+#include "health-sessiond.h
pp
"
+#include "lttng-sessiond.h
pp
"
+#include "thread.h
pp
"
struct thread_notifiers {
struct ust_cmd_queue *ust_cmd_queue;
struct thread_notifiers {
struct ust_cmd_queue *ust_cmd_queue;
@@
-292,7
+292,7
@@
static void *thread_dispatch_ust_registration(void *data)
ust_cmd->reg_msg.major, ust_cmd->reg_msg.minor);
if (ust_cmd->reg_msg.type == LTTNG_UST_CTL_SOCKET_CMD) {
ust_cmd->reg_msg.major, ust_cmd->reg_msg.minor);
if (ust_cmd->reg_msg.type == LTTNG_UST_CTL_SOCKET_CMD) {
- wait_node =
(ust_reg_wait_node *) zmalloc(sizeof(*wait_node)
);
+ wait_node =
zmalloc<ust_reg_wait_node>(
);
if (!wait_node) {
PERROR("zmalloc wait_node dispatch");
ret = close(ust_cmd->sock);
if (!wait_node) {
PERROR("zmalloc wait_node dispatch");
ret = close(ust_cmd->sock);
@@
-510,7
+510,7
@@
bool launch_ust_dispatch_thread(struct ust_cmd_queue *cmd_queue,
struct lttng_thread *thread;
struct thread_notifiers *notifiers;
struct lttng_thread *thread;
struct thread_notifiers *notifiers;
- notifiers =
(thread_notifiers *) zmalloc(sizeof(*notifiers)
);
+ notifiers =
zmalloc<thread_notifiers>(
);
if (!notifiers) {
goto error;
}
if (!notifiers) {
goto error;
}
This page took
0.024908 seconds
and
4
git commands to generate.