LCOV - code coverage report
Current view: top level - lib/bbdev - rte_bbdev_trace_fp.h (source / functions) Hit Total Coverage
Test: Code coverage Lines: 2 2 100.0 %
Date: 2025-04-03 19:37:06 Functions: 2 2 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: BSD-3-Clause
       2                 :            :  * Copyright(C) 2025 Intel Corporation
       3                 :            :  */
       4                 :            : 
       5                 :            : #ifndef _RTE_BBDEV_TRACE_FP_H_
       6                 :            : #define _RTE_BBDEV_TRACE_FP_H_
       7                 :            : 
       8                 :            : #ifdef __cplusplus
       9                 :            : extern "C" {
      10                 :            : #endif
      11                 :            : 
      12                 :            : #include <rte_trace_point.h>
      13                 :            : 
      14                 :        252 : RTE_TRACE_POINT_FP(
      15                 :            :         rte_bbdev_trace_enqueue,
      16                 :            :         RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint16_t qp_id, void **ops,
      17                 :            :                 uint16_t nb_ops, const char *op_string),
      18                 :            :         rte_trace_point_emit_u8(dev_id);
      19                 :            :         rte_trace_point_emit_u16(qp_id);
      20                 :            :         rte_trace_point_emit_ptr(ops);
      21                 :            :         rte_trace_point_emit_u16(nb_ops);
      22                 :            :         rte_trace_point_emit_string(op_string);
      23                 :            : )
      24                 :            : 
      25                 :        252 : RTE_TRACE_POINT_FP(
      26                 :            :         rte_bbdev_trace_dequeue,
      27                 :            :         RTE_TRACE_POINT_ARGS(uint8_t dev_id, uint16_t qp_id, void **ops,
      28                 :            :                 uint16_t nb_ops, uint16_t nb_ops_deq, const char *op_string),
      29                 :            :         rte_trace_point_emit_u8(dev_id);
      30                 :            :         rte_trace_point_emit_u16(qp_id);
      31                 :            :         rte_trace_point_emit_ptr(ops);
      32                 :            :         rte_trace_point_emit_u16(nb_ops);
      33                 :            :         rte_trace_point_emit_u16(nb_ops_deq);
      34                 :            :         rte_trace_point_emit_string(op_string);
      35                 :            : )
      36                 :            : 
      37                 :            : #ifdef __cplusplus
      38                 :            : }
      39                 :            : #endif
      40                 :            : 
      41                 :            : #endif /* _RTE_BBDEV_TRACE_FP_H_ */

Generated by: LCOV version 1.14