public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/25794] New: stap command support to input multi stp scripts and parameters
@ 2020-04-06 17:24 mrlong336 at gmail dot com
  2020-04-06 17:34 ` [Bug translator/25794] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: mrlong336 at gmail dot com @ 2020-04-06 17:24 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=25794

            Bug ID: 25794
           Summary: stap command support to input multi stp scripts and
                    parameters
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: mrlong336 at gmail dot com
  Target Milestone: ---

Requirement:
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
once.

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
x4.stp.

If a conflict found, then break down the program like c++ namespace conflict.

further, simple to write as:
stap -filelist x1.stp x2.stp p1 p2 x3.stp x4.stp p3 p4 -c ./a.out

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/25794] stap command support to input multi stp scripts and parameters
  2020-04-06 17:24 [Bug translator/25794] New: stap command support to input multi stp scripts and parameters mrlong336 at gmail dot com
@ 2020-04-06 17:34 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2020-04-06 17:34 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=25794

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-04-06
                 CC|                            |fche at redhat dot com
             Status|UNCONFIRMED                 |NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-06 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-06 17:24 [Bug translator/25794] New: stap command support to input multi stp scripts and parameters mrlong336 at gmail dot com
2020-04-06 17:34 ` [Bug translator/25794] " fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).