* [PATCH] kernel-shark: Adopt modifications in the API of libtracecmd
@ 2021-02-11 12:08 Yordan Karadzhov (VMware)
0 siblings, 0 replies; only message in thread
From: Yordan Karadzhov (VMware) @ 2021-02-11 12:08 UTC (permalink / raw)
To: rostedt; +Cc: linux-trace-devel, Yordan Karadzhov (VMware)
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-11 12:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-11 12:08 [PATCH] kernel-shark: Adopt modifications in the API of libtracecmd Yordan Karadzhov (VMware)
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).