summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-03-07 21:26:52 +0200
committerPaul Buetow <paul@buetow.org>2025-03-07 21:26:52 +0200
commit4460a68aa299ad6b63ffbbbb23585b93fad9feee (patch)
tree72b585097db224d319e792b51bdf313401fe891d /Makefile
parent2b91942467052dfb389d9209fc96e6bb52fa2e3f (diff)
add pprof option and rename ioriotng to ior
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index fa91ca1..3b2743b 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ all: bpfbuild gobuild
.PHONY: bpfbuild
bpfbuild:
make -C ./internal/c redo
- cp -v ./internal/c/ioriotng.bpf.o .
+ cp -v ./internal/c/ior.bpf.o .
gen: generated
generate: generated
@@ -22,12 +22,12 @@ generated:
.PHONY: gobuild
gobuild:
- go build -tags netgo -ldflags '-w -extldflags "-static"' -o ioriotng ./cmd/ioriotng/main.go
+ go build -tags netgo -ldflags '-w -extldflags "-static"' -o ior ./cmd/ior/main.go
.PHONY: clean
clean:
- find . -type f -name ioriotng -delete
- if [ -e ioriotng.bpf.o ]; then rm ioriotng.bpf.o; fi
+ find . -type f -name ior -delete
+ if [ -e ior.bpf.o ]; then rm ior.bpf.o; fi
make -C ./internal/c clean
.PHONY: world