-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
231aaf4
commit 64ad786
Showing
4 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.cache | ||
go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
*.o | ||
*.pb.go | ||
.idea | ||
.cache | ||
/.idea | ||
/go | ||
otel-profiling-agent | ||
tracer.ebpf | ||
tracer.ebpf.arm64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,10 +6,11 @@ all: generate ebpf binary | |
|
||
# Removes the go build cache and binaries in the current project | ||
clean: | ||
go clean -cache -i | ||
$(MAKE) -C support/ebpf clean | ||
rm -f build-targets/*.{deb,rpm} | ||
rm -f support/*.test | ||
@go clean -cache -i | ||
@$(MAKE) -s -C support/ebpf clean | ||
@rm -f support/*.test | ||
@chmod -Rf u+w go/ || true | ||
@rm -rf go .cache | ||
|
||
generate: protobuf | ||
go install github.com/florianl/[email protected] | ||
|
@@ -57,7 +58,7 @@ docker-image: | |
docker build -t profiling-agent --build-arg arch=$(NATIVE_ARCH) -f Dockerfile . | ||
|
||
agent: | ||
docker run -v "$$PWD":/agent -it profiling-agent make | ||
docker run -v "$$PWD":/agent -it --rm --user $(shell id -u):$(shell id -g) profiling-agent make | ||
|
||
legal: | ||
@go install go.elastic.co/go-licence-detector@latest | ||
|