public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/11574] New: probefunc() grudge match with user-space IPs
@ 2010-05-06 11:22 fche at redhat dot com
  2010-05-07 15:23 ` [Bug tapsets/11574] " fche at redhat dot com
  0 siblings, 1 reply; 4+ messages in thread
From: fche at redhat dot com @ 2010-05-06 11:22 UTC (permalink / raw)
  To: systemtap

probefunc() rejects incoming PC values that indicate spaces outside
the kernel module.  But there is no corresponding uprobefunc() in the
tapset that does the complementary lookup on userspace IPs.  So either
probefunc() should just chill and do a plain _stp_symbol_snprint()
regardless of incoming IP value, or else we need a uprobefunc() proper.

(The pp()-parsing hack in probefunc() should probably also go.  If
we had enough debug data to be able to process foo.function("...")
probes, we should also have enough symbol data to map addresses
back to names.  Maybe kprobe.function("..") is an exception, if
we care a lot.)

-- 
           Summary: probefunc() grudge match with user-space IPs
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11574

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tapsets/11574] probefunc() grudge match with user-space IPs
  2010-05-06 11:22 [Bug tapsets/11574] New: probefunc() grudge match with user-space IPs fche at redhat dot com
@ 2010-05-07 15:23 ` fche at redhat dot com
  2010-05-07 16:59   ` Jim Keniston
  0 siblings, 1 reply; 4+ messages in thread
From: fche at redhat dot com @ 2010-05-07 15:23 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-05-06 18:03 -------
We already have symname() and usymname().  probefunc() is a fossil.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=11574

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bug tapsets/11574] probefunc() grudge match with user-space IPs
  2010-05-07 15:23 ` [Bug tapsets/11574] " fche at redhat dot com
@ 2010-05-07 16:59   ` Jim Keniston
  2010-05-07 22:20     ` Frank Ch. Eigler
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Keniston @ 2010-05-07 16:59 UTC (permalink / raw)
  To: sourceware-bugzilla; +Cc: systemtap

On Thu, 2010-05-06 at 18:03 +0000, fche at redhat dot com wrote:
> ------- Additional Comments From fche at redhat dot com  2010-05-06 18:03 -------
> We already have symname() and usymname().  probefunc() is a fossil.

If you say so.  I use probefunc() a lot, and -- unlike symname() and
usymname() -- it's documented in stapfuncs(3stap) and the Language
Reference doc.

Jim


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bug tapsets/11574] probefunc() grudge match with user-space IPs
  2010-05-07 16:59   ` Jim Keniston
@ 2010-05-07 22:20     ` Frank Ch. Eigler
  0 siblings, 0 replies; 4+ messages in thread
From: Frank Ch. Eigler @ 2010-05-07 22:20 UTC (permalink / raw)
  To: Jim Keniston; +Cc: systemtap


>> We already have symname() and usymname().  probefunc() is a fossil.
>
> If you say so.  I use probefunc() a lot,

So have I, but more out of inertia.

> and -- unlike symname() and usymname() -- it's documented in
> stapfuncs(3stap)

(Not any more!)

> and the Language Reference doc.

With more and more of the tapset functionality becoming
self-documenting within the tapset reference guide & man pages,
perhaps this sort of content should be removed from the language
reference book.

- FChE

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-07 15:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-06 11:22 [Bug tapsets/11574] New: probefunc() grudge match with user-space IPs fche at redhat dot com
2010-05-07 15:23 ` [Bug tapsets/11574] " fche at redhat dot com
2010-05-07 16:59   ` Jim Keniston
2010-05-07 22:20     ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).