File: threadstacks.meta

package info (click to toggle)
systemtap 4.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 39,000 kB
  • sloc: cpp: 78,785; ansic: 62,419; xml: 49,443; exp: 42,735; sh: 11,254; python: 3,062; perl: 2,252; tcl: 1,305; makefile: 1,072; lisp: 105; awk: 101; asm: 91; java: 56; sed: 16
file content (9 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
title: Override default new-pthread stack sizes
name: threadstacks.stp
keywords: thread guru
subsystem: process
exit: user-controlled
requires: glibc-debuginfo
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.
test_check: stap -gp4 threadstacks.stp -Gsize=65536 -d `which stap`
test_installcheck: stap -g threadstacks.stp -Gsize=65536 -T 1 -d `which stap`