projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1114378
)
Print message on a successful load command
author
David Goulet
<dgoulet@efficios.com>
Wed, 26 Mar 2014 15:01:25 +0000
(11:01 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Wed, 26 Mar 2014 15:01:25 +0000
(11:01 -0400)
Fixes #754
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/commands/load.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng/commands/load.c
b/src/bin/lttng/commands/load.c
index 4d38c792b82cc4e9ffe69253b04457410906eb9a..1d0e42bdc5f4ed1c60667ebb72cfbdcea297201d 100644
(file)
--- a/
src/bin/lttng/commands/load.c
+++ b/
src/bin/lttng/commands/load.c
@@
-105,6
+105,12
@@
int cmd_load(int argc, const char **argv)
if (ret) {
ERR("%s", lttng_strerror(ret));
ret = -ret;
+ } else {
+ if (opt_load_all) {
+ MSG("All sessions have been loaded successfully");
+ } else {
+ MSG("Session %s has been loaded successfully", session_name);
+ }
}
end:
poptFreeContext(pc);
This page took
0.025956 seconds
and
4
git commands to generate.