diff options
author | Yordan Karadzhov (VMware) <y.karadz@gmail.com> | 2021-02-11 14:08:05 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-02-11 09:17:55 -0500 |
commit | 6dde872d097c5ead6bcecf1d35905a63313b24cb (patch) | |
tree | 8aff3499a4df3437cfaecc47de1ed522bd73337b | |
parent | b39499d49f70c89c6c0cb8cff25dd9e4b69908b7 (diff) | |
download | kernel-shark-6dde872d097c5ead6bcecf1d35905a63313b24cb.tar.gz |
kernel-shark: Adopt modifications in the API of libtracecmd
New flag parameter has been added to tracecmd_open_head() to control
how the trace file is opened and parsed. A corresponding change at
the caller side is needed as well.
Link: https://lore.kernel.org/linux-trace-devel/20210211120805.423085-1-y.karadz@gmail.com
Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r-- | src/libkshark-tepdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libkshark-tepdata.c b/src/libkshark-tepdata.c index d4be0529..d29e98b9 100644 --- a/src/libkshark-tepdata.c +++ b/src/libkshark-tepdata.c @@ -1587,7 +1587,7 @@ int kshark_tep_init_input(struct kshark_data_stream *stream) tep_plugin_add_option("ftrace:parent", "1"); tep_plugin_add_option("ftrace:indent", "0"); - input = tracecmd_open_head(stream->file); + input = tracecmd_open_head(stream->file, 0); if (!input) return -EEXIST; |