From: David Goulet Date: Thu, 7 Jul 2011 13:52:07 +0000 (-0400) Subject: Disable user-space tracer control X-Git-Tag: v2.0-pre1~52 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b088a5811cd4bd654b6f04a4bff6387965b1e15a;p=lttng-tools.git Disable user-space tracer control Signed-off-by: David Goulet --- diff --git a/ltt-sessiond/ust-ctl.c b/ltt-sessiond/ust-ctl.c index b5f2ce411..6f3a02a40 100644 --- a/ltt-sessiond/ust-ctl.c +++ b/ltt-sessiond/ust-ctl.c @@ -28,6 +28,7 @@ #include "lttngerr.h" #include "ust-ctl.h" +#ifdef DISABLED /* * find_session_ust_trace_by_pid * @@ -206,4 +207,5 @@ int ust_stop_trace(struct command_ctx *cmd_ctx) error: return ret; } +#endif diff --git a/ltt-sessiond/ust-ctl.h b/ltt-sessiond/ust-ctl.h index 28b319da6..1b3bdcaa4 100644 --- a/ltt-sessiond/ust-ctl.h +++ b/ltt-sessiond/ust-ctl.h @@ -19,14 +19,15 @@ #ifndef _LTT_UST_CTL_H #define _LTT_UST_CTL_H -#include "ltt-sessiond.h" #include "session.h" #include "trace.h" +/* int get_trace_count_per_session(struct ltt_session *session); -//void get_traces_per_session(struct ltt_session *session, struct lttng_trace *traces); +void get_traces_per_session(struct ltt_session *session, struct lttng_trace *traces); int ust_create_trace(struct command_ctx *cmd_ctx); int ust_start_trace(struct command_ctx *cmd_ctx); int ust_stop_trace(struct command_ctx *cmd_ctx); +*/ #endif /* _LTT_TRACE_H */