Bug 1473486 - SystemTap: user_string2() is not available.
SystemTap: user_string2() is not available.
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: systemtap (Show other bugs)
7.4
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Frank Ch. Eigler
qe-baseos-tools
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-20 21:27 EDT by Tetsuo Handa
Modified: 2017-07-21 14:22 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-21 14:22:32 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Comment 2 Frank Ch. Eigler 2017-07-20 21:44:18 EDT
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-20 23:28:39 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.