public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug dyninst/16725] New: stap should warn when system wide process probes are used with --runtime=dyninst
@ 2014-03-19 19:28 mjw at redhat dot com
  2014-03-19 19:38 ` [Bug dyninst/16725] " jistone at redhat dot com
  2014-03-24 16:11 ` jistone at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: mjw at redhat dot com @ 2014-03-19 19:28 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 16725
           Summary: stap should warn when system wide process probes are
                    used with --runtime=dyninst
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dyninst
          Assignee: systemtap at sourceware dot org
          Reporter: mjw at redhat dot com

When using --runtime=dyninst process probes are target only, not system wide. 

stap should warn about that if no -x or -c target has been given instead of
silently running in pass 5 without feedback on why no probes fire.

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

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

* [Bug dyninst/16725] stap should warn when system wide process probes are used with --runtime=dyninst
  2014-03-19 19:28 [Bug dyninst/16725] New: stap should warn when system wide process probes are used with --runtime=dyninst mjw at redhat dot com
@ 2014-03-19 19:38 ` jistone at redhat dot com
  2014-03-24 16:11 ` jistone at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2014-03-19 19:38 UTC (permalink / raw)
  To: systemtap

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

Josh Stone <jistone at redhat dot com> changed:

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

--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
stapdyn knows the probes in the module, since it's the one who will perform
instrumentation, so it could easily fire a warning when it lacks -x/-c.  This
way we can warn even when someone runs stap --dyninst -p4, followed by manually
running stapdyn.

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

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

* [Bug dyninst/16725] stap should warn when system wide process probes are used with --runtime=dyninst
  2014-03-19 19:28 [Bug dyninst/16725] New: stap should warn when system wide process probes are used with --runtime=dyninst mjw at redhat dot com
  2014-03-19 19:38 ` [Bug dyninst/16725] " jistone at redhat dot com
@ 2014-03-24 16:11 ` jistone at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2014-03-24 16:11 UTC (permalink / raw)
  To: systemtap

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

Josh Stone <jistone at redhat dot com> changed:

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

--- Comment #2 from Josh Stone <jistone at redhat dot com> ---
commit 315f5db31233e104f4464dfa4288130a42ca3472

$ ./run-stap -e 'probe process.begin,begin { exit() }' --dyninst 
stapdyn: WARNING: process probes require a target (-c or -x)

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

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

end of thread, other threads:[~2014-03-24 16:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-19 19:28 [Bug dyninst/16725] New: stap should warn when system wide process probes are used with --runtime=dyninst mjw at redhat dot com
2014-03-19 19:38 ` [Bug dyninst/16725] " jistone at redhat dot com
2014-03-24 16:11 ` jistone at redhat dot com

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).