From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 98902A0C4D; Wed, 1 Sep 2021 11:14:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2711640140; Wed, 1 Sep 2021 11:14:18 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id B6D6C4013F for ; Wed, 1 Sep 2021 11:14:15 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10093"; a="240960988" X-IronPort-AV: E=Sophos;i="5.84,368,1620716400"; d="scan'208";a="240960988" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2021 02:14:08 -0700 X-IronPort-AV: E=Sophos;i="5.84,368,1620716400"; d="scan'208";a="498729679" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.0.231]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 01 Sep 2021 02:14:06 -0700 Date: Wed, 1 Sep 2021 10:14:03 +0100 From: Bruce Richardson To: Aman Singh Cc: dev@dpdk.org Message-ID: References: <20210901061821.5259-1-aman.deep.singh@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210901061821.5259-1-aman.deep.singh@intel.com> Subject: Re: [dpdk-dev] [PATCH] eal: add log to print dpdk version at start X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Sep 01, 2021 at 11:48:21AM +0530, Aman Singh wrote: > From the logs it is difficult to get the DPDK version > that was used. So added a debug log to print the same. > The log has been added in eal_init so it gets printed > at startup for any application. > > Signed-off-by: Aman Singh > --- > lib/eal/freebsd/eal.c | 2 +- > lib/eal/linux/eal.c | 2 +- > lib/eal/windows/eal.c | 1 + > 3 files changed, 3 insertions(+), 2 deletions(-) > Note: EAL already has the "-v" flag which prints the version number at startup.