test/trace: add functional test cases
authorSunil Kumar Kori <skori@marvell.com>
Wed, 22 Apr 2020 19:03:43 +0000 (00:33 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 23 Apr 2020 13:40:03 +0000 (15:40 +0200)
commit9247e71dfb5577fc8e8ada378049daae03a5aca8
tree4a860bd404880fa6f9458341383b7b106d2a217d
parent8c8066ea6a7b03a0faf233945451bb1955054030
test/trace: add functional test cases

Example commands to run UT and check the traces with babeltrace viewer.

- Delete the existing /root/dpdk-traces/ directory if needed.
> sudo rm -rf /root/dpdk-traces/

- Start the dpdk-test
> sudo ./build/app/test/dpdk-test  -c 0x3 - --trace=.*

- Run trace_autotest
> trace_autotest

- View the traces with babletrace viewer.
> sudo babeltrace /root/dpdk-traces/

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Acked-by: David Marchand <david.marchand@redhat.com>
MAINTAINERS
app/test/Makefile
app/test/meson.build
app/test/test_trace.c [new file with mode: 0644]
app/test/test_trace.h [new file with mode: 0644]
app/test/test_trace_register.c [new file with mode: 0644]