[Bug bpf/24528] New: bpf-next housekeeping: bpf-translate.cxx should distinguish codegen for kernel/userspace targets

me at serhei dot io sourceware-bugzilla@sourceware.org
Mon May 6 16:25:00 GMT 2019


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.


More information about the Systemtap mailing list