LCOV - code coverage report
Current view: top level - drivers/net/nfp - nfp_logs.c (source / functions) Hit Total Coverage
Test: Code coverage Lines: 3 3 100.0 %
Date: 2025-03-01 20:23:48 Functions: 3 3 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 3 6 50.0 %

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: BSD-3-Clause
       2                 :            :  * Copyright(c) 2023 Corigine, Inc.
       3                 :            :  * All rights reserved.
       4                 :            :  */
       5                 :            : 
       6                 :            : #include "nfp_logs.h"
       7                 :            : 
       8                 :            : #include <rte_ethdev.h>
       9                 :            : 
      10         [ -  + ]:        252 : RTE_LOG_REGISTER_SUFFIX(nfp_logtype_init, init, NOTICE);
      11         [ -  + ]:        252 : RTE_LOG_REGISTER_SUFFIX(nfp_logtype_driver, driver, NOTICE);
      12         [ -  + ]:        252 : RTE_LOG_REGISTER_SUFFIX(nfp_logtype_cpp, cpp, NOTICE);
      13                 :            : 
      14                 :            : #ifdef RTE_ETHDEV_DEBUG_RX
      15                 :            : RTE_LOG_REGISTER_SUFFIX(nfp_logtype_rx, rx, DEBUG)
      16                 :            : #endif
      17                 :            : 
      18                 :            : #ifdef RTE_ETHDEV_DEBUG_TX
      19                 :            : RTE_LOG_REGISTER_SUFFIX(nfp_logtype_tx, tx, DEBUG)
      20                 :            : #endif

Generated by: LCOV version 1.14