-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
72 lines (54 loc) · 2.16 KB
/
Copy pathMakefile
File metadata and controls
72 lines (54 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
.PHONY: check agent-plugin-check build benchmark live-tunnel live-netns live-stack live-stack-lifetime live-bpf-helper live-tc-program live-xdp-program live-skb-replacement live-xdp-lineage live-metadata live-skb-filter live-btf-dump live-text-output live-rotation
check:
python3 scripts/validate-agent-plugin.py
cargo fmt --all -- --check
cargo test --workspace --all-features --locked --offline
cargo clippy --workspace --all-targets --all-features --locked --offline -- -D warnings
agent-plugin-check:
python3 scripts/validate-agent-plugin.py
build:
cargo build --release --locked --offline
benchmark:
cargo test --release --locked --offline -p skbx-core replay_100k_events -- --ignored --nocapture
live-tunnel:
cargo build --locked --offline
sudo ./scripts/live-tunnel-test.sh target/debug/skbx
live-netns:
cargo build --locked --offline
sudo ./scripts/live-netns-test.sh target/debug/skbx
live-stack:
cargo build --locked --offline
sudo ./scripts/live-stack-test.sh target/debug/skbx
live-stack-lifetime:
cargo build --locked --offline
sudo ./scripts/live-stack-lifetime-test.sh target/debug/skbx
live-bpf-helper:
cargo build --locked --offline
sudo ./scripts/live-bpf-helper-test.sh target/debug/skbx
live-tc-program:
cargo build --locked --offline
sudo ./scripts/live-tc-program-test.sh target/debug/skbx
live-xdp-program:
cargo build --locked --offline
sudo ./scripts/live-xdp-program-test.sh target/debug/skbx
live-skb-replacement:
cargo build --locked --offline
sudo ./scripts/live-skb-replacement-test.sh target/debug/skbx
live-xdp-lineage:
cargo build --locked --offline
sudo ./scripts/live-xdp-lineage-test.sh target/debug/skbx
live-metadata:
cargo build --locked --offline
sudo ./scripts/live-metadata-test.sh target/debug/skbx
live-skb-filter:
cargo build --locked --offline
sudo ./scripts/live-skb-filter-test.sh target/debug/skbx
live-btf-dump:
cargo build --locked --offline
sudo ./scripts/live-btf-dump-test.sh target/debug/skbx
live-text-output:
cargo build --locked --offline
sudo ./scripts/live-text-output-test.sh target/debug/skbx
live-rotation:
cargo build --locked --offline
sudo ./scripts/live-rotation-test.sh target/debug/skbx