This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug bpf/24528] New: bpf-next housekeeping: bpf-translate.cxx should distinguish codegen for kernel/userspace targets
- From: "me at serhei dot io" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 06 May 2019 16:25:55 +0000
- Subject: [Bug bpf/24528] New: bpf-next housekeeping: bpf-translate.cxx should distinguish codegen for kernel/userspace targets
- Auto-submitted: auto-generated
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.