File tree 4 files changed +4
-36
lines changed
4 files changed +4
-36
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ VMLINUX := ../../vmlinux/$(ARCH)/vmlinux.h
12
12
# libbpf to avoid dependency on system-wide headers, which could be missing or
13
13
# outdated
14
14
INCLUDES := -I$(OUTPUT ) -I../../libbpf/include/uapi -I$(dir $(VMLINUX ) )
15
- CFLAGS := -g -Wall -fsanitize=address
15
+ CFLAGS := -g -Wall # -fsanitize=address
16
+ CXX := clang++
16
17
17
18
APPS = profile
18
19
@@ -84,7 +85,7 @@ uprobe_helpers.o: uprobe_helpers.c uprobe_helpers.h
84
85
$(Q )$(CC ) $(CFLAGS ) $(INCLUDES ) -c $(filter % .c,$^ ) -o $@
85
86
86
87
lua_stacks_helper.o : lua_stacks_helper.cpp profile.h lua_stacks_helper.h
87
- $(CC ) $(CFLAGS ) $(INCLUDES ) -c $(filter % .cpp,$^ ) -o $@
88
+ $(CXX ) $(CFLAGS ) $(INCLUDES ) -c $(filter % .cpp,$^ ) -o $@
88
89
89
90
# Build application binary
90
91
$(APPS ) : % : $(OUTPUT ) /% .o uprobe_helpers.o trace_helpers.o lua_stacks_helper.o $(LIBBPF_OBJ ) | $(OUTPUT )
Original file line number Diff line number Diff line change 7
7
#define MAX_ENTRIES 10240
8
8
#define HOST_LEN 80
9
9
10
- struct key_t
10
+ struct profile_key_t
11
11
{
12
12
unsigned int pid ;
13
13
unsigned long long kernel_ip ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments