git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a690da8
)
tools: remove extra blank lines in CPU layout
author
Keith Wiles
<keith.wiles@intel.com>
Tue, 8 Dec 2015 18:52:17 +0000
(12:52 -0600)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 24 Mar 2016 21:04:10 +0000
(22:04 +0100)
The output for the core list included an extra linefeed making
the number of lines displayed much larger then required.
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
tools/cpu_layout.py
patch
|
blob
|
history
diff --git
a/tools/cpu_layout.py
b/tools/cpu_layout.py
index
20a409d
..
d38d0b5
100755
(executable)
--- a/
tools/cpu_layout.py
+++ b/
tools/cpu_layout.py
@@
-92,4
+92,4
@@
for c in cores:
print "Core %s" % str(c).ljust(max_core_id_len),
for s in sockets:
print str(core_map[(s,c)]).ljust(max_core_map_len),
- print "
\n
"
+ print ""