This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]