projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement userspace probe location extraction and registration
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
snapshot.c
diff --git
a/src/bin/lttng/commands/snapshot.c
b/src/bin/lttng/commands/snapshot.c
index 00aa5b790448e57d3a26d1b8f838bd51d6acf564..d8a6b81486939fdb945ca91b96bc19a6be4c6ce3 100644
(file)
--- a/
src/bin/lttng/commands/snapshot.c
+++ b/
src/bin/lttng/commands/snapshot.c
@@
-48,6
+48,12
@@
static int cmd_record(int argc, const char **argv);
static const char *indent4 = " ";
static const char *indent4 = " ";
+#ifdef LTTNG_EMBED_HELP
+static const char help_msg[] =
+#include <lttng-snapshot.1.h>
+;
+#endif
+
enum {
OPT_HELP = 1,
OPT_LIST_OPTIONS,
enum {
OPT_HELP = 1,
OPT_LIST_OPTIONS,
@@
-579,9
+585,6
@@
int cmd_snapshot(int argc, const char **argv)
command_ret = handle_command(poptGetArgs(pc));
if (command_ret) {
switch (-command_ret) {
command_ret = handle_command(poptGetArgs(pc));
if (command_ret) {
switch (-command_ret) {
- case LTTNG_ERR_EPERM:
- ERR("The session needs to be set in no output mode (--no-output)");
- break;
case LTTNG_ERR_SNAPSHOT_NODATA:
WARN("%s", lttng_strerror(command_ret));
case LTTNG_ERR_SNAPSHOT_NODATA:
WARN("%s", lttng_strerror(command_ret));
This page took
0.024634 seconds
and
4
git commands to generate.