From: "Yordan Karadzhov (VMware)" <y.karadz@gmail.com>
To: rostedt@goodmis.org
Cc: linux-trace-devel@vger.kernel.org,
"Yordan Karadzhov (VMware)" <y.karadz@gmail.com>
Subject: [PATCH] kernel-shark: Adopt modifications in the API of libtracecmd
Date: Thu, 11 Feb 2021 14:08:05 +0200 [thread overview]
Message-ID: <20210211120805.423085-1-y.karadz@gmail.com> (raw)
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.
Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>
---
src/libkshark-tepdata.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libkshark-tepdata.c b/src/libkshark-tepdata.c
index d4be052..d29e98b 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;
--
2.25.1
reply other threads:[~2021-02-11 12:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210211120805.423085-1-y.karadz@gmail.com \
--to=y.karadz@gmail.com \
--cc=linux-trace-devel@vger.kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).