aurae-runtime / aurae

Distributed systems runtime daemon written in Rust.
https://aurae.io
Apache License 2.0
1.85k stars 90 forks source link

Introduce Signal API #237

Closed krisnova closed 1 year ago

krisnova commented 1 year ago

Can we please add an API to expose POSIX signals metadata using Aurae?

This will be helpful for a few reasons, notably:

krisnova commented 1 year ago

See the signals-ebpf probe for more context: https://github.com/ricardomaraschini/ebpf-signals

JeroenSoeters commented 1 year ago

Is this something we would want to add to the Observe API?

dmah42 commented 1 year ago

yes

JeroenSoeters commented 1 year ago

Looking at: https://github.com/ricardomaraschini/ebpf-signals/blob/main/signals-ebpf/src/main.rs#L15 and wondering why I never noticed those format files before 😭 This means - at least for this first cut - we don't need to rely on BTF symbols to be available on the host? We would require debugfs to be mounted, though.

(assuming here we want to ship pre-compiled eBPF programs)

JeroenSoeters commented 1 year ago

Should we close this one?