Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 6049dfc

Browse files
committed
Always pass -fno-omit-frame-pointer
This helps bpftrace generate stack traces. Signed-off-by: Cole Miller <cole.miller@canonical.com>
1 parent 3e07fcb commit 6049dfc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile.am

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
ACLOCAL_AMFLAGS = -I m4
22
AM_CFLAGS += $(CODE_COVERAGE_CFLAGS)
33

4+
# Not clobbering the base pointer helps bpftrace construct backtraces
5+
AM_CFLAGS += -fno-omit-frame-pointer
6+
47
include_HEADERS = include/raft.h
58

69
raftincludedir = $(includedir)/raft

0 commit comments

Comments
 (0)