05c51663b90e011d3174100e04915593a365f8d2
2 * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License, version 2 only,
6 * as published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License along
14 * with this program; if not, write to the Free Software Foundation, Inc.,
15 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #include <lttng/lttng.h>
22 #include <common/common.h>
23 #include <common/defaults.h>
28 #define DECL_COMMAND(_name) \
29 extern int cmd_##_name(int, const char **)
33 ret = show_cmd_man_page(argv[0]); \
36 ERR("Cannot view man page lttng-%s(1)", argv[0]); \
52 int (*func
)(int argc
, const char **argv
);
58 DECL_COMMAND(destroy
);
61 DECL_COMMAND(enable_events
);
62 DECL_COMMAND(disable_events
);
63 DECL_COMMAND(enable_channels
);
64 DECL_COMMAND(disable_channels
);
65 DECL_COMMAND(add_context
);
66 DECL_COMMAND(set_session
);
67 DECL_COMMAND(version
);
68 DECL_COMMAND(calibrate
);
70 DECL_COMMAND(enable_consumer
);
71 DECL_COMMAND(disable_consumer
);
72 DECL_COMMAND(snapshot
);
76 DECL_COMMAND(untrack
);
77 DECL_COMMAND(metadata
);
79 #endif /* _LTTNG_CMD_H */
This page took 0.03402 seconds and 5 git commands to generate.