Skip to content

Commit

Permalink
Fix rebasing issues
Browse files Browse the repository at this point in the history
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
  • Loading branch information
kakkoyun committed Apr 21, 2022
1 parent a99aa89 commit dff0bee
Show file tree
Hide file tree
Showing 8 changed files with 247 additions and 1,370 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -12,5 +12,4 @@ local_workspace
minikube-*.iso
minikube.iso
NOTES.md
pkg/agent/*.bpf.o
TODO.md
8 changes: 4 additions & 4 deletions Makefile
Expand Up @@ -49,7 +49,7 @@ OUT_BPF_DIR := pkg/profiler
BPF_ROOT := bpf
BPF_SRC := $(BPF_ROOT)/*.bpf.c
VMLINUX := $(BPF_ROOT)/vmlinux.h
BPF_OBJECTS := cpu_profiler cpu_profiler_with_unwinding
BPF_OBJECTS := cpu_profiler
BPF_HEADERS := 3rdparty/include
BPF_BUNDLE := $(OUT_DIR)/parca-agent.bpf.tar.gz
LIBBPF_SRC := 3rdparty/libbpf/src
Expand Down Expand Up @@ -149,10 +149,10 @@ $(BPF_OBJECTS): %: bpf/%.bpf.c $(LIBBPF_HEADERS) $(LIBBPF_OBJ) | $(OUT_DIR) $(bp
-nostdinc \
-target bpf \
-O2 -emit-llvm -c -g $< -o $(@:.o=.ll)
$(CMD_LLC) -march=bpf -filetype=obj -o pkg/agent/$@.bpf.o $(@:.o=.ll)
$(CMD_LLC) -march=bpf -filetype=obj -o $(OUT_BPF_DIR)/$@.bpf.o $(@:.o=.ll)
rm $(@:.o=.ll)
else
$(OUT_BPF): $(DOCKER_BUILDER) | $(OUT_DIR)
$(BPF_OBJECTS): $(DOCKER_BUILDER) | $(OUT_DIR)
$(call docker_builder_make,$@)
endif

Expand Down Expand Up @@ -191,7 +191,7 @@ endef

.PHONY: mostlyclean
mostlyclean:
-rm -rf $(OUT_BIN) $(bpf_bundle_dir) $(OUT_BPF) $(BPF_BUNDLE)
-rm -rf $(OUT_BIN) $(bpf_bundle_dir) $(OUT_BPF_DIR) $(BPF_BUNDLE)

.PHONY: clean
clean:
Expand Down
226 changes: 0 additions & 226 deletions pkg/agent/podmanager.go

This file was deleted.

0 comments on commit dff0bee

Please sign in to comment.