projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix array size in kconsumer add stream
[lttng-tools.git]
/
lttng
/
conf.h
diff --git
a/lttng/conf.h
b/lttng/conf.h
index b221d5a9227035ea68781ff3aa37b7d379f50c1c..a7672e413a4bb6f918effca6bb51f390f1d8ca07 100644
(file)
--- a/
lttng/conf.h
+++ b/
lttng/conf.h
@@
-3,8
+3,8
@@
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*
* 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;
either
version 2
- * of the License
, or (at your option) any later version
.
+ * as published by the Free Software Foundation;
only
version 2
+ * of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-19,16
+19,15
@@
#ifndef _LTTNG_CONFIG_H
#define _LTTNG_CONFIG_H
#ifndef _LTTNG_CONFIG_H
#define _LTTNG_CONFIG_H
-#define CONFIG_FILENAME "config"
-#define CONFIG_DIRNAME ".lttng"
+#define CONFIG_FILENAME ".lttngrc"
void config_destroy(char *path);
int config_init(char *path);
int config_add_session_name(char *path, char *name);
void config_destroy(char *path);
int config_init(char *path);
int config_add_session_name(char *path, char *name);
+char *config_get_default_path(void);
/* Must free() the return pointer */
/* Must free() the return pointer */
-char *config_generate_dir_path(char *path);
char *config_read_session_name(char *path);
char *config_read_session_name(char *path);
-char *config_get_
default_path(void
);
+char *config_get_
file_path(char *path
);
#endif /* _LTTNG_CONFIG_H */
#endif /* _LTTNG_CONFIG_H */
This page took
0.023077 seconds
and
4
git commands to generate.