]> git.ipfire.org Git - thirdparty/qemu.git/commit
ebpf: improve error trace events
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 23 Oct 2024 08:50:59 +0000 (09:50 +0100)
committerJason Wang <jasowang@redhat.com>
Mon, 28 Oct 2024 06:37:25 +0000 (14:37 +0800)
commit31efce1e311830431718536c6461815b04e08bf9
tree56053e5772d3c0f94842f9bc31f4e57f50892763
parenta9436dd4077b0ee04dbbd2354a6738654530a206
ebpf: improve error trace events

A design pattern of

   trace_foo_error("descriptive string")

is undesirable because it does not allow for filtering trace events
based on the error scenario. Split eBPF error trace event into three
separate events to address this filtering need.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
ebpf/ebpf_rss.c
ebpf/trace-events