[dts] [PATCH V1] fix can't get lcore array

Liu, Yong yong.liu at intel.com
Wed Oct 26 09:38:44 CEST 2016


Thanks gang. Applied.

On 10/20/2016 06:12 PM, xu,gang wrote:
> 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))



More information about the dts mailing list