trace: introduce new subsystem
authorJerin Jacob <jerinj@marvell.com>
Wed, 22 Apr 2020 19:03:19 +0000 (00:33 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 23 Apr 2020 13:39:06 +0000 (15:39 +0200)
commit27db82c709dc466537b8437b0dec0619880d59c9
treea59d85d93ac88f498290467536eada2330be5a43
parentd0cfb0646812fd8cc819362d7c4c2b5d8b2f1d93
trace: introduce new subsystem

Define the public API for trace support.
This patch also adds support for the build infrastructure and
update the MAINTAINERS file for the trace subsystem.

The 8 bytes tracepoint object is a global variable, and can be used in
fast path. Created a new __rte_trace_point section to store the
tracepoint objects as,
- It is a mostly read-only data and not to mix with other "write"
  global variables.
- Chances that the same subsystem fast path variables come in the same
  fast path cache line. i.e, it will enable a more predictable
  performance number from build to build.

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>
13 files changed:
MAINTAINERS
config/common_base
config/meson.build
doc/api/doxy-api-index.md
doc/guides/prog_guide/build-sdk-meson.rst
lib/librte_eal/common/eal_common_trace.c [new file with mode: 0644]
lib/librte_eal/common/meson.build
lib/librte_eal/freebsd/Makefile
lib/librte_eal/include/meson.build
lib/librte_eal/include/rte_trace.h [new file with mode: 0644]
lib/librte_eal/include/rte_trace_point.h [new file with mode: 0644]
lib/librte_eal/linux/Makefile
meson_options.txt