* [Bug bpf/27820] New: abort() tapset not implemented in the bpf mode
@ 2021-05-04 4:34 agentzh at gmail dot com
2021-07-14 16:23 ` [Bug bpf/27820] " me at serhei dot io
2021-07-19 15:55 ` me at serhei dot io
0 siblings, 2 replies; 3+ messages in thread
From: agentzh at gmail dot com @ 2021-05-04 4:34 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=27820
Bug ID: 27820
Summary: abort() tapset not implemented in the bpf mode
Product: systemtap
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bpf
Assignee: systemtap at sourceware dot org
Reporter: agentzh at gmail dot com
Target Milestone: ---
To demonstrate:
```
$ /opt/stap/bin/stap --bpf -e 'probe begin { abort() }'
ERROR: abort() not supported in eBPF backend
```
More info:
```
$ /opt/stap/bin/stap -V
Systemtap translator/driver (version 4.5/0.183, commit
release-4.4-145-g8ae1d1dcec48)
Copyright (C) 2005-2020 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
tested kernel versions: 2.6.32 ... 5.12.0-rc
enabled features: BPF
```
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug bpf/27820] abort() tapset not implemented in the bpf mode
2021-05-04 4:34 [Bug bpf/27820] New: abort() tapset not implemented in the bpf mode agentzh at gmail dot com
@ 2021-07-14 16:23 ` me at serhei dot io
2021-07-19 15:55 ` me at serhei dot io
1 sibling, 0 replies; 3+ messages in thread
From: me at serhei dot io @ 2021-07-14 16:23 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=27820
Serhei Makarov <me at serhei dot io> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |me at serhei dot io
--- Comment #1 from Serhei Makarov <me at serhei dot io> ---
commit 371805aa0 adds abort() implementation which will terminate the currently
running probe, unlike exit()
A more stringent implementation would eliminate the delay between the probe
exiting and stapbpf unloading the other probes, but at the cost of adding a
global variable check to the start of every stapbpf probe. Uncertain that this
is necessary (since even the stringent implementation does not terminate
parallel probes).
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug bpf/27820] abort() tapset not implemented in the bpf mode
2021-05-04 4:34 [Bug bpf/27820] New: abort() tapset not implemented in the bpf mode agentzh at gmail dot com
2021-07-14 16:23 ` [Bug bpf/27820] " me at serhei dot io
@ 2021-07-19 15:55 ` me at serhei dot io
1 sibling, 0 replies; 3+ messages in thread
From: me at serhei dot io @ 2021-07-19 15:55 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=27820
Serhei Makarov <me at serhei dot io> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Serhei Makarov <me at serhei dot io> ---
Thinking about this more, I believe the implementation I pushed works well
enough to close this PR.
--
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:[~2021-07-19 15:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 4:34 [Bug bpf/27820] New: abort() tapset not implemented in the bpf mode agentzh at gmail dot com
2021-07-14 16:23 ` [Bug bpf/27820] " me at serhei dot io
2021-07-19 15:55 ` me at serhei dot io
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).