Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 388532 - Allow running stap scripts locally
Summary: Allow running stap scripts locally
Status: RESOLVED FIXED
Alias: None
Product: Linux Tools
Classification: Tools
Component: Systemtap (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 2.0   Edit
Assignee: Otavio Pontes CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-31 10:04 EDT by Alexander Kurtakov CLA
Modified: 2013-05-08 14:49 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kurtakov CLA 2012-08-31 10:04:11 EDT
This will gain us at least the following:
1. no need to setup and start stap-server
2. no need to configure and connect to server in the plugin / fewer user clicks
3. no need for escalated privileges for many things

This simplifies to make it easier for users to try stuff. And if a tool requires too many preparational steps many will give up.
Comment 1 Otavio Pontes CLA 2012-09-10 09:19:47 EDT

(In reply to comment #0)
> This will gain us at least the following:
> 1. no need to setup and start stap-server

Maybe there is something wrong with the manual, but you don't need to set up stap-server to run SystemTap locally or remotely. The plugin uses ssh to run SystemTap in both cases. So to use it locally you need to set up a ssh server in the local machine and use it as it was a remote machine.

> 2. no need to configure and connect to server in the plugin / fewer user
> clicks

That would be really nice. Local systemtap should be the default and it should run it without using ssh. If the user needs remote systemtap he/she could set that up in the preferences.

> 3. no need for escalated privileges for many things
> 
> This simplifies to make it easier for users to try stuff. And if a tool
> requires too many preparational steps many will give up.
Comment 2 Lukas Berk CLA 2012-10-16 11:20:10 EDT
I've added functionality and api to run a stap script locally in commit 0a3006a

The ability to access the 'run locally' option will be added in the fix for
https://bugs.eclipse.org/bugs/show_bug.cgi?id=388533
Comment 3 Alexander Kurtakov CLA 2013-01-07 17:02:56 EST
Closing as I just verified it works.