Skip to content

Commit 6df80e6

Browse files
committed
WIP: updated configure.sh and start.sh so that the profiling image can work in the multi-server test environment
1 parent 7e0b050 commit 6df80e6

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/sh
2-
./configure --enable-developer --disable-verify-ptr \
2+
./configure \
3+
--enable-developer \
4+
--disable-verify-ptr \
5+
--sysconfdir=/etc \
36
CFLAGS="-g3 -O1 -fno-omit-frame-pointer" \
47
LDFLAGS="-fno-omit-frame-pointer"
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
#!/bin/sh
2-
valgrind --tool=callgrind scripts/bin/radiusd -f -l stdout -S resources.talloc_skip_cleanup=yes
2+
exec valgrind \
3+
--tool=callgrind \
4+
--callgrind-out-file=/etc/prof-results/callgrind.out.%p \
5+
--collect-jumps=yes \
6+
freeradius -f -l stdout -S resources.talloc_skip_cleanup=yes

0 commit comments

Comments
 (0)