Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Unified Diff: third_party/tcmalloc/vendor/doc/cpuprofile.html

Issue 9316021: Update the tcmalloc vendor branch to r144 (gperftools 2.0). (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Reuploading Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tcmalloc/vendor/depcomp ('k') | third_party/tcmalloc/vendor/doc/designstyle.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tcmalloc/vendor/doc/cpuprofile.html
diff --git a/third_party/tcmalloc/vendor/doc/cpuprofile.html b/third_party/tcmalloc/vendor/doc/cpuprofile.html
index f029e787ac07d87585b82e6b1a5989d1f39f84ad..769ec68f3d3b34c45b399fb80f933917095437dd 100644
--- a/third_party/tcmalloc/vendor/doc/cpuprofile.html
+++ b/third_party/tcmalloc/vendor/doc/cpuprofile.html
@@ -3,7 +3,7 @@
<HEAD>
<link rel="stylesheet" href="designstyle.css">
- <title>Google CPU Profiler</title>
+ <title>Gperftools CPU Profiler</title>
</HEAD>
<BODY>
@@ -50,13 +50,14 @@ for a given run of an executable:</p>
<ol>
<li> <p>Define the environment variable CPUPROFILE to the filename
- to dump the profile to. For instance, to profile
- <code>/usr/local/bin/my_binary_compiled_with_libprofiler_so</code>:</p>
- <pre>% env CPUPROFILE=/tmp/mybin.prof /usr/local/bin/my_binary_compiled_with_libprofiler_so</pre>
+ to dump the profile to. For instance, if you had a version of
+ <code>/bin/ls</code> that had been linked against libprofiler,
+ you could run:</p>
+ <pre>% env CPUPROFILE=ls.prof /bin/ls</pre>
<li> <p>In your code, bracket the code you want profiled in calls to
<code>ProfilerStart()</code> and <code>ProfilerStop()</code>.
- (These functions are declared in <code>&lt;google/profiler.h&gt;</code>.)
+ (These functions are declared in <code>&lt;gperftools/profiler.h&gt;</code>.)
<code>ProfilerStart()</code> will take
the profile-filename as an argument.</p>
</ol>
@@ -71,7 +72,7 @@ CPUPROFILE with the child's process id).</p>
<p>For security reasons, CPU profiling will not write to a file -- and
is thus not usable -- for setuid programs.</p>
-<p>See the include-file <code>google/profiler.h</code> for
+<p>See the include-file <code>gperftools/profiler.h</code> for
advanced-use functions, including <code>ProfilerFlush()</code> and
<code>ProfilerStartWithOptions()</code>.</p>
« no previous file with comments | « third_party/tcmalloc/vendor/depcomp ('k') | third_party/tcmalloc/vendor/doc/designstyle.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698