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 stop trace feature
[lttng-tools.git]
/
lttng
/
lttng.c
diff --git
a/lttng/lttng.c
b/lttng/lttng.c
index e286917ed1effff58afaacb91c1f8bcb780d7de4..8a0d58faeaa8ac7ec7299a7a633d9ada73e8e513 100644
(file)
--- a/
lttng/lttng.c
+++ b/
lttng/lttng.c
@@
-126,6
+126,15
@@
static int process_client_opt(void)
MSG("Trace started successfully!");
}
+ if (opt_stop_trace) {
+ DBG("Stop trace for pid %d", opt_stop_trace);
+ ret = lttng_ust_stop_trace(opt_stop_trace);
+ if (ret < 0) {
+ goto end;
+ }
+ MSG("Trace stopped successfully!");
+ }
+
return 0;
end:
This page took
0.022902 seconds
and
4
git commands to generate.