chore(aya-ebpf-macros): Rename bpf -> ebpf

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
pull/528/head
Dave Tucker 8 months ago
parent 41c61560ea
commit ea8073793e

@ -52,7 +52,7 @@ pull_request_rules:
- name: add labels for aya-bpf PRs - name: add labels for aya-bpf PRs
conditions: conditions:
- files~=^(aya-bpf-macros|bpf/aya-bpf(-(cty|bindings))?)/ - files~=^(aya-ebpf-macros|bpf/aya-bpf(-(cty|bindings))?)/
actions: actions:
label: label:
add: add:

@ -11,7 +11,7 @@ members = [
"xtask", "xtask",
# macros # macros
"aya-bpf-macros", "aya-ebpf-macros",
"aya-log-ebpf-macros", "aya-log-ebpf-macros",
# ebpf crates # ebpf crates
@ -35,7 +35,7 @@ default-members = [
# tests, and that doesn't work unless they've been built with `cargo xtask`. # tests, and that doesn't work unless they've been built with `cargo xtask`.
"xtask", "xtask",
"aya-bpf-macros", "aya-ebpf-macros",
"aya-log-ebpf-macros", "aya-log-ebpf-macros",
# ebpf crates are omitted; they must be built with: # ebpf crates are omitted; they must be built with:

@ -1,5 +1,5 @@
[package] [package]
name = "aya-bpf-macros" name = "aya-ebpf-macros"
version = "0.1.0" version = "0.1.0"
description = "Proc macros used by aya-ebpf" description = "Proc macros used by aya-ebpf"
authors.workspace = true authors.workspace = true

@ -10,7 +10,7 @@ edition.workspace = true
[dependencies] [dependencies]
aya-ebpf-cty = { path = "../aya-ebpf-cty" } aya-ebpf-cty = { path = "../aya-ebpf-cty" }
aya-bpf-macros = { path = "../../aya-bpf-macros" } aya-ebpf-macros = { path = "../../aya-ebpf-macros" }
aya-ebpf-bindings = { path = "../aya-ebpf-bindings" } aya-ebpf-bindings = { path = "../aya-ebpf-bindings" }
const-assert = { workspace = true, optional = true } const-assert = { workspace = true, optional = true }

@ -29,8 +29,8 @@ pub mod programs;
use core::ffi::c_void; use core::ffi::c_void;
pub use aya_bpf_macros as macros;
pub use aya_ebpf_cty as cty; pub use aya_ebpf_cty as cty;
pub use aya_ebpf_macros as macros;
use cty::{c_int, c_long}; use cty::{c_int, c_long};
use helpers::{bpf_get_current_comm, bpf_get_current_pid_tgid, bpf_get_current_uid_gid}; use helpers::{bpf_get_current_comm, bpf_get_current_pid_tgid, bpf_get_current_uid_gid};

Loading…
Cancel
Save