Bug 1473486

Summary: SystemTap: user_string2() is not available.
Product: Red Hat Enterprise Linux 7 Reporter: Tetsuo Handa <penguin-kernel>
Component: systemtapAssignee: Frank Ch. Eigler <fche>
Status: CLOSED NOTABUG QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: jistone, lberk, mcermak, mjw, penguin-kernel
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-21 18:22:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 Frank Ch. Eigler 2017-07-21 01:44:18 UTC
Thanks for the report.
For scripts that use the old user_string2() function that was temporarily deprecated, use   

% stap --version=3.0 ....

We un-deprecated it upstream out of sympathy for tapsets that unconditionally used the old name.  The new overloaded user_string() function is the one one should be building future tapsets & scripts on.

I hope that is a satisfactory solution.  (It is too late to tweak this part of rhel7.4 now.)

Comment 3 Tetsuo Handa 2017-07-21 03:28:39 UTC
The scripts which use user_string2() include probing Java methods using 3.1's behavior
(i.e. "/* java-stap ABI stap version 3.1: pass all parameters cast to strings */" ).
Thus, I won't be able to use "--version=3.0".

> The new overloaded user_string() function is the one one should be
> building future tapsets & scripts on.

OK, I can update such scripts.

> (It is too late to tweak this part of rhel7.4 now.)

I see. Please close this bug. Thank you.