diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2017-01-19 10:02:32 +0100 |
---|---|---|
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2017-01-20 16:23:19 +0200 |
commit | d9b30d302971eacfd49e4abf517b6ec2d582f765 (patch) | |
tree | 4298d1aad47c11c87c237db2853e2be5ac68da0e /samples | |
parent | c2ed1c1aee2fcb5e2cef9361855571e23d2e119e (diff) |
samples: net: Enable buffer warning and errors in echo apps on qemu
These logs are mandatory to spot buffer leaks. Unfortunately, they are
still not detailed enough to spot the actual place where the leak
happen.
Change-Id: If36dfa7a54aa1546fb268301f369b5ecd046e276
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/net/echo_client/prj_qemu_x86.conf | 3 | ||||
-rw-r--r-- | samples/net/echo_server/prj_qemu_x86.conf | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/samples/net/echo_client/prj_qemu_x86.conf b/samples/net/echo_client/prj_qemu_x86.conf index b26453750..ade81c1bf 100644 --- a/samples/net/echo_client/prj_qemu_x86.conf +++ b/samples/net/echo_client/prj_qemu_x86.conf @@ -4,7 +4,10 @@ CONFIG_NET_IPV4=y CONFIG_NET_UDP=y CONFIG_NET_TCP=y CONFIG_TEST_RANDOM_GENERATOR=y +CONFIG_NET_BUF_LOG=y +CONFIG_SYS_LOG_NET_BUF_LEVEL=2 CONFIG_NET_LOG=y +CONFIG_SYS_LOG_NET_LEVEL=2 CONFIG_NET_SLIP_TAP=y CONFIG_SYS_LOG_SHOW_COLOR=y CONFIG_INIT_STACKS=y diff --git a/samples/net/echo_server/prj_qemu_x86.conf b/samples/net/echo_server/prj_qemu_x86.conf index 936990029..ed6bf245d 100644 --- a/samples/net/echo_server/prj_qemu_x86.conf +++ b/samples/net/echo_server/prj_qemu_x86.conf @@ -4,7 +4,10 @@ CONFIG_NET_IPV4=y CONFIG_NET_UDP=y CONFIG_NET_TCP=y CONFIG_TEST_RANDOM_GENERATOR=y +CONFIG_NET_BUF_LOG=y +CONFIG_SYS_LOG_NET_BUF_LEVEL=2 CONFIG_NET_LOG=y +CONFIG_SYS_LOG_NET_LEVEL=2 CONFIG_NET_SLIP_TAP=y CONFIG_SYS_LOG_SHOW_COLOR=y CONFIG_INIT_STACKS=y |