diff options
author | Alex Rønne Petersen <alexrp@xamarin.com> | 2016-09-08 03:20:32 +0300 |
---|---|---|
committer | Alex Rønne Petersen <alexrp@xamarin.com> | 2016-09-08 03:20:32 +0300 |
commit | e5a68998b7dc2e7baecfaf26ca87de78ec2f94c7 (patch) | |
tree | 6bce173bfa08f8c3c2eb7dacd4cbfb5a47f6c6c9 /man | |
parent | f577b619e9d410d7a2868f7c556fc934f03354fa (diff) |
[profiler} Don't crash if a zero sampling frequency is given.
Diffstat (limited to 'man')
-rw-r--r-- | man/mprof-report.1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/mprof-report.1 b/man/mprof-report.1 index c2020a74450..c4fd545dd10 100644 --- a/man/mprof-report.1 +++ b/man/mprof-report.1 @@ -143,8 +143,8 @@ to the control port program behaviour. The default is to collect a 100 times per second (100 Hz) the instruction pointer. -This is equivalent to the value \[lq]cycles/100\[rq] for -\f[I]TYPE\f[]. +This is equivalent to the value \[lq]cycles/100\[rq]. +A value of zero for \f[I]FREQ\f[] effectively disables sampling. On some systems, like with recent Linux kernels, it is possible to cause the sampling to happen for other events provided by the performance counters of the cpu. |