aboutsummaryrefslogtreecommitdiff
path: root/scripts/check-execstack.awk
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2016-02-09 17:32:14 -0500
committerDJ Delorie <dj@delorie.com>2016-02-09 17:32:14 -0500
commit649255b5d3d24089ecc0024972a875ee83a2be0a (patch)
treea8996992a72b5fbb28125e2e695ebc7668322164 /scripts/check-execstack.awk
parent850602a447235f209cb35b6d8e6ae947e10225d1 (diff)
downloadglibc-649255b5d3d24089ecc0024972a875ee83a2be0a.tar.xz
glibc-649255b5d3d24089ecc0024972a875ee83a2be0a.zip
Initial tracing functionality
First attempt at a low-overhead tracing feature. To enable, you build mtrace-ctl.c into a .so and LD_PRELOAD it. That uses a private API to set up a trace buffer, and calls to malloc et all fill in records in the trace buffer. At program exit, mtrace-ctl reads the buffer and stores the data on disk. Internally, the only contention point is the atomic update of the buffer head pointer. Once aquired, each thread fills in its record without needing locks.
Diffstat (limited to 'scripts/check-execstack.awk')
0 files changed, 0 insertions, 0 deletions