[Title] fix valgrind termination
authorjaewon81.lim <jaewon81.lim@samsung.com>
Thu, 5 Jan 2012 06:14:42 +0000 (15:14 +0900)
committerjaewon81.lim <jaewon81.lim@samsung.com>
Thu, 5 Jan 2012 06:14:42 +0000 (15:14 +0900)
[Type] bug fix
[Module] profiler plugins
[Priority] minor
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

org.eclipse.linuxtools.valgrind.launch.exe/src/org/eclipse/linuxtools/valgrind/launch/ValgrindRuntimeProcess.java

index e71335c..249630d 100644 (file)
@@ -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");
        }
 
        /**