projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: destroy schedule attr
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
metadata.c
diff --git
a/src/bin/lttng/commands/metadata.c
b/src/bin/lttng/commands/metadata.c
index f6a821af3d30c4f72b320d6837f47ad7b3eaf128..4a5ab819823625883aa27ae46101af5909965b1f 100644
(file)
--- a/
src/bin/lttng/commands/metadata.c
+++ b/
src/bin/lttng/commands/metadata.c
@@
-33,6
+33,12
@@
static char *session_name = NULL;
static int metadata_regenerate(int argc, const char **argv);
static int metadata_regenerate(int argc, const char **argv);
+#ifdef LTTNG_EMBED_HELP
+static const char help_msg[] =
+#include <lttng-metadata.1.h>
+;
+#endif
+
enum {
OPT_HELP = 1,
OPT_LIST_OPTIONS,
enum {
OPT_HELP = 1,
OPT_LIST_OPTIONS,
@@
-79,7
+85,7
@@
static int metadata_regenerate(int argc, const char **argv)
ret = -LTTNG_ERR_INVALID;
goto end;
}
ret = -LTTNG_ERR_INVALID;
goto end;
}
- ret = lttng_
metadata_regenerate
(session_name);
+ ret = lttng_
regenerate_metadata
(session_name);
if (ret == 0) {
MSG("Metadata successfully regenerated for session %s", session_name);
}
if (ret == 0) {
MSG("Metadata successfully regenerated for session %s", session_name);
}
This page took
0.0249 seconds
and
4
git commands to generate.