Age | Commit message (Collapse) | Author |
|
This is more generally useful for other software and interop, so it
should be licensed as liberally as possible.
Change-Id: Iad848b0cb28f69b837f495ca20f00f9cbe677353
|
|
This is the BuzHash content-defined chunker extracted from Lennart
Poettering's casync, almost verbatim, along with Rust bindings so
we can actually use it safely.
The bindings are a little bit constrained, since they don't support
streaming use, unlike the code they are wrapping. This suffices for
our use case: performance and correctness comparison to our native
Rust implementation, which should behave identically and perform
better.
Change-Id: Iee4296f661b036620bafef5a6c6671fe1a750bb6
|
|
It's been a while since we've done this, and there are some great new
changes in the Rust compiler and standard library. As a bonus, rustfmt
now features the `imports_granularity = "One"` variant, so we can use
unmodified tooling again.
Change-Id: I228e4e5919f53b6a77e07a5c99420936c89016c3
|
|
Co-authored-by: edef <edef@unfathomable.blue>
Change-Id: I36d2c4cca542ed91630b1b832f3c7a7b97b33c65
|
|
This lets us use an unreleased formatting variant that merges all use
statements into a single block.
Change-Id: I0ff9fb960171c9af3dbd3a841e35e17a4965a246
|
|
We're using an unstable branch over releases, as biannual package
updates are too infrequent for tools with short release cycles. We're
specifically using nixos-unstable, as this has more thorough testing
than nixpkgs-unstable does (at the cost of lagging behind, slightly).
Change-Id: Iaa5101f40148d2d85e8258cf73576bf7f531d4c1
|
|
This program spawns a child in a new cgroup (using systemd-run) under
bpftrace and counts syscall invocations for each (syscall, comm) pair.
It outputs a TSV of (syscall, comm, count) tuples to STDERR.
This makes it easy to assess which system calls a build process uses,
segmented by a useful approximation of the invoking programs.
Change-Id: I9ab7a34fda82245d3fa22b47840de16d1decf719
|