projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Python babeltrace: use long form attribute names
[babeltrace.git]
/
cli
/
babeltrace-log.c
diff --git
a/cli/babeltrace-log.c
b/cli/babeltrace-log.c
index 3655a5c4c00da50a1abb97547559d0c298d4677c..2ff48ca69e03ce40b409a8b366e335066df05672 100644
(file)
--- a/
cli/babeltrace-log.c
+++ b/
cli/babeltrace-log.c
@@
-23,6
+23,7
@@
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
+#include <string.h>
#include <assert.h>
#include <babeltrace/babeltrace.h>
#include <popt.h>
#include <assert.h>
#include <babeltrace/babeltrace.h>
#include <popt.h>
@@
-130,6
+131,8
@@
int main(int argc, char *argv[])
"path",
"--value",
NULL, /* output path placeholder */
"path",
"--value",
NULL, /* output path placeholder */
+ "--params",
+ "single-trace=yes",
"--connect",
"dmesg:ctf",
NULL, /* sentinel */
"--connect",
"dmesg:ctf",
NULL, /* sentinel */
@@
-148,7
+151,7
@@
int main(int argc, char *argv[])
bt_argv[13] = output_path;
(void) g_spawn_sync(NULL, bt_argv, NULL,
bt_argv[13] = output_path;
(void) g_spawn_sync(NULL, bt_argv, NULL,
- G_SPAWN_
DEFAULT | G_SPAWN_
CHILD_INHERITS_STDIN, NULL, NULL,
+ G_SPAWN_CHILD_INHERITS_STDIN, NULL, NULL,
NULL, NULL, &retcode, &error);
if (error) {
NULL, NULL, &retcode, &error);
if (error) {
This page took
0.027165 seconds
and
4
git commands to generate.