public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/21887] New: bpf: exit()
@ 2017-08-02 18:07 fche at redhat dot com
  2017-10-03 21:04 ` [Bug runtime/21887] " amerey at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2017-08-02 18:07 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 21887
           Summary: bpf: exit()
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com
  Target Milestone: ---

The bpf runtime doesn't support an exit operation.  This would require a piece
of shared state between the bpf runtime and stapbpf userspace; probably a
designated bpf map object.  (Maybe we need a map that has such metadata, and
per-probe hit counts, etc.; the kind of stuff stap -t uses.)

The exit() %{ /* bpf */ %} variant function would set that global; bpf probe
handlers would check it and abort if set (to avoid triggering new probe
handlers after one of them calls exit()); stapbpf userspace would poll it
periodically (instead of just sitting in pause()).

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

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

* [Bug runtime/21887] bpf: exit()
  2017-08-02 18:07 [Bug runtime/21887] New: bpf: exit() fche at redhat dot com
@ 2017-10-03 21:04 ` amerey at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: amerey at redhat dot com @ 2017-10-03 21:04 UTC (permalink / raw)
  To: systemtap

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

Aaron Merey <amerey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |amerey at redhat dot com
         Resolution|---                         |FIXED

--- Comment #1 from Aaron Merey <amerey at redhat dot com> ---
Added in commit cf8d5f1d90e78.

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

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

end of thread, other threads:[~2017-10-03 21:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-02 18:07 [Bug runtime/21887] New: bpf: exit() fche at redhat dot com
2017-10-03 21:04 ` [Bug runtime/21887] " amerey 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).