LCOV - code coverage report
Current view: top level - app/fdctl - main.c (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 0 16 0.0 %
Date: 2025-03-20 12:08:36 Functions: 0 1 0.0 %

          Line data    Source code
       1             : #include "fdctl.h"
       2             : 
       3             : #include "../shared/commands/configure/configure.h"
       4             : 
       5             : configure_stage_t * STAGES[] = {
       6             :   &fd_cfg_stage_hugetlbfs,
       7             :   &fd_cfg_stage_sysctl,
       8             :   &fd_cfg_stage_hyperthreads,
       9             :   &fd_cfg_stage_ethtool_channels,
      10             :   &fd_cfg_stage_ethtool_gro,
      11             :   &fd_cfg_stage_ethtool_loopback,
      12             :   NULL,
      13             : };
      14             : 
      15             : extern fd_topo_run_tile_t fd_tile_net;
      16             : extern fd_topo_run_tile_t fd_tile_netlnk;
      17             : extern fd_topo_run_tile_t fd_tile_sock;
      18             : extern fd_topo_run_tile_t fd_tile_quic;
      19             : extern fd_topo_run_tile_t fd_tile_bundle;
      20             : extern fd_topo_run_tile_t fd_tile_verify;
      21             : extern fd_topo_run_tile_t fd_tile_dedup;
      22             : extern fd_topo_run_tile_t fd_tile_pack;
      23             : extern fd_topo_run_tile_t fd_tile_shred;
      24             : extern fd_topo_run_tile_t fd_tile_sign;
      25             : extern fd_topo_run_tile_t fd_tile_metric;
      26             : extern fd_topo_run_tile_t fd_tile_cswtch;
      27             : extern fd_topo_run_tile_t fd_tile_gui;
      28             : extern fd_topo_run_tile_t fd_tile_plugin;
      29             : 
      30             : #ifdef FD_HAS_NO_AGAVE
      31             : extern fd_topo_run_tile_t fd_tile_gossip;
      32             : extern fd_topo_run_tile_t fd_tile_repair;
      33             : extern fd_topo_run_tile_t fd_tile_store_int;
      34             : extern fd_topo_run_tile_t fd_tile_replay;
      35             : extern fd_topo_run_tile_t fd_tile_replay_thread;
      36             : extern fd_topo_run_tile_t fd_tile_batch;
      37             : extern fd_topo_run_tile_t fd_tile_batch_thread;
      38             : extern fd_topo_run_tile_t fd_tile_poh_int;
      39             : extern fd_topo_run_tile_t fd_tile_sender;
      40             : extern fd_topo_run_tile_t fd_tile_eqvoc;
      41             : extern fd_topo_run_tile_t fd_tile_rpcserv;
      42             : extern fd_topo_run_tile_t fd_tile_restart;
      43             : extern fd_topo_run_tile_t fd_tile_blackhole;
      44             : #else
      45             : extern fd_topo_run_tile_t fd_tile_resolv;
      46             : extern fd_topo_run_tile_t fd_tile_poh;
      47             : extern fd_topo_run_tile_t fd_tile_bank;
      48             : extern fd_topo_run_tile_t fd_tile_store;
      49             : #endif
      50             : 
      51             : fd_topo_run_tile_t * TILES[] = {
      52             :   &fd_tile_net,
      53             :   &fd_tile_netlnk,
      54             :   &fd_tile_sock,
      55             :   &fd_tile_quic,
      56             :   &fd_tile_bundle,
      57             :   &fd_tile_verify,
      58             :   &fd_tile_dedup,
      59             :   &fd_tile_pack,
      60             :   &fd_tile_shred,
      61             :   &fd_tile_sign,
      62             :   &fd_tile_metric,
      63             :   &fd_tile_cswtch,
      64             :   &fd_tile_gui,
      65             :   &fd_tile_plugin,
      66             : #ifdef FD_HAS_NO_AGAVE
      67             :   &fd_tile_gossip,
      68             :   &fd_tile_repair,
      69             :   &fd_tile_store_int,
      70             :   &fd_tile_replay,
      71             :   &fd_tile_replay_thread,
      72             :   &fd_tile_batch,
      73             :   &fd_tile_batch_thread,
      74             :   &fd_tile_poh_int,
      75             :   &fd_tile_sender,
      76             :   &fd_tile_eqvoc,
      77             :   &fd_tile_rpcserv,
      78             :   &fd_tile_restart,
      79             :   &fd_tile_blackhole,
      80             : #else
      81             :   &fd_tile_resolv,
      82             :   &fd_tile_poh,
      83             :   &fd_tile_bank,
      84             :   &fd_tile_store,
      85             : #endif
      86             :   NULL,
      87             : };
      88             : 
      89             : int
      90             : main( int     argc,
      91             :       char ** argv ) {
      92             :   main1( argc, argv );
      93             : }
      94             : 
      95             : /* Kind of a hack for now, we sometimes want to view bench generation
      96             :    in the monitor binary, but it's not part of the production binary. */
      97             : 
      98             : void
      99             : add_bench_topo( fd_topo_t  * topo,
     100             :                 char const * affinity,
     101             :                 ulong        benchg_tile_cnt,
     102             :                 ulong        benchs_tile_cnt,
     103             :                 ulong        accounts_cnt,
     104             :                 int          transaction_mode,
     105             :                 float        contending_fraction,
     106             :                 float        cu_price_spread,
     107             :                 ulong        conn_cnt,
     108             :                 ushort       send_to_port,
     109             :                 uint         send_to_ip_addr,
     110             :                 ushort       rpc_port,
     111             :                 uint         rpc_ip_addr,
     112           0 :                 int          no_quic ) {
     113           0 :   (void)topo;
     114           0 :   (void)affinity;
     115           0 :   (void)benchg_tile_cnt;
     116           0 :   (void)benchs_tile_cnt;
     117           0 :   (void)accounts_cnt;
     118           0 :   (void)transaction_mode;
     119           0 :   (void)contending_fraction;
     120           0 :   (void)cu_price_spread;
     121           0 :   (void)conn_cnt;
     122           0 :   (void)send_to_port;
     123           0 :   (void)send_to_ip_addr;
     124           0 :   (void)rpc_port;
     125           0 :   (void)rpc_ip_addr;
     126           0 :   (void)no_quic;
     127           0 : }

Generated by: LCOV version 1.14