projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: format + PACKAGE_URL for dynamic printing
[lttng-tools.git]
/
src
/
bin
/
lttng
/
command.h
diff --git
a/src/bin/lttng/command.h
b/src/bin/lttng/command.h
index 9caa7b4034333fc6fd70e41fe17fbfa071e594cf..7965f55cee5063475aaa0fe78a6eed371b379ebe 100644
(file)
--- a/
src/bin/lttng/command.h
+++ b/
src/bin/lttng/command.h
@@
-1,26
+1,24
@@
/*
* Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
*
/*
* Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; only version 2
- * of the License.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License, version 2 only,
+ * as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- *
along with this program; if not, write to the Free Software
- *
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA.
+ * You should have received a copy of the GNU General Public License
along
+ *
with this program; if not, write to the Free Software Foundation, Inc.,
+ *
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA.
*/
#ifndef _LTTNG_CMD_H
#define _LTTNG_CMD_H
#include <lttng/lttng.h>
*/
#ifndef _LTTNG_CMD_H
#define _LTTNG_CMD_H
#include <lttng/lttng.h>
-#include <common/lttngerr.h>
#include <common/common.h>
#include <common/defaults.h>
#include <common/common.h>
#include <common/defaults.h>
@@
-28,11
+26,12
@@
#include "utils.h"
enum cmd_error_code {
#include "utils.h"
enum cmd_error_code {
- CMD_SUCCESS,
+ CMD_SUCCESS
= 0
,
CMD_ERROR,
CMD_UNDEFINED,
CMD_ERROR,
CMD_UNDEFINED,
- CMD_NOT_IMPLEMENTED,
CMD_FATAL,
CMD_FATAL,
+ CMD_WARNING,
+ CMD_UNSUPPORTED,
};
struct cmd_struct {
};
struct cmd_struct {
@@
-53,5
+52,9
@@
extern int cmd_add_context(int argc, const char **argv);
extern int cmd_set_session(int argc, const char **argv);
extern int cmd_version(int argc, const char **argv);
extern int cmd_calibrate(int argc, const char **argv);
extern int cmd_set_session(int argc, const char **argv);
extern int cmd_version(int argc, const char **argv);
extern int cmd_calibrate(int argc, const char **argv);
+extern int cmd_view(int argc, const char **argv);
+extern int cmd_enable_consumer(int argc, const char **argv);
+extern int cmd_disable_consumer(int argc, const char **argv);
+extern int cmd_snapshot(int argc, const char **argv);
#endif /* _LTTNG_CMD_H */
#endif /* _LTTNG_CMD_H */
This page took
0.025043 seconds
and
4
git commands to generate.