projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sessiond: add tracer-agnostic trace hierarchy classes
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
manage-apps.cpp
diff --git
a/src/bin/lttng-sessiond/manage-apps.cpp
b/src/bin/lttng-sessiond/manage-apps.cpp
index cff56cbadfe03a9c963bb063836d4b947b800051..f8297a6df82820a975bf514702d692de7057ba21 100644
(file)
--- a/
src/bin/lttng-sessiond/manage-apps.cpp
+++ b/
src/bin/lttng-sessiond/manage-apps.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2011
David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011
EfficiOS Inc.
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
* Copyright (C) 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
* Copyright (C) 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
@@
-7,16
+7,18
@@
*
*/
*
*/
-#include "manage-apps.h"
-#include "testpoint.h"
-#include "health-sessiond.h"
-#include "utils.h"
-#include "thread.h"
+#include "manage-apps.h
pp
"
+#include "testpoint.h
pp
"
+#include "health-sessiond.h
pp
"
+#include "utils.h
pp
"
+#include "thread.h
pp
"
+namespace {
struct thread_notifiers {
struct lttng_pipe *quit_pipe;
int apps_cmd_pipe_read_fd;
};
struct thread_notifiers {
struct lttng_pipe *quit_pipe;
int apps_cmd_pipe_read_fd;
};
+} /* namespace */
static void cleanup_application_management_thread(void *data)
{
static void cleanup_application_management_thread(void *data)
{
@@
-211,7
+213,7
@@
bool launch_application_management_thread(int apps_cmd_pipe_read_fd)
struct thread_notifiers *notifiers = NULL;
struct lttng_thread *thread;
struct thread_notifiers *notifiers = NULL;
struct lttng_thread *thread;
- notifiers =
(thread_notifiers *) zmalloc(sizeof(*notifiers)
);
+ notifiers =
zmalloc<thread_notifiers>(
);
if (!notifiers) {
goto error_alloc;
}
if (!notifiers) {
goto error_alloc;
}
This page took
0.023718 seconds
and
4
git commands to generate.