This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: How to pass arguments in systemtap plugin on eclipse IDE
- From: Lukas Berk <lberk at redhat dot com>
- To: Zhen Ren <renzhengeek at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Wed, 26 Nov 2014 10:14:23 -0500
- Subject: Re: How to pass arguments in systemtap plugin on eclipse IDE
- Authentication-results: sourceware.org; auth=none
- References: <CAKM4AexgjT_mM78BxiM-NG6bYCTii4yCqU6YV=+rtg3ymRvP3Q at mail dot gmail dot com>
Hi,
Zhen Ren <renzhengeek@gmail.com> writes:
[...]
> I am on Ubuntu 14.04 64bit, 3.13.0.39 of kernel version.
> And it is fun to run *.stp without arguments in eclipse IDE.
> But how can I pass arguments to *.stp in eclipse IDE with systemtap
> plugin?
You need to create a new 'run configuration' to run a script with
arguments. Basically, under the menu, Run->Run Configurations->Systemtap.
The linuxtools wiki has a section for this[1] with more
detailed instructions and information about the editor as a whole.
[1] -
http://wiki.eclipse.org/Linux_Tools_Project/Systemtap/User_Guide#Creating_Run_Configurations
Cheers,
Lukas