From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1C6ED11C5 for ; Tue, 24 Mar 2015 15:53:16 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 24 Mar 2015 07:53:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,458,1422950400"; d="scan'208";a="696978607" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 24 Mar 2015 07:53:05 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t2OEr45o022238; Tue, 24 Mar 2015 14:53:04 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t2OEr4TF016591; Tue, 24 Mar 2015 14:53:04 GMT Received: (from jmcnam2x@localhost) by sivswdev02.ir.intel.com with id t2OEr4Nh016587; Tue, 24 Mar 2015 14:53:04 GMT From: John McNamara To: dev@dpdk.org Date: Tue, 24 Mar 2015 14:52:59 +0000 Message-Id: <1427208779-16548-2-git-send-email-john.mcnamara@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1427208779-16548-1-git-send-email-john.mcnamara@intel.com> References: <1427208779-16548-1-git-send-email-john.mcnamara@intel.com> Subject: [dpdk-dev] [PATCH] mk: added make target to print out system info X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 14:53:17 -0000 Added a 'make system_info' target to print out system info related to DPDK. This is intended as output that can be attached to bug reports. --- mk/rte.sdkroot.mk | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk index e8423b0..b477d09 100644 --- a/mk/rte.sdkroot.mk +++ b/mk/rte.sdkroot.mk @@ -123,3 +123,36 @@ examples examples_clean: %: $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkconfig.mk checkconfig $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkbuild.mk $@ + +.PHONY: system_info +system_info: + $(Q)echo + $(Q)echo "CC version" + $(Q)echo "==========" + $(Q)$(CC) --version + $(Q)echo + + $(Q)echo "DPDK version" + $(Q)echo "============" + $(Q)$(MAKE) showversion + $(Q)echo + + $(Q)echo "Git commit" + $(Q)echo "==========" + $(Q)git log --pretty=format:'%H' -1 + $(Q)echo + + $(Q)echo "Uname" + $(Q)echo "=====" + $(Q)uname -srvmpio + $(Q)echo + + $(Q)echo "Hugepages" + $(Q)echo "=========" + $(Q)grep -i huge /proc/meminfo + $(Q)echo + + $(Q)tools/cpu_layout.py + + $(Q)tools/dpdk_nic_bind.py --status + $(Q)echo -- 1.8.1.4