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/17749] stap doesn't recognize "++" as a use


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
It's a bit more subtle:

 global a probe foo { a++ }    # we'd like a printed at end
 global b probe bar { if (b++ > 5) ... }   # but not b

It's not exactly the ++ operation that's the discriminator
between these two cases, but whether the result is used
an rvalue or whether it's tossed away.

-- 
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]