[dts] [PATCH V1] fix can't get lcore array
xu,gang
gangx.xu at intel.com
Thu Oct 20 12:12:05 CEST 2016
fix can't get lcore array according to the core config like "1S/10C/1T"
Signed-off-by: xu,gang <gangx.xu at intel.com>
---
framework/crb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/crb.py b/framework/crb.py
index cddda93..a8e308a 100644
--- a/framework/crb.py
+++ b/framework/crb.py
@@ -607,7 +607,7 @@ class Crb(object):
if config == 'all':
return [n['thread'] for n in self.cores]
- m = re.match("([1234])S/([1-9]+)C/([12])T", config)
+ m = re.match("([1234])S/([0-9]+)C/([12])T", config)
if m:
nr_sockets = int(m.group(1))
--
1.9.3
More information about the dts
mailing list