| 1 |
title: Override default new-pthread stack sizes |
| 2 |
name: threadstacks.stp |
| 3 |
keywords: thread guru |
| 4 |
subsystem: process |
| 5 |
exit: user-controlled |
| 6 |
requires: glibc-debuginfo |
| 7 |
description: Overrides default NPTL pthread_create stack size for all new threads created by target processes. Reports one line per process when the related glibc variable __default_stacksize is updated. Moot for glibc versions that support $LIBC_PTHREAD_DEFAULT_STACKSIZE_NP. |
| 8 |
test_check: stap -gp4 threadstacks.stp -Gsize=65536 -d `which stap` |
| 9 |
test_installcheck: stap -g threadstacks.stp -Gsize=65536 -T 1 -d `which stap` |