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

Commit be97199

Browse files
committed
Pass -fno-omit-frame-pointer in debug builds
This helps bpftrace generate stack traces. Signed-off-by: Cole Miller <cole.miller@canonical.com>
1 parent 3e07fcb commit be97199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ benchmark_os_disk_write_LDFLAGS = -luring
244244
endif # BENCHMARK_ENABLED
245245

246246
if DEBUG_ENABLED
247-
AM_CFLAGS += -Werror -Wall
247+
AM_CFLAGS += -Werror -Wall -fno-omit-frame-pointer
248248
else
249249
AM_CFLAGS += -DNDEBUG
250250
endif

0 commit comments

Comments
 (0)