From: John McNamara <john.mcnamara@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH] mk: added make target to print out system info
Date: Tue, 24 Mar 2015 14:52:59 +0000 [thread overview]
Message-ID: <1427208779-16548-2-git-send-email-john.mcnamara@intel.com> (raw)
In-Reply-To: <1427208779-16548-1-git-send-email-john.mcnamara@intel.com>
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
next prev parent reply other threads:[~2015-03-24 14:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-24 14:52 John McNamara
2015-03-24 14:52 ` John McNamara [this message]
2015-03-24 17:00 ` Neil Horman
2015-03-25 15:06 ` Olivier MATZ
2015-03-25 15:22 ` Neil Horman
2015-03-25 15:42 ` Olivier MATZ
2015-03-25 17:22 ` Neil Horman
2015-03-25 17:42 ` Olivier MATZ
2015-03-25 17:57 ` Neil Horman
2015-03-25 18:11 ` Mcnamara, John
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1427208779-16548-2-git-send-email-john.mcnamara@intel.com \
--to=john.mcnamara@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).