Commit Graph

201 Commits (536e60182cd9804149f78c951a0e6a379f46ab5c)

Author SHA1 Message Date
Quentin VIGNAUD 536e60182c Changing artifact name 2 weeks ago
Quentin VIGNAUD e11fcf4897 Updating github context 3 weeks ago
Quentin VIGNAUD 7e6e218b0a Merge branch 'main' into melodium_ci 3 weeks ago
dependabot[bot] fc2320bb5d build(deps): bump actions/checkout in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
4 weeks ago
dependabot[bot] 75cd7e835f build(deps): bump DavidAnson/markdownlint-cli2-action
Bumps the github-actions group with 1 update: [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action).


Updates `DavidAnson/markdownlint-cli2-action` from 20 to 21
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases)
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/v20...v21)

---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
  dependency-version: '21'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
1 month ago
Tamir Duberstein 7a8ad146f4
Add macos-latest
There's no way to get hardware acceleration on arm64 at all, so let's at
least make sure our stuff keeps working on macOS.
1 month ago
Tamir Duberstein 2a33c642de
.github: remove push-to-fork
We need to create the fork first.
1 month ago
Tamir Duberstein 62a92af00e
.github: restrict permissions 1 month ago
Tamir Duberstein b21284f36b .github: move permissions to workflow root 1 month ago
Tamir Duberstein a3282e1d14
.github: make minimally-authorized token
We only use this to download public repos.
1 month ago
Tamir Duberstein 9518ff8ca6
.github: use alls-green 1 month ago
Tamir Duberstein 5dd6d94342
.github: update reference
The referenced issue has hundreds of automated mentions, making it quite
hard to look at.
1 month ago
Friday Ortiz ab38afe95d
perf_event: support hardware breakpoints
Implement `PerfEventConfig::Breakpoint`, allowing users to attach
hardware breakpoints. Generate `HW_BREAKPOINT_*` and `struct
bpf_perf_event_data` in support of this feature and update the type of
`PerfEventContext` accordingly.

Add a test exercising R, W, RW, and X breakpoints. Note that R
breakpoints are unsupported on x86, and this is asserted in the test.

Extend the VM integration test harness and supporting infrastructure
(e.g. `download_kernel_images.sh`) to download kernel debug packages and
mount `System.map` in initramfs. This is needed (at least) on the aarch
6.1 Debian kernel which was not compiled with `CONFIG_KALLSYMS_ALL=y`
for some reason, and the locations of globals are not available in
kallsyms. To attach breakpoints to these symbols in the test pipeline,
we need to read them from System.map and apply the KASLR offset to get
their real address. The `System.map` file is not provided in the kernel
package by default, so we need to extract it from the corresponding
debug package. The KASLR offset is computed using `gunzip` which appears
in kallsyms on all Debian kernels tested.

