Bug ID: 25794
Summary: stap command support to input multi stp scripts and
Assignee: systemtap at sourceware dot org
Reporter: mrlong336 at gmail dot com
Target Milestone: ---
For example,there are four stp scripts, x1.stp x2.stp x3.stp x4.stp
1. I want to control them in shell script combining different script, such as
#stap x1.stp -c ./a.out
stap x1.stp x2.stp -c ./a.out
#stap x3.stp x4.stp -c ./a.out
Some solutions but not cool.
- something like -E, but it is so weak.
- "stap x.stp &" is not cool and can't use -c, I just want to run the program
I think this usage should be developed firstly since systemtap was created.
2. I can pass different parameters into different scrip
stap -filelist x1.stp x2.stp -parameter p1 p2 -filelist x3.stp x4.stp
-parameter p3 p4 -c ./a.out
It will pass p1 and p2 into x1.stp and x2.stp, p3 and p3 into x3.stp and
If a conflict found, then break down the program like c++ namespace conflict.