-
-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathJustfile
More file actions
44 lines (34 loc) · 897 Bytes
/
Justfile
File metadata and controls
44 lines (34 loc) · 897 Bytes
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
set export
# List available targets
default:
just --list
# Remove all the TC for a specific interface
clean interface:
sudo tc filter del dev $interface egress
sudo tc filter del dev $interface ingress
# Show TC for a specific interface
show interface:
sudo tc filter show dev $interface ingress
sudo tc filter show dev $interface egress
# Run oryx debug
run-debug:
echo "" > log-file
RUST_LOG=info RUST_BACKTRACE=1 cargo xtask run 2> log-file
update:
cargo update
pushd oryx-ebpf; cargo update; popd
run:
cargo xtask run
fmt:
pushd oryx-ebpf; cargo fmt --all; popd
pushd oryx-tui; cargo fmt --all; popd
pushd oryx-common; cargo fmt --all; popd
# Run oryx debug
release:
cargo xtask run --release
# Build oryx
build:
cargo xtask build
# Profile
profile:
CARGO_PROFILE_RELEASE_DEBUG=true cargo flamegraph --root --bin oryx