[PATCH v5 0/6] add trace points in ethdev library
Ferruh Yigit
ferruh.yigit at amd.com
Thu Jan 12 18:03:23 CET 2023
On 1/12/2023 11:21 AM, Ankur Dwivedi wrote:
> This series adds trace points for functions in the ethdev library.
> The trace points are added in ethdev, flow, mtr and tm files.
>
> v5:
> - The rte_trace_point_emit_char_array function is renamed to
> rte_trace_point_emit_blob. With this function an array of
> any length upto 65535 bytes can be captured.
> For example, the following is the ctf metadata created to display
> a mac addr array in rte_eth_trace_macaddr_get():
> struct {
> ...
> uint16_t len;
> uint8_t mac_addr_addr_bytes[len];
> };
> - Added additional test cases for rte_eal_trace_generic_blob
> test case.
> - Capturing of return value of a function is added to tracepoint
> for flow, mtr and tm patches.
> - In ehdev patch (1/6), removed extra line. Also added rx_pkts and
> tx_pkts pointer in trace point.
>
> v4:
> - Adds tracepoint function to emit char array. Also adds the
> test case.
> - Resolved review comments on "ethdev: add trace point" patch.
> This patch is divided into 2 patches to minimize per patch
> size.
> - From the earlier version (v3), few tracepoints in ethdev,
> flow, mtr, tm are made as fast path tracepoints. For the
> tracepoint which i was unsure, i have made it as fastpath.
> All the fast path tracepoints can be found in
> rte_ethdev_trace_fp.h and rte_ethdev_trace_fp_burst.h.
> All the slow path tracepoints can be found in rte_ethdev_trace.h.
> - Capturing of return value is added to tracepoint in ethdev.
> For flow, mtr and tm these changes are still yet to bde done.
> Will do it in the next versions.
> - Moved the trace functions from INTERNAL to EXPERIMENTAL in
> version.map.
>
> v3:
> - Moved the trace functions from EXPERIMENTAL to INTERNAL in
> version.map.
> - Moved trace functions call to the end, in ethdev and flow trace.
> - Added code to print the input value of features in
> rte_eth_trace_rx_metadata_negotiate().
> - Added code to capture return value in flow trace.
>
> Ankur Dwivedi (6):
> eal: trace: add trace point emit for blob
> ethdev: add trace points for ethdev
> ethdev: add trace points for remaining functions
> ethdev: add trace points for flow
> ethdev: add trace points for mtr
> ethdev: add trace points for tm
Hi Ankur,
Build seems failing with set, can you please check:
https://mails.dpdk.org/archives/test-report/2023-January/339696.html
I can reproduce build failures via 32bit and debugoptimized builds.
More information about the dev
mailing list