Bug 4561 - System tap script cannot be canceled
Summary: System tap script cannot be canceled
Status: RESOLVED FIXED
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5
Assignee: Jessica
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-05-27 07:47 UTC by Ioana Grigoropol
Modified: 2013-08-13 22:37 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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