This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/21887] New: bpf: exit()
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 02 Aug 2017 18:07:10 +0000
- Subject: [Bug runtime/21887] New: bpf: exit()
- Auto-submitted: auto-generated
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.