projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: improve error message when UST support is disabled
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-app.h
diff --git
a/src/bin/lttng-sessiond/ust-app.h
b/src/bin/lttng-sessiond/ust-app.h
index 92ac9c4e1e4af29af2f387cb82d50338fdb9bfcd..c9c47284c70a0a7a7558da949d839ceb2cbab7a6 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-app.h
+++ b/
src/bin/lttng-sessiond/ust-app.h
@@
-315,6
+315,12
@@
ssize_t ust_app_push_metadata(struct ust_registry_session *registry,
struct consumer_socket *socket, int send_zero_data);
void ust_app_destroy(struct ust_app *app);
struct consumer_socket *socket, int send_zero_data);
void ust_app_destroy(struct ust_app *app);
+static inline
+int ust_app_supported(void)
+{
+ return 1;
+}
+
#else /* HAVE_LIBLTTNG_UST_CTL */
static inline
#else /* HAVE_LIBLTTNG_UST_CTL */
static inline
@@
-512,6
+518,12
@@
void ust_app_destroy(struct ust_app *app)
return;
}
return;
}
+static inline
+int ust_app_supported(void)
+{
+ return 0;
+}
+
#endif /* HAVE_LIBLTTNG_UST_CTL */
#endif /* _LTT_UST_APP_H */
#endif /* HAVE_LIBLTTNG_UST_CTL */
#endif /* _LTT_UST_APP_H */
This page took
0.025109 seconds
and
4
git commands to generate.