From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 681F93947420; Mon, 6 Apr 2020 17:24:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 681F93947420 From: "mrlong336 at gmail dot com" To: systemtap@sourceware.org Subject: [Bug translator/25794] New: stap command support to input multi stp scripts and parameters Date: Mon, 06 Apr 2020 17:24:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: mrlong336 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2020 17:24:15 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25794 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 progr= am 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 conflic= t. further, simple to write as: stap -filelist x1.stp x2.stp p1 p2 x3.stp x4.stp p3 p4 -c ./a.out --=20 You are receiving this mail because: You are the assignee for the bug.=