Re: [dpdk-dev] [PATCH v6 05/33] eal/trace: implement trace operation APIs

2020-04-21 Thread David Marchand
On Tue, Apr 21, 2020 at 3:47 PM Jerin Jacob wrote: > > > @@ -20,6 +22,151 @@ static RTE_DEFINE_PER_LCORE(int, ctf_count); > > > static struct trace_point_head tp_list = > > > STAILQ_HEAD_INITIALIZER(tp_list); > > > static struct trace trace; > > > > > > +bool > > > +rte_trace_is_enabled(void) >

Re: [dpdk-dev] [PATCH v6 05/33] eal/trace: implement trace operation APIs

2020-04-21 Thread Jerin Jacob
On Tue, Apr 21, 2020 at 6:19 PM David Marchand wrote: > > On Sun, Apr 19, 2020 at 12:02 PM wrote: > > diff --git a/lib/librte_eal/common/eal_common_trace.c > > b/lib/librte_eal/common/eal_common_trace.c > > index 5c5cbd2a1..1ca702f68 100644 > > --- a/lib/librte_eal/common/eal_common_trace.c > >

Re: [dpdk-dev] [PATCH v6 05/33] eal/trace: implement trace operation APIs

2020-04-21 Thread David Marchand
On Sun, Apr 19, 2020 at 12:02 PM wrote: > diff --git a/lib/librte_eal/common/eal_common_trace.c > b/lib/librte_eal/common/eal_common_trace.c > index 5c5cbd2a1..1ca702f68 100644 > --- a/lib/librte_eal/common/eal_common_trace.c > +++ b/lib/librte_eal/common/eal_common_trace.c > @@ -3,7 +3,9 @@ >

[dpdk-dev] [PATCH v6 05/33] eal/trace: implement trace operation APIs

2020-04-19 Thread jerinj
From: Jerin Jacob 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_regex