projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: ust-app: protect app socket protocol with lock
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-ctl.h
diff --git
a/src/bin/lttng-sessiond/ust-ctl.h
b/src/bin/lttng-sessiond/ust-ctl.h
index c2ab24ac9978dbac9c5876da885170e6bf64543a..5a1bb669dfbaef1f129c7ff1a036afd2c6dca8ce 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-ctl.h
+++ b/
src/bin/lttng-sessiond/ust-ctl.h
@@
-24,6
+24,8
@@
#include <config.h>
#include <config.h>
+struct ust_app;
+
/*
* FIXME: temporary workaround: we use a lttng-tools local version of
* lttng-ust-abi.h if UST is not found. Eventually, we should use our
/*
* FIXME: temporary workaround: we use a lttng-tools local version of
* lttng-ust-abi.h if UST is not found. Eventually, we should use our
@@
-36,11
+38,7
@@
#include <lttng/ust-abi.h>
#include <lttng/ust-error.h>
#include <lttng/ust-abi.h>
#include <lttng/ust-error.h>
-static inline
-int ust_ctl_release_object(int sock, struct lttng_ust_object_data *data)
-{
- return ustctl_release_object(sock, data);
-}
+int ust_app_release_object(struct ust_app *app, struct lttng_ust_object_data *data);
#else /* HAVE_LIBLTTNG_UST_CTL */
#else /* HAVE_LIBLTTNG_UST_CTL */
@@
-49,7
+47,7
@@
int ust_ctl_release_object(int sock, struct lttng_ust_object_data *data)
#include "lttng-ust-error.h"
static inline
#include "lttng-ust-error.h"
static inline
-int ust_
ctl_release_object(int sock
, struct lttng_ust_object_data *data)
+int ust_
app_release_object(struct ust_app *app
, struct lttng_ust_object_data *data)
{
return 0;
}
{
return 0;
}
This page took
0.02372 seconds
and
4
git commands to generate.