Co-authored-by: Tamir Duberstein <tamird@gmail.com>
1 month ago
Tamir Duberstein fd18c3f4ab
.github: shard arm64 virtualized integration
Github arm64 runners don't support nested virtualization and they broke
nested virtualization on macos-15-intel so we must go nuclear.
1 month ago
Tamir Duberstein e2f09ac62f
.github: move comments to Brewfile
This is where the dependencies are.
1 month ago
Tamir Duberstein 7288a2b8da
.github: remove stale comment
GNU tar is not needed since 5f046899b5.
1 month ago
Tamir Duberstein 65865e8dfc
.github: disable macos-15-intel
These builds are timing out, see
https://github.com/actions/runner-images/issues/13277.
1 month ago
Tamir Duberstein 112ab47fcd
Add clippy coverage for doctests 1 month ago
Tamir Duberstein 4dc4a6ce08
.github: exercise targets for real 2 months ago
Quentin VIGNAUD ce814e6cb5 Enabling armv7 & aarch64 on same runner 2 months ago
Quentin VIGNAUD 07508484f6 Merge remote-tracking branch 'origin/main' into former_work 2 months ago
Quentin VIGNAUD 6670b34579 Test direct run 2 months ago
Tamir Duberstein e5eb3058aa
.github: save CI time
These jobs take 18 seconds of machine time and 21 seconds of setup;
consolidate them into one job to cut down on the overhead.
2 months ago
Godones 4b4b9f83bd
enable bpf_target_arch = loongarch64
Signed-off-by: Godones <chenlinfeng25@outlook.com>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
2 months ago
Quentin VIGNAUD 1b175704a0 Updating yaml 2 months ago
Quentin VIGNAUD 07ca2f0d50 Updating Mélodium version 2 months ago
Tamir Duberstein e3f69829de
.github: run old kernels first 2 months ago
Tamir Duberstein c7d4cd3943
ci: test against 5.10
This is the earliest LTS that still exists on debian mirrors.
2 months ago
Tamir Duberstein 5f046899b5
xtask: teach integration-test vm to consume kernel debs directly
Bundle handling of Debian kernel archives into xtask so callers can pipe
the raw `.deb` paths straight into `cargo xtask integration-test vm …`.
The driver now extracts each archive into `<cache>/kernel-archives`,
locates the matching `vmlinuz-*`, `lib/modules/*`, and config files, and
feeds those into the initramfs build without requiring the user to
pre-run dpkg/tar. With this in place we drop
`.github/scripts/find_kernels.py`, simplify AGENTS.md/CI instructions to
use `find test/.tmp -name '*.deb'`, remove the gnu-tar requirement we no
longer need, and add `tar` as a workspace dependency for the extractor.
2 months ago
Tamir Duberstein d82ed60795
.cargo/config: use musl-cross on x86_64 as well
This allows us to run virtualized integration tests on macOS hosts.

Bump Ubuntu to 24.04 because we seem to be getting miscompilation on
x86_64 otherwise (when using `x86_64-linux-musl-gcc`). Add `apt install
liblzma-dev` since it doesn't seem to be present in ubuntu-24.04.
2 months ago
Tamir Duberstein 82750ae3b1
.github: attempt to enable KVM 2 months ago
Quentin VIGNAUD 53eb17c312 Reenabling contexts 3 months ago
Quentin VIGNAUD 4bace3c004 Check stuff 3 months ago
Quentin VIGNAUD 352fd1841a Use debug registry 3 months ago
Quentin VIGNAUD 06367700ea Trying stuff on Github 3 months ago
Quentin VIGNAUD 1973becce7 Fix token 3 months ago
Quentin VIGNAUD efa13eb84a Add pseudo-token 3 months ago
Quentin VIGNAUD b6edcc63db Fix tag 3 months ago
Quentin VIGNAUD 0f19b18c1e Trying direct run 3 months ago
Tamir Duberstein a2324e6e50
Add Brewfile 3 months ago
Quentin VIGNAUD 584584f557 Adding checkout 3 months ago
Quentin VIGNAUD 86818ce0d7 Trying fix 3 months ago
Quentin VIGNAUD 09ba8a2185 Trying first Mélodium CI impl 3 months ago
Tamir Duberstein d1fdbb9930
Update to macOS 15 (#1351) 3 months ago
Tamir Duberstein 222b2cb88f
.github: avoid spurious CI failures in forks
This spams my email every day.
4 months ago
Tamir Duberstein a01b1d8b76
.github: build bpf-linker with llvm-21 4 months ago
dependabot[bot] 9a367c11b0 build(deps): bump actions/checkout in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months ago
Tamir Duberstein 9996f7a300
Allow `+debN` kernels
Seems 6.12 is now being marked `+deb13`.
4 months ago
Tamir Duberstein 5b9d432a61
github: fix PR triggers 5 months ago
Michal Rostecki 727dfcd7ee
ci: Fix bpf-linker installation (#1295)
We've recently added an xtask to bpf-linker (aya-rs/bpf-linker#282),
which resulted in multiple binary targets. Therefore, bpf-linker has
to be installed with the following command:

```
cargo install --git https://github.com/aya-rs/bpf-linker.git bpf-linker
```

The last argument (`bpf-linker`) specifies the binary target.
5 months ago