projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makes kprobe attribute specific to kernel
[lttng-tools.git]
/
lttng
/
commands
/
stop.c
diff --git
a/lttng/commands/stop.c
b/lttng/commands/stop.c
index 0245296a444790a39c4a0e6a405b190397512739..664637873f6c980ee22499192317f25aeeca1ac2 100644
(file)
--- a/
lttng/commands/stop.c
+++ b/
lttng/commands/stop.c
@@
-26,7
+26,7
@@
#include <unistd.h>
#include "cmd.h"
#include <unistd.h>
#include "cmd.h"
-#include "conf
ig
.h"
+#include "conf.h"
#include "utils.h"
static char *opt_session_name;
#include "utils.h"
static char *opt_session_name;
@@
-83,7
+83,9
@@
static int stop_tracing(void)
MSG("Tracing stopped for session %s", session_name);
free_name:
MSG("Tracing stopped for session %s", session_name);
free_name:
- free(session_name);
+ if (opt_session_name == NULL) {
+ free(session_name);
+ }
error:
return ret;
}
error:
return ret;
}
This page took
0.024369 seconds
and
4
git commands to generate.