+int lttng_ust_start_trace(pid_t pid)
+{
+ lsm.pid = pid;
+ return ask_sessiond(UST_START_TRACE, NULL);
+}
+
+/*
+ * lttng_ust_stop_trace
+ *
+ * Request a trace stop for pid.
+ */
+int lttng_ust_stop_trace(pid_t pid)
+{
+ lsm.pid = pid;
+ return ask_sessiond(UST_STOP_TRACE, NULL);
+}
+
+/*
+ * lttng_ust_create_trace
+ *
+ * Request a trace creation for pid.
+ */
+int lttng_ust_create_trace(pid_t pid)
+{
+ lsm.pid = pid;
+ return ask_sessiond(UST_CREATE_TRACE, NULL);
+}
+
+/*
+ * lttng_ust_list_apps
+ *
+ * Ask the session daemon for all UST traceable applications.
+ *
+ * Return the number of pids.
+ * On error, return negative value.
+ */
+int lttng_ust_list_apps(pid_t **pids)