Skip to content

Commit

Permalink
chore: rename kernel source files
Browse files Browse the repository at this point in the history
Signed-off-by: Massimiliano Giovagnoli <me@maxgio.it>
  • Loading branch information
maxgio92 committed Apr 12, 2024
1 parent c917fae commit db1f004
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $(PROGRAM): $(LIBBPFGO) | $(PROGRAM)/bpf

.PHONY: $(PROGRAM)/bpf
$(PROGRAM)/bpf: vmlinux.h
clang $(CFLAGS) -g -O2 -c -target bpf -o $(OUTPUT)/profile.o kernel/profile.c
clang $(CFLAGS) -g -O2 -c -target bpf -o $(OUTPUT)/profile.bpf.o kernel/profile.bpf.c

.PHONY: $(LIBBPFGO)
$(LIBBPFGO):
Expand Down
2 changes: 1 addition & 1 deletion kernel/profile.c → kernel/profile.bpf.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "vmlinux.h"
#include <bpf/bpf_helpers.h>
#include <bpf/bpf_tracing.h>
#include "profile.h"
#include "profile.bpf.h"

struct {
__uint(type, BPF_MAP_TYPE_STACK_TRACE);
Expand Down
File renamed without changes.

0 comments on commit db1f004

Please sign in to comment.