Commit Graph

2345 Commits (ace50a295dafcf85e3fccfd2af23001bcb6065fe)
 

Author SHA1 Message Date
Quentin VIGNAUD ace50a295d Trying other stuff 2 weeks ago
Quentin VIGNAUD 9a6f7590d6 Avoid using specific env 2 weeks ago
Quentin VIGNAUD 3f8176ac60 Fix typo 2 weeks ago
Quentin VIGNAUD f7e7edff77 Fix 2 weeks ago
Quentin VIGNAUD 0748306573 Proceed anyway 2 weeks ago
Quentin VIGNAUD 555c212686 Proceed 2 weeks ago
Quentin VIGNAUD 2a9c36d932 Install git 2 weeks ago
Quentin VIGNAUD 2747c863d8 Trying with image 2 weeks ago
Quentin VIGNAUD 689607276f Disabling docker search 2 weeks ago
Quentin VIGNAUD a4b11654d1 Precise labels 2 weeks ago
Quentin VIGNAUD 2f3424d19a Not calling wrong command 2 weeks ago
Quentin VIGNAUD a71866c78e Fix typo 2 weeks ago
Quentin VIGNAUD 90d0aaec5f Using remote runners 2 weeks ago
Quentin VIGNAUD 2e7254b10a Add echo 2 weeks ago
Quentin VIGNAUD aeb25e158f Add temporization 2 weeks ago
Quentin VIGNAUD 1bb7753543 Adding permissions to token 2 weeks ago
Quentin VIGNAUD 536e60182c Changing artifact name 2 weeks ago
Quentin VIGNAUD e11fcf4897 Updating github context 3 weeks ago
Quentin VIGNAUD c2fadb9df7 Implement buildTestAyaEbpf 3 weeks ago
Quentin VIGNAUD 7e6e218b0a Merge branch 'main' into melodium_ci 3 weeks ago
Daniel Mellado 7a3c03e178 Add licese for aya-obj
This commit adds a link for the needed licenses in aya-obj for fedora
packaging.

Signed-off-by: Daniel Mellado <dmellado@fedoraproject.org>
3 weeks ago
dependabot[bot] a22ec3792a build(deps): update object requirement in the cargo-crates group
Updates the requirements on [object](https://github.com/gimli-rs/object) to permit the latest version.

Updates `object` to 0.38.0
- [Changelog](https://github.com/gimli-rs/object/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gimli-rs/object/compare/0.37.0...0.38.0)

---
updated-dependencies:
- dependency-name: object
  dependency-version: 0.38.0
  dependency-type: direct:production
  dependency-group: cargo-crates
...

Signed-off-by: dependabot[bot] <support@github.com>
4 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
Tamir Duberstein d238b2ea6f
Release crates
- aya v0.13.2
- aya-build v0.1.3
- aya-ebpf v0.1.2
- aya-ebpf-bindings v0.1.2
- aya-ebpf-cty v0.2.3
- aya-ebpf-macros v0.1.2
- aya-log v0.2.2
- aya-log-common v0.1.16
- aya-log-ebpf v0.1.2
- aya-log-ebpf-macros v0.1.1
- aya-log-parser v0.1.14
- aya-obj v0.2.2

Signed-off-by: Tamir Duberstein <tamird@gmail.com>
1 month ago
Dave Tucker acb1ddd2ec
docs: Add release documentation
This describes the current process for performing releases from the
aya workspace.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
1 month 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 46221ad11d
probe: use RAII to clean up in the error path 1 month ago
Tamir Duberstein 72810f095f
aya: ProbeKind is Entry/Return
We already have separate types for KProbe and UProbe.
1 month ago
Tamir Duberstein a4a3c1641f
probe: use exhaustive matches 1 month ago
Tamir Duberstein 1944c4aa00
perf_event: refactor perf_event_open_trace_point
Rewrite it in terms of perf_event_open.
1 month ago
Tamir Duberstein d4b2dde78a
perf_event: inline `perf_event_open_bpf`
This function has one caller and provides no abstraction.
1 month ago
Tamir Duberstein 7e07f85edc
perf_attach: privatize PerfLink
There's no way to obtain this type externally.
1 month ago
Tamir Duberstein 27c7f1c84f
programs: disambiguate `fd` names 1 month ago
Tamir Duberstein 1791d497d3
programs: remove superfluous type ascription 1 month ago
Tamir Duberstein 14a844256a
macros: remove glob imports 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 d1f2e99e6a
xtask: release mode
Since a7cfc694bd we are unpacking dpkg
archives in native Rust and since ... we are downloading and unpacking
debug archives which are around 10x larger than kernel archives for the
same version. Thus build with optimizations so we spend less time in
archive extraction.
1 month ago
Tamir Duberstein 0484ab5c57
xtask: use `-cpu host` iff host == guest 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
JPaja d8f5497884
feat: add `Ebpf::maps_disjoint_mut`
Implemented using `HashMap::get_disjoint_mut` introduced in Rust 1.86.0.
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