summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorchappedm@gmail.com <chappedm@gmail.com@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2012-11-05 04:45:01 +0000
committerchappedm@gmail.com <chappedm@gmail.com@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2012-11-05 04:45:01 +0000
commit8de78fd85b69bc569ac8fc9e75144e02f5cae851 (patch)
tree86b70143bc8a648a42cc93aa9d0c7683db822c8f /src/common.h
parent46f06ca0db41d3f598750caefdaf3c6063969e64 (diff)
downloadgperftools-8de78fd85b69bc569ac8fc9e75144e02f5cae851.tar.gz
issue-452: Adds a control mechanism to the cpu profiler to be switched on and off using a user defined signal.
CPUPROFILESIGNAL - Takes a signal number between the value of 1 and 64 inclusive which represents a signal number as defined by signal.h. The signal must not be in use by the program. Sending this signal to the program turns profiling on and off like a switch. By default the switch is off when the program starts. Successive profiles are suffixed with a monotonically increasing number. git-svn-id: http://gperftools.googlecode.com/svn/trunk@182 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
Diffstat (limited to 'src/common.h')
0 files changed, 0 insertions, 0 deletions