From a031f283cf956fc7c5d284d0b45c22d87a20f0c7 Mon Sep 17 00:00:00 2001 From: "jaewon81.lim" Date: Thu, 5 Jan 2012 15:14:42 +0900 Subject: [PATCH] [Title] fix valgrind termination [Type] bug fix [Module] profiler plugins [Priority] minor [CQ#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- .../org/eclipse/linuxtools/valgrind/launch/ValgrindRuntimeProcess.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.eclipse.linuxtools.valgrind.launch.exe/src/org/eclipse/linuxtools/valgrind/launch/ValgrindRuntimeProcess.java b/org.eclipse.linuxtools.valgrind.launch.exe/src/org/eclipse/linuxtools/valgrind/launch/ValgrindRuntimeProcess.java index e71335c..249630d 100644 --- a/org.eclipse.linuxtools.valgrind.launch.exe/src/org/eclipse/linuxtools/valgrind/launch/ValgrindRuntimeProcess.java +++ b/org.eclipse.linuxtools.valgrind.launch.exe/src/org/eclipse/linuxtools/valgrind/launch/ValgrindRuntimeProcess.java @@ -218,7 +218,8 @@ public class ValgrindRuntimeProcess extends PlatformObject implements IProcess { * @see ITerminate#terminate() */ public void terminate() throws DebugException { - runCommand("busybox ps | grep valgrind | grep -v grep | awk '{print \"kill -3 \" $1}' | sh"); + runCommand("ps | grep valgrind | grep -v grep | awk '{print \"kill -3 \" $1}' | sh"); + runCommand("ps ax | grep valgrind | grep -v grep | awk '{print \"kill -3 \" $1}' | sh"); } /** -- 2.7.4