projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ust start trace feature
[lttng-tools.git]
/
liblttngctl
/
liblttngctl.c
diff --git
a/liblttngctl/liblttngctl.c
b/liblttngctl/liblttngctl.c
index a586b34f53a61d2ba6dd630204325d1f71a31835..64764682ba18f6fe124900c4283cf74d8f58aaee 100644
(file)
--- a/
liblttngctl/liblttngctl.c
+++ b/
liblttngctl/liblttngctl.c
@@
-167,6
+167,21
@@
const char *lttng_get_readable_code(int code)
return lttcomm_get_readable_code(code);
}
return lttcomm_get_readable_code(code);
}
+/*
+ * lttng_ust_start_trace
+ *
+ * Request a trace start for pid.
+ */
+int lttng_ust_start_trace(pid_t pid)
+{
+ int ret;
+
+ lsm.pid = pid;
+ ret = ask_sessiond(UST_START_TRACE, NULL);
+
+ return ret;
+}
+
/*
* lttng_ust_create_trace
*
/*
* lttng_ust_create_trace
*
This page took
0.02316 seconds
and
4
git commands to generate.