Bug 4561

Summary: System tap script cannot be canceled
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Ioana Grigoropol <ioanax.grigoropol>
Component: eclipse-pluginAssignee: Jessica <jessica.zhang>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: adrian.dudau, ioanax.grigoropol, jessica.zhang, yp.ep.watcher, yp.watcher
Version: 1.5   
Target Milestone: 1.5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ioana Grigoropol 2013-05-27 07:47:30 UTC
Steps to reproduce:
1. use a different target than intel/qemux86, to avoid getting the error messages, such as qemuarm, pandaboard 
2. wget http://sourceware.org/systemtap/examples/profiling/sched_switch.stp
3. fill in system tap dialog (metadata, login, path to script)
4. launch the script

Expected result: 
- the script is successfuly ran and continously prints output to the console
- when trying to stop the long running script, the process should be stopped & all kernel modules loded by the script should be cleaned from the target(as performing Ctrl-c in the command line)

Actual result:

- pressing Cancel on the Progress Information window does noting and blocks Eclipse
- kernel modules are not cleaned for the target and the script cannot be ran again until cleaning them up

- when stopping the same script in the command line, the kernel modules are cleaned up from the target