* [Bug tapsets/21888] New: bpf variants of log()/etc. functions
@ 2017-08-02 18:14 fche at redhat dot com
2018-07-12 20:03 ` [Bug tapsets/21888] " me at serhei dot io
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: fche at redhat dot com @ 2017-08-02 18:14 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=21888
Bug ID: 21888
Summary: bpf variants of log()/etc. functions
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
Assignee: systemtap at sourceware dot org
Reporter: fche at redhat dot com
Target Milestone: ---
If runtime=bpf, then log() etc. should relay to { printf(...) } rather than %{
embedded-c %} that won't work under bpf.
Generally review tapset *.stp files to see how many of them can grow a bpf
variant easily. The list of lower level "bpf helper" functions is very small
(kernel tools/include/uapi/linux/bpf.h), so we may need to approximate or stub
out, or let the current error message stay for them.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tapsets/21888] bpf variants of log()/etc. functions
2017-08-02 18:14 [Bug tapsets/21888] New: bpf variants of log()/etc. functions fche at redhat dot com
@ 2018-07-12 20:03 ` me at serhei dot io
2018-07-23 16:19 ` me at serhei dot io
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: me at serhei dot io @ 2018-07-12 20:03 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=21888
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> ---
(Note: depends on PR23407.)
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tapsets/21888] bpf variants of log()/etc. functions
2017-08-02 18:14 [Bug tapsets/21888] New: bpf variants of log()/etc. functions fche at redhat dot com
2018-07-12 20:03 ` [Bug tapsets/21888] " me at serhei dot io
@ 2018-07-23 16:19 ` me at serhei dot io
2018-08-09 14:33 ` [Bug bpf/21888] " me at serhei dot io
2018-08-17 15:53 ` me at serhei dot io
3 siblings, 0 replies; 5+ messages in thread
From: me at serhei dot io @ 2018-07-23 16:19 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=21888
--- Comment #2 from Serhei Makarov <me at serhei dot io> ---
Making some progress (as of commit be31be3ff) but there are a number of
glitches to work out, e.g.:
- exit() in a probe still causes output to be swallowed (PR23435).
- error() weirdly does not print anything.
- assert() with a nested call to error() causes an invalid eBPF program to be
generated.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bpf/21888] bpf variants of log()/etc. functions
2017-08-02 18:14 [Bug tapsets/21888] New: bpf variants of log()/etc. functions fche at redhat dot com
2018-07-12 20:03 ` [Bug tapsets/21888] " me at serhei dot io
2018-07-23 16:19 ` me at serhei dot io
@ 2018-08-09 14:33 ` me at serhei dot io
2018-08-17 15:53 ` me at serhei dot io
3 siblings, 0 replies; 5+ messages in thread
From: me at serhei dot io @ 2018-08-09 14:33 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=21888
Serhei Makarov <me at serhei dot io> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|tapsets |bpf
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bpf/21888] bpf variants of log()/etc. functions
2017-08-02 18:14 [Bug tapsets/21888] New: bpf variants of log()/etc. functions fche at redhat dot com
` (2 preceding siblings ...)
2018-08-09 14:33 ` [Bug bpf/21888] " me at serhei dot io
@ 2018-08-17 15:53 ` me at serhei dot io
3 siblings, 0 replies; 5+ messages in thread
From: me at serhei dot io @ 2018-08-17 15:53 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=21888
Serhei Makarov <me at serhei dot io> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|systemtap at sourceware dot org |me at serhei dot io
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-08-17 15:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-02 18:14 [Bug tapsets/21888] New: bpf variants of log()/etc. functions fche at redhat dot com
2018-07-12 20:03 ` [Bug tapsets/21888] " me at serhei dot io
2018-07-23 16:19 ` me at serhei dot io
2018-08-09 14:33 ` [Bug bpf/21888] " me at serhei dot io
2018-08-17 15:53 ` 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).