#
443b949e |
| 10-Nov-2023 |
David Marchand <david.marchand@redhat.com> |
doc: use ordered lists
Prefer automatically ordered lists by using #.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Dar
doc: use ordered lists
Prefer automatically ordered lists by using #.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
show more ...
|
#
45a685ca |
| 15-Feb-2023 |
Ankur Dwivedi <adwivedi@marvell.com> |
eal: drop export of internal tracepoints
The file rte_eal_trace.h contains some tracepoints which are internal to the eal library. Those tracepoints are moved to a new file eal_trace_internal.h. The
eal: drop export of internal tracepoints
The file rte_eal_trace.h contains some tracepoints which are internal to the eal library. Those tracepoints are moved to a new file eal_trace_internal.h. The internal tracepoints are removed from the version.map file.
Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
4925e15a |
| 08-Feb-2023 |
Ankur Dwivedi <adwivedi@marvell.com> |
trace: add trace point emit for blob
Adds a trace point emit function for capturing a blob. The blob captures the length passed by the application followed by the array.
The maximum blob bytes whic
trace: add trace point emit for blob
Adds a trace point emit function for capturing a blob. The blob captures the length passed by the application followed by the array.
The maximum blob bytes which can be captured is bounded by RTE_TRACE_BLOB_LEN_MAX macro. The value for max blob length macro is 64 bytes. If the length is less than 64 the remaining trailing bytes are set to zero.
This patch also adds test case for emit blob tracepoint function.
Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Sunil Kumar Kori <skori@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
show more ...
|
#
d6fd5a01 |
| 14-Sep-2022 |
David Marchand <david.marchand@redhat.com> |
trace: fix dynamically enabling trace points
Enabling trace points at runtime was not working if no trace point had been enabled first at rte_eal_init() time. The reason was that trace.args reflecte
trace: fix dynamically enabling trace points
Enabling trace points at runtime was not working if no trace point had been enabled first at rte_eal_init() time. The reason was that trace.args reflected the arguments passed to --trace= EAL option.
To fix this: - the trace subsystem initialisation is updated: trace directory creation is deferred to when traces are dumped (to avoid creating directories that may not be used), - per lcore memory allocation still relies on rte_trace_is_enabled() but this helper now tracks if any trace point is enabled. The documentation is updated accordingly, - cleanup helpers must always be called in rte_eal_cleanup() since some trace points might have been enabled and disabled in the lifetime of the DPDK application,
With this fix, we can update the unit test and check that a trace point callback is invoked when expected.
Note: - the 'trace' global variable might be shadowed with the argument passed to the functions dealing with trace point handles. 'tp' has been used for referring to trace_point object. Prefer 't' for referring to handles,
Fixes: 84c4fae4628f ("trace: implement operation APIs") Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Sunil Kumar Kori <skori@marvell.com>
show more ...
|
#
89c67ae2 |
| 21-Sep-2020 |
Ciara Power <ciara.power@intel.com> |
doc: remove references to make from prog guide
Make is no longer supported for compiling DPDK, references are now removed in the documentation.
Signed-off-by: Ciara Power <ciara.power@intel.com> Re
doc: remove references to make from prog guide
Make is no longer supported for compiling DPDK, references are now removed in the documentation.
Signed-off-by: Ciara Power <ciara.power@intel.com> Reviewed-by: Kevin Laatz <kevin.laatz@intel.com>
show more ...
|
#
0fc601af |
| 04-Jul-2020 |
David Marchand <david.marchand@redhat.com> |
trace: simplify trace point registration
RTE_TRACE_POINT_DEFINE and RTE_TRACE_POINT_REGISTER must come in pairs. Merge them and let RTE_TRACE_POINT_REGISTER handle the constructor part.
Signed-off-
trace: simplify trace point registration
RTE_TRACE_POINT_DEFINE and RTE_TRACE_POINT_REGISTER must come in pairs. Merge them and let RTE_TRACE_POINT_REGISTER handle the constructor part.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
ebaee640 |
| 29-Apr-2020 |
David Marchand <david.marchand@redhat.com> |
trace: simplify trace point headers
Invert the current trace point headers logic by making rte_trace_point_register.h include rte_trace_point.h.
There is no more need for a RTE_TRACE_POINT_REGISTER
trace: simplify trace point headers
Invert the current trace point headers logic by making rte_trace_point_register.h include rte_trace_point.h.
There is no more need for a RTE_TRACE_POINT_REGISTER_SELECT special macro since including rte_trace_point_register.h itself means we want to register trace points.
The unexplained "provider" notion is removed from the documentation and rte_trace_point_provider.h is merged into rte_trace_point.h.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
9f8e1810 |
| 22-Apr-2020 |
Jerin Jacob <jerinj@marvell.com> |
doc: add trace library guide
Add programmer's guide for trace library support.
Signed-off-by: Jerin Jacob <jerinj@marvell.com> Signed-off-by: Sunil Kumar Kori <skori@marvell.com> Acked-by: David Ma
doc: add trace library guide
Add programmer's guide for trace library support.
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>
show more ...
|