public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug bpf/24528] New: bpf-next housekeeping: bpf-translate.cxx should distinguish codegen for kernel/userspace targets
@ 2019-05-06 16:25 me at serhei dot io
  2019-05-06 17:04 ` [Bug bpf/24528] " me at serhei dot io
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: me at serhei dot io @ 2019-05-06 16:25 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 24528
           Summary: bpf-next housekeeping: bpf-translate.cxx should
                    distinguish codegen for kernel/userspace targets
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: bpf
          Assignee: systemtap at sourceware dot org
          Reporter: me at serhei dot io
  Target Milestone: ---

bpf_unparser should have a flag bpf_target() which distinguishes whether code
is being generated for userspace-interpreter (no restrictions) or BPF
kernel-interpreter (many restrictions).

First this will enable better/simpler error checking logic.

Down the line, this will allow adding more values to bpf_target() and
generating certain constructs differently depending on whether they're
targeting different versions of BPF (with different restrictions).

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

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

end of thread, other threads:[~2019-06-26 20:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-06 16:25 [Bug bpf/24528] New: bpf-next housekeeping: bpf-translate.cxx should distinguish codegen for kernel/userspace targets me at serhei dot io
2019-05-06 17:04 ` [Bug bpf/24528] " me at serhei dot io
2019-05-06 17:07 ` [Bug bpf/24528] stapbpf-next " me at serhei dot io
2019-06-20 17:30 ` me at serhei dot io
2019-06-21 15:12 ` me at serhei dot io
2019-06-26 20:29 ` 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).