qemu/ebpf
Daniel P. Berrangé 00b69f1d86 ebpf: add formal error reporting to all APIs
The eBPF code is currently reporting error messages through trace
events. Trace events are fine for debugging, but they are not to be
considered the primary error reporting mechanism, as their output
is inaccessible to callers.

This adds an "Error **errp" parameter to all methods which have
important error scenarios to report to the caller.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2024-10-28 14:37:25 +08:00
..
ebpf.c qmp: Added new command to retrieve eBPF blob. 2024-03-12 19:31:47 +08:00
ebpf.h qmp: Added new command to retrieve eBPF blob. 2024-03-12 19:31:47 +08:00
ebpf_rss-stub.c ebpf: add formal error reporting to all APIs 2024-10-28 14:37:25 +08:00
ebpf_rss.c ebpf: add formal error reporting to all APIs 2024-10-28 14:37:25 +08:00
ebpf_rss.h ebpf: add formal error reporting to all APIs 2024-10-28 14:37:25 +08:00
meson.build ebpf: Restrict to system emulation 2024-04-18 11:17:27 +02:00
rss.bpf.skeleton.h ebpf: Return 0 when configuration fails 2024-06-04 15:14:26 +08:00
trace-events ebpf: improve error trace events 2024-10-28 14:37:25 +08:00
trace.h ebpf: Added traces back. Changed source set for eBPF to 'system'. 2024-06-04 15:14:26 +08:00