projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Run clang-format on the whole tree
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
utils.cpp
diff --git
a/src/bin/lttng-relayd/utils.cpp
b/src/bin/lttng-relayd/utils.cpp
index 52ac19e8a65c8641b06a9a7a86dd7bbc7a4a7583..6ea98ec7cea8ea15c59b05a283764a3ce4d44982 100644
(file)
--- a/
src/bin/lttng-relayd/utils.cpp
+++ b/
src/bin/lttng-relayd/utils.cpp
@@
-7,18
+7,18
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
+#include "lttng-relayd.hpp"
+#include "utils.hpp"
+
+#include <common/common.hpp>
+#include <common/defaults.hpp>
+#include <common/path.hpp>
+#include <common/utils.hpp>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <common/common.h>
-#include <common/defaults.h>
-#include <common/utils.h>
-#include <common/path.h>
-
-#include "lttng-relayd.h"
-#include "utils.h"
-
static char *create_output_path_auto(const char *path_name)
{
int ret;
static char *create_output_path_auto(const char *path_name)
{
int ret;
@@
-31,8
+31,7
@@
static char *create_output_path_auto(const char *path_name)
Please specify an output path using -o, --output PATH");
goto exit;
}
Please specify an output path using -o, --output PATH");
goto exit;
}
- ret = asprintf(&traces_path, "%s/" DEFAULT_TRACE_DIR_NAME
- "/%s", default_path, path_name);
+ ret = asprintf(&traces_path, "%s/" DEFAULT_TRACE_DIR_NAME "/%s", default_path, path_name);
if (ret < 0) {
PERROR("asprintf trace dir name");
goto exit;
if (ret < 0) {
PERROR("asprintf trace dir name");
goto exit;
This page took
0.025431 seconds
and
4
git commands to generate.