diff options
author | Yordan Karadzhov (VMware) <y.karadz@gmail.com> | 2019-07-09 18:56:48 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-07-18 17:03:24 -0400 |
commit | 644609a48f293b149823105def6089488d6eb1ea (patch) | |
tree | beb25b97179d75f94f33c988cfc72c314ce6cc04 | |
parent | cb91f641c3c2f85c4142af3e7965580350af081e (diff) | |
download | trace-cmd-644609a48f293b149823105def6089488d6eb1ea.tar.gz |
kernel-shark: Remove the "make install" suggestion for capture errors
The message is not appropriate, although it is most likely that the
error occurs because the user didn't install KernelShark and it runs
the executable from its build location.
[ Steve: Although I hit this warning without needing a make install ;-) ]
Link: http://lore.kernel.org/linux-trace-devel/20190709155650.2345-7-y.karadz@gmail.com
Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>
[ Removed "duplicate" print of it as well ]
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r-- | kernel-shark/src/KsMainWindow.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel-shark/src/KsMainWindow.cpp b/kernel-shark/src/KsMainWindow.cpp index 198b4104..13b50795 100644 --- a/kernel-shark/src/KsMainWindow.cpp +++ b/kernel-shark/src/KsMainWindow.cpp @@ -1179,7 +1179,6 @@ void KsMainWindow::_captureFinished(int ret, QProcess::ExitStatus st) QString message = "Capture process failed:<br>"; message += capture->errorString(); - message += "<br>Try doing:<br> sudo make install"; _error(message, "captureFinishedErr", false, false); } @@ -1191,8 +1190,6 @@ void KsMainWindow::_captureError(QProcess::ProcessError error) QString message = "Capture process failed:<br>"; message += capture->errorString(); - message += "<br>Try doing:<br> sudo make install"; - _error(message, "captureFinishedErr", false, false); } |