trace: implement operation APIs
authorJerin Jacob <jerinj@marvell.com>
Wed, 22 Apr 2020 19:03:21 +0000 (00:33 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 23 Apr 2020 13:39:13 +0000 (15:39 +0200)
commit84c4fae4628f750a9b1ee162dc324c88b2df9bad
tree48404e281bad87fc7156f366eed6d694f56f7b22
parentf58880682c81d412369742ff7e8159f226d9e620
trace: implement operation APIs

This patch implements the following public trace APIs.

- rte_trace_is_enabled()
- rte_trace_mode_get()
- rte_trace_mode_set()
- rte_trace_pattern()
- rte_trace_point_disable()
- rte_trace_point_enable()
- rte_trace_point_is_enabled()
- rte_trace_point_lookup()
- rte_trace_regexp()

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Acked-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/common/eal_common_trace.c
lib/librte_eal/common/eal_trace.h
lib/librte_eal/rte_eal_version.map