From: "Yordan Karadzhov (VMware)" <y.karadz@gmail.com>
To: rostedt@goodmis.org
Cc: jan.kiszka@siemens.com, linux-kernel@vger.kernel.org,
"Yordan Karadzhov (VMware)" <y.karadz@gmail.com>
Subject: [PATCH 1/2] kernelshark: Fix the GUI plugin loading
Date: Wed, 1 Nov 2017 13:04:22 +0200 [thread overview]
Message-ID: <20171101110423.5428-1-y.karadz@gmail.com> (raw)
In add_plugin(const char *): wrong file name used when loading a plugin.
Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>
---
kernel-shark.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel-shark.c b/kernel-shark.c
index c952302..89723c3 100644
--- a/kernel-shark.c
+++ b/kernel-shark.c
@@ -1816,7 +1816,7 @@ static void add_plugin(const char *file)
struct stat st;
int ret;
- ret = stat(default_input_file, &st);
+ ret = stat(file, &st);
if (ret < 0) {
warning("plugin %s not found", file);
return;
--
2.15.0.rc0
next reply other threads:[~2017-11-01 11:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-01 11:04 Yordan Karadzhov (VMware) [this message]
2017-11-01 11:04 ` [PATCH 2/2] kernelshark: Adding a GUI plugin for xenomai events Yordan Karadzhov (VMware)
2017-11-01 15:19 ` Steven Rostedt
2017-11-01 14:22 ` [PATCH 1/2] kernelshark: Fix the GUI plugin loading Steven Rostedt
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=20171101110423.5428-1-y.karadz@gmail.com \
--to=y.karadz@gmail.com \
--cc=jan.kiszka@siemens.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®