Skip to content

Commit 59082f5

Browse files
committed
Release aya-ebpf-cty v0.2.2, aya-ebpf-bindings v0.1.1, aya-ebpf-macros v0.1.1, aya-ebpf v0.1.1
Signed-off-by: Dave Tucker <[email protected]>
1 parent c169b72 commit 59082f5

File tree

9 files changed

+183
-14
lines changed

9 files changed

+183
-14
lines changed

aya-ebpf-macros/CHANGELOG.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,43 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v0.1.1 (2024-10-09)
9+
10+
### Chore
11+
12+
- <csr-id-a6f4739b5b138e718632758cad266ee3cb7b1b65/> aya-ebpf-macros: uncomment aya-ebpf dev-dep
13+
This wasn't meant to be committed, cargo-smart-release. Commenting is
14+
needed to fix the cyclic dep aya-ebpf-macros -> aya-ebpf ->
15+
aya-ebpf-macros. See
16+
https://github.com/rust-lang/cargo/issues/4242#issuecomment-413203081
17+
18+
### Other
19+
20+
- <csr-id-b84ede10b9c4813f221fade16b60d5ced4ecdc58/> separate probe to probe ctx & retprobe to retprobe ctx
21+
Added logic in expand function in both kprobe.rs and uprobe.rs for valid
22+
macros. Now, kprobe & uprobe proc macros only accept ProbeContext, and
23+
kretprobe & uretprobe only accept RetProbeContext.
24+
25+
### Commit Statistics
26+
27+
<csr-read-only-do-not-edit/>
28+
29+
- 2 commits contributed to the release.
30+
- 185 days passed between releases.
31+
- 2 commits were understood as [conventional](https://www.conventionalcommits.org).
32+
- 0 issues like '(#ID)' were seen in commit messages
33+
34+
### Commit Details
35+
36+
<csr-read-only-do-not-edit/>
37+
38+
<details><summary>view details</summary>
39+
40+
* **Uncategorized**
41+
- Separate probe to probe ctx & retprobe to retprobe ctx ([`b84ede1`](https://github.com/aya-rs/aya/commit/b84ede10b9c4813f221fade16b60d5ced4ecdc58))
42+
- Aya-ebpf-macros: uncomment aya-ebpf dev-dep ([`a6f4739`](https://github.com/aya-rs/aya/commit/a6f4739b5b138e718632758cad266ee3cb7b1b65))
43+
</details>
44+
845
## v0.1.0 (2024-04-06)
946

1047
<csr-id-ea8073793e44c593e983e69eaa43a4f72799bfc5/>
@@ -22,7 +59,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2259

2360
<csr-read-only-do-not-edit/>
2461

25-
- 8 commits contributed to the release over the course of 31 calendar days.
62+
- 9 commits contributed to the release.
2663
- 2 commits were understood as [conventional](https://www.conventionalcommits.org).
2764
- 0 issues like '(#ID)' were seen in commit messages
2865

@@ -33,6 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3370
<details><summary>view details</summary>
3471

3572
* **Uncategorized**
73+
- Release aya-ebpf-macros v0.1.0 ([`9d24bbe`](https://github.com/aya-rs/aya/commit/9d24bbe316ddf5caca7413198d6f79a0064def88))
3674
- Release aya-ebpf-macros v0.1.0 ([`90f68db`](https://github.com/aya-rs/aya/commit/90f68dbd074e4cd74540d98fb9f17b6c2de3d054))
3775
- Release aya-ebpf-macros v0.1.0, aya-ebpf v0.1.0 ([`eb3947b`](https://github.com/aya-rs/aya/commit/eb3947bf14e8e7ab0f70e12306e38fb8056edf57))
3876
- Release aya-ebpf-bindings v0.1.0, aya-ebpf-macros v0.1.0, aya-ebpf v0.1.0 ([`a34c5e4`](https://github.com/aya-rs/aya/commit/a34c5e43b85dd176b9b18f1cc9c9d80d52f10a1f))

aya-ebpf-macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aya-ebpf-macros"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "Proc macros used by aya-ebpf"
55
authors.workspace = true
66
license.workspace = true
@@ -18,4 +18,4 @@ quote = { workspace = true }
1818
syn = { workspace = true, default-features = true, features = ["full"] }
1919

2020
[dev-dependencies]
21-
aya-ebpf = { path = "../ebpf/aya-ebpf", version = "^0.1.0", default-features = false }
21+
aya-ebpf = { path = "../ebpf/aya-ebpf", version = "^0.1.1", default-features = false }

ebpf/aya-ebpf-bindings/CHANGELOG.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,46 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v0.1.1 (2024-10-09)
9+
10+
### Other
11+
12+
- <csr-id-b513af12e8baa5c5097eaf0afdae61a830c3f877/> add archs powerpc64 and s390x to aya
13+
bpfman, a project using aya, has a requirement to support powerpc64 and
14+
s390x architectures. Adding these two architectures to aya.
15+
16+
### Commit Statistics
17+
18+
<csr-read-only-do-not-edit/>
19+
20+
- 8 commits contributed to the release.
21+
- 185 days passed between releases.
22+
- 1 commit was understood as [conventional](https://www.conventionalcommits.org).
23+
- 0 issues like '(#ID)' were seen in commit messages
24+
25+
### Commit Details
26+
27+
<csr-read-only-do-not-edit/>
28+
29+
<details><summary>view details</summary>
30+
31+
* **Uncategorized**
32+
- Merge pull request #974 from Billy99/billy99-arch-ppc64-s390x ([`ab5e688`](https://github.com/aya-rs/aya/commit/ab5e688fd49fcfb402ad47d51cb445437fbd8cb7))
33+
- Add archs powerpc64 and s390x to aya ([`b513af1`](https://github.com/aya-rs/aya/commit/b513af12e8baa5c5097eaf0afdae61a830c3f877))
34+
- Merge pull request #1010 from aya-rs/codegen ([`bdbd042`](https://github.com/aya-rs/aya/commit/bdbd0423f8aa00f9e59a0b06d2ac9735c373c27f))
35+
- [codegen] Update libbpf to b07dfe3b2a6cb0905e883510f22f9f7c0bb66d0dUpdate libbpf to b07dfe3b2a6cb0905e883510f22f9f7c0bb66d0d ([`e217727`](https://github.com/aya-rs/aya/commit/e2177278ae9951a0262349a6741d013032b3cce6))
36+
- Merge pull request #978 from aya-rs/codegen ([`06aa5c8`](https://github.com/aya-rs/aya/commit/06aa5c8ed344bd0d85096a0fd033ff0bd90a2f88))
37+
- [codegen] Update libbpf to c1a6c770c46c6e78ad6755bf596c23a4e6f6b216 ([`8b50a6a`](https://github.com/aya-rs/aya/commit/8b50a6a5738b5a57121205490d26805c74cb63de))
38+
- Allowlist expected cfgs ([`e4f9ed8`](https://github.com/aya-rs/aya/commit/e4f9ed8d79e4cd19ab5124352fca9e6cbdc1030b))
39+
- Deny warnings ([`b603c66`](https://github.com/aya-rs/aya/commit/b603c665a9a2ec48de2c4b412876bd015e5ead15))
40+
</details>
41+
842
## v0.1.0 (2024-04-06)
943

1044
<csr-id-70ac91dc1e6f209a701cd868db215763d65efa73/>
1145
<csr-id-b06ff402780b80862933791831c578e4c339fc96/>
1246
<csr-id-c7fe60d47e0cc32fc7123e37532d104eaa392b50/>
47+
<csr-id-a4ae8adb0db75f2b82b10b0740447a1dbead62c0/>
1348

1449
### Chore
1550

@@ -31,7 +66,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3166

3267
<csr-read-only-do-not-edit/>
3368

34-
- 6 commits contributed to the release over the course of 31 calendar days.
69+
- 7 commits contributed to the release.
3570
- 4 commits were understood as [conventional](https://www.conventionalcommits.org).
3671
- 0 issues like '(#ID)' were seen in commit messages
3772

@@ -42,6 +77,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4277
<details><summary>view details</summary>
4378

4479
* **Uncategorized**
80+
- Release aya-ebpf-bindings v0.1.0, aya-ebpf-macros v0.1.0, aya-ebpf v0.1.0 ([`a34c5e4`](https://github.com/aya-rs/aya/commit/a34c5e43b85dd176b9b18f1cc9c9d80d52f10a1f))
4581
- Add version keys to Cargo.toml(s) ([`a4ae8ad`](https://github.com/aya-rs/aya/commit/a4ae8adb0db75f2b82b10b0740447a1dbead62c0))
4682
- Release aya-ebpf-bindings v0.1.0, aya-ebpf-macros v0.1.0, aya-ebpf v0.1.0 ([`b8964d3`](https://github.com/aya-rs/aya/commit/b8964d3fd27353beb9054dd18fe8d16251f9164b))
4783
- Add changelogs ([`c7fe60d`](https://github.com/aya-rs/aya/commit/c7fe60d47e0cc32fc7123e37532d104eaa392b50))

ebpf/aya-ebpf-bindings/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aya-ebpf-bindings"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "Bindings for Linux Kernel eBPF types and helpers"
55
authors.workspace = true
66
license.workspace = true
@@ -9,4 +9,4 @@ homepage.workspace = true
99
edition.workspace = true
1010

1111
[dependencies]
12-
aya-ebpf-cty = { version = "0.2.1", path = "../aya-ebpf-cty" }
12+
aya-ebpf-cty = { version = "^0.2.2", path = "../aya-ebpf-cty" }

ebpf/aya-ebpf-cty/CHANGELOG.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,39 @@ This project adheres to $[Semantic Versioning](http://semver.org/).
6565
[v0.1.2]: https://github.com/japaric/cty/compare/v0.1.1...v0.1.2
6666
[v0.1.1]: https://github.com/japaric/cty/compare/v0.1.0...v0.1.1
6767

68+
## v0.2.2 (2024-10-09)
69+
70+
### Other
71+
72+
- <csr-id-b513af12e8baa5c5097eaf0afdae61a830c3f877/> add archs powerpc64 and s390x to aya
73+
bpfman, a project using aya, has a requirement to support powerpc64 and
74+
s390x architectures. Adding these two architectures to aya.
75+
76+
### Commit Statistics
77+
78+
<csr-read-only-do-not-edit/>
79+
80+
- 3 commits contributed to the release.
81+
- 185 days passed between releases.
82+
- 1 commit was understood as [conventional](https://www.conventionalcommits.org).
83+
- 0 issues like '(#ID)' were seen in commit messages
84+
85+
### Commit Details
86+
87+
<csr-read-only-do-not-edit/>
88+
89+
<details><summary>view details</summary>
90+
91+
* **Uncategorized**
92+
- Merge pull request #974 from Billy99/billy99-arch-ppc64-s390x ([`ab5e688`](https://github.com/aya-rs/aya/commit/ab5e688fd49fcfb402ad47d51cb445437fbd8cb7))
93+
- Add archs powerpc64 and s390x to aya ([`b513af1`](https://github.com/aya-rs/aya/commit/b513af12e8baa5c5097eaf0afdae61a830c3f877))
94+
- Allowlist expected cfgs ([`e4f9ed8`](https://github.com/aya-rs/aya/commit/e4f9ed8d79e4cd19ab5124352fca9e6cbdc1030b))
95+
</details>
96+
6897
## v0.2.1 (2024-04-06)
6998

99+
<csr-id-21f570a19cd8d6e8eeaa6127d936877a701ceac3/>
100+
70101
### Chore
71102

72103
- <csr-id-21f570a19cd8d6e8eeaa6127d936877a701ceac3/> Rename bpf -> ebpf
@@ -75,7 +106,7 @@ This project adheres to $[Semantic Versioning](http://semver.org/).
75106

76107
<csr-read-only-do-not-edit/>
77108

78-
- 2 commits contributed to the release over the course of 29 calendar days.
109+
- 3 commits contributed to the release.
79110
- 1 commit was understood as [conventional](https://www.conventionalcommits.org).
80111
- 0 issues like '(#ID)' were seen in commit messages
81112

@@ -86,6 +117,7 @@ This project adheres to $[Semantic Versioning](http://semver.org/).
86117
<details><summary>view details</summary>
87118

88119
* **Uncategorized**
120+
- Release aya-ebpf-cty v0.2.1, aya-ebpf-bindings v0.1.0, aya-ebpf-macros v0.1.0, aya-ebpf v0.1.0 ([`e372fcf`](https://github.com/aya-rs/aya/commit/e372fcf653304c6d7c2647cd7812ca11474f41fc))
89121
- Merge pull request #528 from dave-tucker/rename-all-the-things ([`63d8d4d`](https://github.com/aya-rs/aya/commit/63d8d4d34bdbbee149047dc0a5e9c2b191f3b32d))
90122
- Rename bpf -> ebpf ([`21f570a`](https://github.com/aya-rs/aya/commit/21f570a19cd8d6e8eeaa6127d936877a701ceac3))
91123
</details>

ebpf/aya-ebpf-cty/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ categories = ["embedded", "external-ffi-bindings", "no-std"]
33
description = "Type aliases to C types like c_int for use with bindgen"
44
documentation = "https://docs.rs/aya-bpf-cty"
55
name = "aya-ebpf-cty"
6-
version = "0.2.1"
6+
version = "0.2.2"
77
authors.workspace = true
88
license.workspace = true
99
repository.workspace = true

ebpf/aya-ebpf/CHANGELOG.md

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,68 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v0.1.1 (2024-10-09)
9+
10+
### New Features
11+
12+
- <csr-id-7ad3926d996f6471da05a8f3cab0283bb38c1498/> Implement memmove
13+
The compiler will emit this function for certain operations, but aya
14+
currently does not provide an implementation.
15+
This leads to ebpf loading failures as the kernel can't find the symbol when
16+
loading the program.
17+
18+
The implementation is based on https://github.com/rust-lang/compiler-builtins/blob/master/src/mem/mod.rs#L29-L40
19+
and https://github.com/rust-lang/compiler-builtins/blob/master/src/mem/impls.rs#L128-L135
20+
Only the simplest case has been implemented, none of the word optimizations,
21+
since memcpy also doesn't seem to have them.
22+
23+
### Bug Fixes
24+
25+
- <csr-id-ef0d1253efcc5a385afc74668d4f28580d328822/> Remove PerfEventArray::with_max_entries
26+
This API doesn't make sense as the max_entries needs to be set to the
27+
number of online CPUs by the loader.
28+
29+
### Other
30+
31+
- <csr-id-95e1763e30e0dcfe1256ecd9e32ca27dd65342b4/> Add set_reply accessor to SockOpsContext
32+
- <csr-id-b513af12e8baa5c5097eaf0afdae61a830c3f877/> add archs powerpc64 and s390x to aya
33+
bpfman, a project using aya, has a requirement to support powerpc64 and
34+
s390x architectures. Adding these two architectures to aya.
35+
- <csr-id-2d38b23b99cd259f7a249f4c63b12da909c67015/> moved ret from ProbeContext into new RetProbeContext
36+
Created retprobe.rs to hold RetProbeContext and moved the ret from
37+
ProbeContext in probe.rs into RetProbeContext. Now, only kprobe (which
38+
uses ProbeContext) can access args, and kretprobe (which uses
39+
RetProbeContext) can access ret.
40+
41+
### Commit Statistics
42+
43+
<csr-read-only-do-not-edit/>
44+
45+
- 11 commits contributed to the release.
46+
- 185 days passed between releases.
47+
- 5 commits were understood as [conventional](https://www.conventionalcommits.org).
48+
- 0 issues like '(#ID)' were seen in commit messages
49+
50+
### Commit Details
51+
52+
<csr-read-only-do-not-edit/>
53+
54+
<details><summary>view details</summary>
55+
56+
* **Uncategorized**
57+
- Merge pull request #1020 from l2dy/sockops-ctx ([`635ed3b`](https://github.com/aya-rs/aya/commit/635ed3baed5442c1364a360d7234b72c4ffe3fd8))
58+
- Add set_reply accessor to SockOpsContext ([`95e1763`](https://github.com/aya-rs/aya/commit/95e1763e30e0dcfe1256ecd9e32ca27dd65342b4))
59+
- Merge pull request #974 from Billy99/billy99-arch-ppc64-s390x ([`ab5e688`](https://github.com/aya-rs/aya/commit/ab5e688fd49fcfb402ad47d51cb445437fbd8cb7))
60+
- Add archs powerpc64 and s390x to aya ([`b513af1`](https://github.com/aya-rs/aya/commit/b513af12e8baa5c5097eaf0afdae61a830c3f877))
61+
- Appease nightly clippy ([`bce3c4f`](https://github.com/aya-rs/aya/commit/bce3c4fb1d0cd6e8f9f64420c59e02a42c96b2c8))
62+
- Remove PerfEventArray::with_max_entries ([`ef0d125`](https://github.com/aya-rs/aya/commit/ef0d1253efcc5a385afc74668d4f28580d328822))
63+
- Implement memmove ([`7ad3926`](https://github.com/aya-rs/aya/commit/7ad3926d996f6471da05a8f3cab0283bb38c1498))
64+
- Allowlist expected cfgs ([`e4f9ed8`](https://github.com/aya-rs/aya/commit/e4f9ed8d79e4cd19ab5124352fca9e6cbdc1030b))
65+
- Deny warnings ([`b603c66`](https://github.com/aya-rs/aya/commit/b603c665a9a2ec48de2c4b412876bd015e5ead15))
66+
- Moved ret from ProbeContext into new RetProbeContext ([`2d38b23`](https://github.com/aya-rs/aya/commit/2d38b23b99cd259f7a249f4c63b12da909c67015))
67+
- Appease clippy ([`57cd351`](https://github.com/aya-rs/aya/commit/57cd35172f1534444a548460de6eae4680488711))
68+
</details>
69+
870
## v0.1.0 (2024-04-06)
971

1072
<csr-id-d7af6acb42055ed1e0571bdc4d7dbbfa46c5835e/>
@@ -31,7 +93,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3193

3294
<csr-read-only-do-not-edit/>
3395

34-
- 9 commits contributed to the release over the course of 31 calendar days.
96+
- 10 commits contributed to the release.
3597
- 5 commits were understood as [conventional](https://www.conventionalcommits.org).
3698
- 0 issues like '(#ID)' were seen in commit messages
3799

@@ -42,6 +104,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
42104
<details><summary>view details</summary>
43105

44106
* **Uncategorized**
107+
- Release aya-ebpf v0.1.0 ([`c3ae6f9`](https://github.com/aya-rs/aya/commit/c3ae6f90d8d3be8b31d1de9ccc042133f9ac8f44))
45108
- Release aya-ebpf-macros v0.1.0, aya-ebpf v0.1.0 ([`eb3947b`](https://github.com/aya-rs/aya/commit/eb3947bf14e8e7ab0f70e12306e38fb8056edf57))
46109
- Release aya-ebpf-bindings v0.1.0, aya-ebpf-macros v0.1.0, aya-ebpf v0.1.0 ([`a34c5e4`](https://github.com/aya-rs/aya/commit/a34c5e43b85dd176b9b18f1cc9c9d80d52f10a1f))
47110
- Add version keys to Cargo.toml(s) ([`a4ae8ad`](https://github.com/aya-rs/aya/commit/a4ae8adb0db75f2b82b10b0740447a1dbead62c0))

ebpf/aya-ebpf/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aya-ebpf"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "A library for writing eBPF programs"
55
authors.workspace = true
66
license.workspace = true
@@ -9,9 +9,9 @@ homepage.workspace = true
99
edition.workspace = true
1010

1111
[dependencies]
12-
aya-ebpf-cty = { version = "0.2.1", path = "../aya-ebpf-cty" }
13-
aya-ebpf-macros = { version = "^0.1.0", path = "../../aya-ebpf-macros" }
14-
aya-ebpf-bindings = { version = "^0.1.0", path = "../aya-ebpf-bindings" }
12+
aya-ebpf-cty = { version = "^0.2.2", path = "../aya-ebpf-cty" }
13+
aya-ebpf-macros = { version = "^0.1.1", path = "../../aya-ebpf-macros" }
14+
aya-ebpf-bindings = { version = "^0.1.1", path = "../aya-ebpf-bindings" }
1515
const-assert = { workspace = true, optional = true }
1616

1717
[build-dependencies]

ebpf/aya-log-ebpf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ homepage.workspace = true
99
edition.workspace = true
1010

1111
[dependencies]
12-
aya-ebpf = { version = "^0.1.0", path = "../aya-ebpf" }
12+
aya-ebpf = { version = "^0.1.1", path = "../aya-ebpf" }
1313
aya-log-common = { version = "0.1.14", path = "../../aya-log-common" }
1414
aya-log-ebpf-macros = { version = "^0.1.0", path = "../../aya-log-ebpf-macros" }
1515

0 commit comments

Comments
 (0)