public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "jistone at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug dyninst/17352] probing by pid using --runtime=dyninst not having -x or -c set
Date: Fri, 05 Sep 2014 16:37:00 -0000	[thread overview]
Message-ID: <bug-17352-6586-C5jvoDV7nw@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-17352-6586@http.sourceware.org/bugzilla/>

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

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|runtime                     |dyninst
           Severity|normal                      |enhancement

--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
Right, the dyninst mode is not system-wide like the kernel -- we have to
explicitly attach to processes.  Right now we choose to simply attach to the
-x/-c process and any children we see forked after that.  I suppose we could
attempt additional attachments based on the process(PID) probes in the script.

However, I think we may have other issues internally in the way the PID is
encoded, overloading the offset field.  That works fine for
process(PID).begin/end, but we'll need a true offset for .function to work.  It
looks like the call to dynprobe_add_uprobe() is currently ignoring any PID.

(These process(PID) uprobe types are new in 2.6, so they weren't a
consideration when this stapdyn code was written.)

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

  reply	other threads:[~2014-09-05 16:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-05 14:45 [Bug runtime/17352] New: " mcermak at redhat dot com
2014-09-05 16:37 ` jistone at redhat dot com [this message]
2018-11-29 16:07 ` [Bug dyninst/17352] " fche at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-17352-6586-C5jvoDV7nw@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).