This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/21397] New: java .return probes should support method's return value


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

            Bug ID: 21397
           Summary: java .return probes should support method's return
                    value
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
                CC: penguin-kernel@i-love.sakura.ne.jp
  Target Milestone: ---

It should be possible to support a systemtap $return style variable in
java().class().method().return probes.

This would use byteman's '$!' special variable, as seen at the following link:

<http://downloads.jboss.org/byteman/3.0.8/ProgrammersGuide.html#rule-expressions>

Byteman version 3 supports '$!', systemtap supports version 2.0+, we'll have to
see if that version also supports '$!'.

This was suggested by the following email:

<https://sourceware.org/ml/systemtap/2017-q2/msg00020.html>

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]