Re: [PATCH] perf test: check if cpu_map__new() return NULL

From: Arnaldo Carvalho de Melo
Date: Sat Jan 15 2011 - 08:03:56 EST


Em Sat, Jan 15, 2011 at 07:00:50AM +0800, Han Pingtian escreveu:
> It looks like we should check if cpus is NULL after
>
> cpus = cpu_map__new(NULL);
>
> in test__open_syscall_event_on_all_cpus().

Right, thanks,

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/