The NPTL is part of the
GNU C library
When building the glibc,
several dynamic libraries are actually built.
The NPTL corresponds to the file
To trace the thread library,
needs to be inserted into the NPTL.
PTT comes with a patch for the glibc, which includes:
- trace points inserted into NPTL routines.
- PTT module files that define functions used
to collect trace point data.
- additionnal options in glibc configuration files
- a modified
All things added in NPTL code are enclosed in preprocessor directives,
thus allowing to build the glibc in two different ways:
- if nothing special is done, the original glibc is built.
in the glibc
builds the glibc with PTT support.
This means that the built
will contain instructions to trace NPTL events.
These instructions will be run only if the
is previously launched.