trace: add memory tracepoints
authorJerin Jacob <jerinj@marvell.com>
Wed, 22 Apr 2020 19:03:35 +0000 (00:33 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 23 Apr 2020 13:39:48 +0000 (15:39 +0200)
commit52f409d614a07cb84beda8e3c985aac2373abaec
tree830a8c1c74ba701e51091033c11e8706e4d775ce
parent4931010619fe2ab499130c6f0cbd36fd7a34a35f
trace: add memory tracepoints

Add the following memory-related tracepoints.

- rte_eal_trace_mem_zmalloc()
- rte_eal_trace_mem_malloc()
- rte_eal_trace_mem_realloc()
- rte_eal_trace_mem_free()

rte_malloc() and rte_free() has been used in the trace implementation,
in order to avoid tracing implementation specific events, added
an internal no trace version rte_malloc() and rte_free().

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_points.c
lib/librte_eal/common/eal_private.h
lib/librte_eal/common/rte_malloc.c
lib/librte_eal/include/rte_eal_trace.h
lib/librte_eal/rte_eal_version.map