trace: create CTF TDSL metadata in memory
authorJerin Jacob <jerinj@marvell.com>
Wed, 22 Apr 2020 19:03:24 +0000 (00:33 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 23 Apr 2020 13:39:22 +0000 (15:39 +0200)
commitf1a099f5b1f1c5f1989da529998f30094de52cc2
treee86d7d5cdc24f664b0c3e92587281d88c685bffe
parent185b7dc1d467a9c9b107450558b460e59596adef
trace: create CTF TDSL metadata in memory

Common trace format(CTF) defines the metadata[1][2] for trace events,
This patch creates the metadata for the DPDK events in memory and
later this will be saved to trace directory on rte_trace_save()
invocation.

[1] https://diamon.org/ctf/#specification
[2] https://diamon.org/ctf/#examples

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/common/eal_common_trace.c
lib/librte_eal/common/eal_common_trace_ctf.c [new file with mode: 0644]
lib/librte_eal/common/eal_trace.h
lib/librte_eal/common/meson.build
lib/librte_eal/freebsd/Makefile
lib/librte_eal/linux/Makefile