linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] kernelshark: Fix the GUI plugin loading
@ 2017-11-01 11:04 Yordan Karadzhov (VMware)
  2017-11-01 11:04 ` [PATCH 2/2] kernelshark: Adding a GUI plugin for xenomai events Yordan Karadzhov (VMware)
  2017-11-01 14:22 ` [PATCH 1/2] kernelshark: Fix the GUI plugin loading Steven Rostedt
  0 siblings, 2 replies; 4+ messages in thread
From: Yordan Karadzhov (VMware) @ 2017-11-01 11:04 UTC (permalink / raw)
  To: rostedt; +Cc: jan.kiszka, linux-kernel, Yordan Karadzhov (VMware)

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-01 15:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-01 11:04 [PATCH 1/2] kernelshark: Fix the GUI plugin loading Yordan Karadzhov (VMware)
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

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).