Commit Graph

10 Commits (302573d7389674b165b7960ab2d78f2f7984a1ba)

Author SHA1 Message Date
Dave Tucker 0c25d8655e Add Tests
This moves a large chunk of code from ebpf to shared so we can re-use
write_record_header and write_record_message and friends so that we
can write test cases to ensure that logs are properly formatted
given certain input.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago
Alessandro Decina 4c7e641987 aya-log, aya-log-common: start next development iteration 0.1.10-dev.0 3 years ago
Alessandro Decina 209d4534de aya-log, aya-log-common: release version 0.1.9 3 years ago
Alessandro Decina 2d701bea33 aya-log: use stricter version for the aya-log-common dep 3 years ago
Michal Rostecki e89ce9a873 Update aya to 0.10.7
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
3 years ago
Michal Rostecki ec31526de1 Format arguments in userspace
This change moves away argument formatting from eBPF to the userspace.
eBPF part of aya-log writes unformatted log message and all arguments to
the perf buffer and the userspace part of aya-log is formatting the
message after receiving all arguments.

Aya-based project to test this change:

https://github.com/vadorovsky/aya-log-example

Fixes: #4
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
Signed-off-by: Tuetuopay <tuetuopay@me.com>
Co-authored-by: Tuetuopay <tuetuopay@me.com>
3 years ago
Alessandro Decina 67908b6f55 Add missing manifest fields 4 years ago
Alessandro Decina a4b8934ce1 (cargo-release) version 0.1.1 4 years ago
Alessandro Decina 154d886a76 Update to aya 0.10.5 4 years ago
Alessandro Decina 301092ac2e Initial commit 4 years ago