Re: [PATCH] tools/perf: use PTHREAD_STACK_MIN to avoidpthread_attr_setstacksize() fail

From: Arnaldo Carvalho de Melo
Date: Mon Jan 10 2011 - 11:11:33 EST


Em Mon, Jan 10, 2011 at 05:04:18PM +0100, Jiri Pirko escreveu:
> on ppc64:
> /usr/include/bits/local_lim.h:#define PTHREAD_STACK_MIN 131072
>
> therefore following set of commands:
> # perf sched record date
> # perf sched report
>
> gives:
> perf.2.6.37test: builtin-sched.c:493: create_tasks: Assertion `!(err)' failed.
>
> So make sure we do not set stack size lower than PTHREAD_STACK_MIN.
>
> Signed-off-by: Jiri Pirko <jpirko@xxxxxxxxxx>

Thanks, applying.

- 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/