projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the lttng popt context param
[lttng-tools.git]
/
liblttngctl
/
liblttngctl.c
diff --git
a/liblttngctl/liblttngctl.c
b/liblttngctl/liblttngctl.c
index 7c5af7fe784e3169ed841e66413e6048e149f953..a586b34f53a61d2ba6dd630204325d1f71a31835 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_create_trace
+ *
+ * Request a trace creation for pid.
+ */
+int lttng_ust_create_trace(pid_t pid)
+{
+ int ret;
+
+ lsm.pid = pid;
+ ret = ask_sessiond(UST_CREATE_TRACE, NULL);
+
+ return ret;
+}
+
/*
* lttng_ust_list_apps
*
/*
* lttng_ust_list_apps
*
This page took
0.025061 seconds
and
4
git commands to generate.