diff --git a/app/iscsi_tgt/iscsi_tgt.c b/app/iscsi_tgt/iscsi_tgt.c index d67eae42c..9a1e875b1 100644 --- a/app/iscsi_tgt/iscsi_tgt.c +++ b/app/iscsi_tgt/iscsi_tgt.c @@ -177,7 +177,6 @@ main(int argc, char **argv) opts.shutdown_cb = spdk_iscsi_shutdown; opts.usr1_handler = spdk_sigusr1; - printf("Total cores available: %u\n", spdk_env_get_core_count()); printf("Using net framework %s\n", spdk_net_framework_get_name()); /* Blocks until the application is exiting */ app_rc = spdk_app_start(&opts, spdk_startup, NULL, NULL); diff --git a/app/nvmf_tgt/nvmf_tgt.c b/app/nvmf_tgt/nvmf_tgt.c index c4dfb1a5f..bea578f0e 100644 --- a/app/nvmf_tgt/nvmf_tgt.c +++ b/app/nvmf_tgt/nvmf_tgt.c @@ -308,7 +308,6 @@ spdk_nvmf_tgt_start(struct spdk_app_opts *opts) opts->shutdown_cb = spdk_nvmf_shutdown_cb; - printf("Total cores available: %d\n", spdk_env_get_core_count()); /* Blocks until the application is exiting */ rc = spdk_app_start(opts, spdk_nvmf_startup, NULL, NULL); diff --git a/lib/event/app.c b/lib/event/app.c index 292939725..f1c8199aa 100644 --- a/lib/event/app.c +++ b/lib/event/app.c @@ -327,6 +327,8 @@ spdk_app_start(struct spdk_app_opts *opts, spdk_event_fn start_fn, spdk_env_init(&env_opts); + printf("Total cores available: %d\n", spdk_env_get_core_count()); + /* * If mask not specified on command line or in configuration file, * reactor_mask will be 0x1 which will enable core 0 to run one