Christian A. Jacobsen
a98b638fa9
feat(log): add support for logging raw pointer types
...
* Requires the usage of `:p` display hint.
* Will, like stdlib, log with `0x` prefix.
2 days ago
Tamir Duberstein
214fe3c367
aya-log-common: seal Argument
1 month ago
Tamir Duberstein
353b83383d
aya-log-ebpf: zero copy!
1 month ago
Tamir Duberstein
9be2d723ce
aya-log: Replace AsyncPerfEventArray with RingBuf
...
This doesn't get us to zero copy because the reserve/submit APIs do not
support DSTs for reasons I don't remember.
Now that it is unused in userspace, move `LOG_BUF_CAPACITY` to
`aya-log-ebpf` by making its type `LogValueLength` which obviates the
need for `log_value_length_sufficient`.
3 months ago
tamird
e96431f07a
public-api: regenerate
7 months ago
tamird
75aac18f8a
public-api: regenerate
7 months ago
tamird
dcf66db845
public-api: regenerate
7 months ago
tamird
39e40ba5c7
public-api: regenerate
8 months ago
tamird
ae317961ef
public-api: regenerate
8 months ago
dependabot[bot]
f20a09d053
build(deps): update public-api requirement in the cargo-crates group
...
Updates the requirements on [public-api](https://github.com/cargo-public-api/cargo-public-api ) to permit the latest version.
Updates `public-api` to 0.40.0
- [Release notes](https://github.com/cargo-public-api/cargo-public-api/releases )
- [Changelog](https://github.com/cargo-public-api/cargo-public-api/blob/main/CHANGELOG.md )
- [Commits](https://github.com/cargo-public-api/cargo-public-api/compare/public-api-v0.40.0...public-api-v0.40.0 )
---
updated-dependencies:
- dependency-name: public-api
dependency-type: direct:production
dependency-group: cargo-crates
...
Signed-off-by: dependabot[bot] <support@github.com>
11 months ago
tamird
e423fce58f
public-api: regenerate
11 months ago
Tamir Duberstein
23ece3d794
public-api: regenerate
...
See https://github.com/rust-lang/rust/pull/126877 , I think.
1 year ago
Michal Rostecki
6dab7176f5
chore: Bless public API
1 year ago
Tamir Duberstein
bfafe9e786
public-api: regenerate
...
See https://github.com/rust-lang/rust/commit/ec201b86 .
1 year ago
Tamir Duberstein
35aa9ac1a5
public-api: regenerate
...
See https://github.com/Enselic/cargo-public-api/pull/584 .
Constant values are no longer considered part of the API.
1 year ago
Tamir Duberstein
c302f8370d
public-api: regenerate
...
Nightly now exposes `core::marker::Freeze`.
https://github.com/rust-lang/rust/pull/121840
2 years ago
Tamir Duberstein
057f27dc20
public-api: regenerate
...
StructuralEq has been removed.
See 0df7810734
.
2 years ago
dependabot[bot]
b3ec33e763
build(deps): update public-api requirement from 0.32.0 to 0.33.1
...
Updates the requirements on [public-api](https://github.com/Enselic/cargo-public-api ) to permit the latest version.
- [Release notes](https://github.com/Enselic/cargo-public-api/releases )
- [Changelog](https://github.com/Enselic/cargo-public-api/blob/main/rustdoc-json/CHANGELOG.md )
- [Commits](https://github.com/Enselic/cargo-public-api/compare/v0.32.0...v0.32.0 )
---
updated-dependencies:
- dependency-name: public-api
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Tamir Duberstein
6e256fad5b
public-api: bless with new nightly
...
See https://github.com/rust-lang/rust/commit/58a80c85b9323e59e1b7e744d6 .
2 years ago
Tamir Duberstein
ca3f70b16a
aya-log: s/Result<usize, ()>/Option<NonZeroUsize>/
...
`Option<NonZeroUsize>` is guaranteed to have the same size as `usize`,
which is not guarnateed for `Result`. This is a minor optimization, but
also results in simpler code.
2 years ago
Tamir Duberstein
fe047d79a3
aya-log-common: Simplify
...
- Remove `TagLenValue`; this type has a single method, which is now a
function.
- Remove generics from `TagLenValue::write` (now `write`). The tag is
always `u8`, and the value is always a sequence of bytes.
- Replace slicing operations which can panic with calls to `get` which
explicit check bounds.
2 years ago
Dave Tucker
f833f1fc1d
xtask: Add cargo-public-api
...
Adds cargo-public-api. This allows for public API changes to get caught
in CI, requiring new changes to be "blessed" by using:
cargo xtask public-api --bless
When this file is changed for aya, Alessandro will need to review the PR.
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2 years ago