summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWenSheng He <zhsBernie@gmail.com>2014-06-30 14:39:13 +0800
committerAliaksey Kandratsenka <alk@tut.by>2014-07-06 18:51:27 -0700
commit3abb5cb819bafe7004363f041c194afd827cb053 (patch)
treeaa8b72d3421968bd7ad3357697b1476499187451
parentfd81ec257883c6d5486e4568c955dff86dbed5c8 (diff)
downloadgperftools-3abb5cb819bafe7004363f041c194afd827cb053.tar.gz
issue-630: The env var should be "CPUPROFILE"
To enable cpu profile, the env var should be "CPUPROFILE", not "PROFILE" actually. Signed-off-by: Aliaksey Kandratsenka <alk@tut.by>
-rw-r--r--src/gperftools/profiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gperftools/profiler.h b/src/gperftools/profiler.h
index 95b107f..050689d 100644
--- a/src/gperftools/profiler.h
+++ b/src/gperftools/profiler.h
@@ -40,7 +40,7 @@
* using one of the following methods:
*
* 1. Before starting the program, set the environment variable
- * "PROFILE" to be the name of the file to which the profile
+ * "CPUPROFILE" to be the name of the file to which the profile
* data should be written.
*
* 2. Programmatically, start and stop the profiler using the