ttcn3-ggsn-test: enable dynamic debug

Enable loglevel=8, as otherwise the messages do not show up.

Change-Id: I048646c4f90233939809546d30c94c4218eedbb1
This commit is contained in:
Oliver Smith 2024-03-01 16:22:34 +01:00
parent 5494300e60
commit f2786e8573
3 changed files with 9 additions and 0 deletions

View File

@ -11,6 +11,7 @@ KERNEL_CMDLINE="
console=ttyS0
panic=-1
init=/init
loglevel=8
$@
"

View File

@ -267,6 +267,8 @@ CONFIG_X86_HV_CALLBACK_VECTOR=y
# CONFIG_X86_X2APIC is not set
# CONFIG_XEN is not set
CONFIG_DYNAMIC_DEBUG=y
# For libgtpnl's qemu tests
CONFIG_NAMESPACES=y
CONFIG_NET_NS=y

View File

@ -11,6 +11,12 @@ initrd_add_bin \
initrd_add_file \
/data/osmo-ggsn.cfg
# Enable dynamic_debug, if it is compiled into the kernel
initrd_add_cmd \
"mount -t debugfs none /sys/kernel/debug || true" \
"(cat /sys/kernel/debug/dynamic_debug/control | grep gtp) || true" \
"echo -n 'module gtp +p' > /sys/kernel/debug/dynamic_debug/control || true"
initrd_add_cmd \
"ip addr add 172.18.3.201/24 brd 172.18.3.255 dev eth0" \
"ip route add default via 172.18.3.1 dev eth0" \