lkml.org 
[lkml]   [2017]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] kernelshark: Fix the GUI plugin loading
Date
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
\
 
 \ /
  Last update: 2017-11-01 12:06    [W:0.433 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site