projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sink.text.dmesg: remove `read-from-stdin` parameter, use absent `path`
[babeltrace.git]
/
cli
/
babeltrace-log.c
diff --git
a/cli/babeltrace-log.c
b/cli/babeltrace-log.c
index 2ff48ca69e03ce40b409a8b366e335066df05672..9037dd93f87bb0eeaab26d37e61518bec2b6e82f 100644
(file)
--- a/
cli/babeltrace-log.c
+++ b/
cli/babeltrace-log.c
@@
-122,8
+122,6
@@
int main(int argc, char *argv[])
"--component",
"dmesg:src.text.dmesg",
"--params",
"--component",
"dmesg:src.text.dmesg",
"--params",
- "read-from-stdin=yes",
- "--params",
NULL, /* no-extract-timestamp=? placeholder */
"--component",
"ctf:sink.ctf.fs",
NULL, /* no-extract-timestamp=? placeholder */
"--component",
"ctf:sink.ctf.fs",
@@
-144,12
+142,12
@@
int main(int argc, char *argv[])
}
if (no_extract_ts) {
}
if (no_extract_ts) {
- bt_argv[
7
] = "no-extract-timestamp=yes";
+ bt_argv[
5
] = "no-extract-timestamp=yes";
} else {
} else {
- bt_argv[
7
] = "no-extract-timestamp=no";
+ bt_argv[
5
] = "no-extract-timestamp=no";
}
}
- bt_argv[1
3
] = output_path;
+ bt_argv[1
1
] = output_path;
(void) g_spawn_sync(NULL, bt_argv, NULL,
G_SPAWN_CHILD_INHERITS_STDIN, NULL, NULL,
NULL, NULL, &retcode, &error);
(void) g_spawn_sync(NULL, bt_argv, NULL,
G_SPAWN_CHILD_INHERITS_STDIN, NULL, NULL,
NULL, NULL, &retcode, &error);
This page took
0.033403 seconds
and
4
git commands to generate.