diff options
author | Jiri Pirko <[email protected]> | 2011-01-10 14:14:23 -0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-01-10 14:16:00 -0200 |
commit | 12f7e0364375ba1ba55abcc5ac082b68fb526c80 (patch) | |
tree | 464bf05ab148fcafb1aba919261c1d1467919abb /tools/perf/util/trace-event-scripting.c | |
parent | aa7bc7ef73efc46d7c3a0e185eefaf85744aec98 (diff) |
perf sched: Use PTHREAD_STACK_MIN to avoid pthread_attr_setstacksize() fail
on ppc64:
/usr/include/bits/local_lim.h:#define PTHREAD_STACK_MIN 131072
therefore following set of commands:
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.
Cc: Ingo Molnar <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions