diff options
Diffstat (limited to 'third_party/tcmalloc/vendor/doc')
-rw-r--r-- | third_party/tcmalloc/vendor/doc/cpuprofile.html | 13 | ||||
-rw-r--r-- | third_party/tcmalloc/vendor/doc/designstyle.css | 6 | ||||
-rw-r--r-- | third_party/tcmalloc/vendor/doc/heap_checker.html | 4 | ||||
-rw-r--r-- | third_party/tcmalloc/vendor/doc/heapprofile.html | 4 | ||||
-rw-r--r-- | third_party/tcmalloc/vendor/doc/index.html | 5 | ||||
-rw-r--r-- | third_party/tcmalloc/vendor/doc/pprof.1 | 8 | ||||
-rw-r--r-- | third_party/tcmalloc/vendor/doc/pprof.see_also | 4 | ||||
-rw-r--r-- | third_party/tcmalloc/vendor/doc/pprof_remote_servers.html | 6 |
8 files changed, 22 insertions, 28 deletions
diff --git a/third_party/tcmalloc/vendor/doc/cpuprofile.html b/third_party/tcmalloc/vendor/doc/cpuprofile.html index f029e78..769ec68 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><google/profiler.h></code>.) + (These functions are declared in <code><gperftools/profiler.h></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> diff --git a/third_party/tcmalloc/vendor/doc/designstyle.css b/third_party/tcmalloc/vendor/doc/designstyle.css index f5d1ec2..29299af 100644 --- a/third_party/tcmalloc/vendor/doc/designstyle.css +++ b/third_party/tcmalloc/vendor/doc/designstyle.css @@ -71,12 +71,6 @@ UL.nobullets { margin-left: -1em; } -/* -body:after { - content: "Google Confidential"; -} -*/ - /* pretty printing styles. See prettify.js */ .str { color: #080; } .kwd { color: #008; } diff --git a/third_party/tcmalloc/vendor/doc/heap_checker.html b/third_party/tcmalloc/vendor/doc/heap_checker.html index 544ce60..ea2ade6 100644 --- a/third_party/tcmalloc/vendor/doc/heap_checker.html +++ b/third_party/tcmalloc/vendor/doc/heap_checker.html @@ -3,7 +3,7 @@ <HEAD> <link rel="stylesheet" href="designstyle.css"> - <title>Google Heap Leak Checker</title> + <title>Gperftools Heap Leak Checker</title> </HEAD> <BODY> @@ -170,7 +170,7 @@ checked by creating a <code>HeapLeakChecker</code> object at the beginning of the code segment, and call <code>NoLeaks()</code> at the end. These functions, and all others referred to in this file, are declared in -<code><google/heap-checker.h></code>. +<code><gperftools/heap-checker.h></code>. </p> <p>Here's an example:</p> diff --git a/third_party/tcmalloc/vendor/doc/heapprofile.html b/third_party/tcmalloc/vendor/doc/heapprofile.html index 22bfbec..e9f6b15 100644 --- a/third_party/tcmalloc/vendor/doc/heapprofile.html +++ b/third_party/tcmalloc/vendor/doc/heapprofile.html @@ -3,7 +3,7 @@ <HEAD> <link rel="stylesheet" href="designstyle.css"> - <title>Google Heap Profiler</title> + <title>Gperftools Heap Profiler</title> </HEAD> <BODY> @@ -66,7 +66,7 @@ for a given run of an executable:</p> <pre>% env HEAPPROFILE=/tmp/mybin.hprof /usr/local/bin/my_binary_compiled_with_tcmalloc</pre> <li> <p>In your code, bracket the code you want profiled in calls to <code>HeapProfilerStart()</code> and <code>HeapProfilerStop()</code>. - (These functions are declared in <code><google/heap-profiler.h></code>.) + (These functions are declared in <code><gperftools/heap-profiler.h></code>.) <code>HeapProfilerStart()</code> will take the profile-filename-prefix as an argument. Then, as often as you'd like before calling <code>HeapProfilerStop()</code>, you diff --git a/third_party/tcmalloc/vendor/doc/index.html b/third_party/tcmalloc/vendor/doc/index.html index f4068cb..7b93ed3 100644 --- a/third_party/tcmalloc/vendor/doc/index.html +++ b/third_party/tcmalloc/vendor/doc/index.html @@ -1,7 +1,7 @@ <HTML> <HEAD> -<title>Google Performance Tools</title> +<title>Gperftools</title> </HEAD> <BODY> @@ -13,8 +13,7 @@ </ul> <hr> -Last modified: Wed Mar 21 22:46:51 PDT 2007 - +Last modified: Thu Feb 2 14:40:47 PST 2012 </BODY> diff --git a/third_party/tcmalloc/vendor/doc/pprof.1 b/third_party/tcmalloc/vendor/doc/pprof.1 index cf76d60..4662281 100644 --- a/third_party/tcmalloc/vendor/doc/pprof.1 +++ b/third_party/tcmalloc/vendor/doc/pprof.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23. -.TH PPROF "1" "February 2005" "pprof (part of google-perftools)" Google +.TH PPROF "1" "February 2005" "pprof (part of gperftools)" Google .SH NAME -pprof \- manual page for pprof (part of google-perftools) +pprof \- manual page for pprof (part of gperftools) .SH SYNOPSIS .B pprof [\fIoptions\fR] \fI<program> <profile>\fR @@ -125,7 +125,7 @@ is maintained as a web page called .B cpu_profiler.html and is likely installed at one of the following locations: .IP -.B /usr/share/google-perftools/cpu_profiler.html +.B /usr/share/gperftools/cpu_profiler.html .br -.B /usr/local/share/google-perftools/cpu_profiler.html +.B /usr/local/share/gperftools/cpu_profiler.html .PP diff --git a/third_party/tcmalloc/vendor/doc/pprof.see_also b/third_party/tcmalloc/vendor/doc/pprof.see_also index c58baaa..f2caf52 100644 --- a/third_party/tcmalloc/vendor/doc/pprof.see_also +++ b/third_party/tcmalloc/vendor/doc/pprof.see_also @@ -5,7 +5,7 @@ is maintained as a web page called .B cpu_profiler.html and is likely installed at one of the following locations: .IP -.B /usr/share/google-perftools/cpu_profiler.html +.B /usr/share/gperftools/cpu_profiler.html .br -.B /usr/local/share/google-perftools/cpu_profiler.html +.B /usr/local/share/gperftools/cpu_profiler.html .PP diff --git a/third_party/tcmalloc/vendor/doc/pprof_remote_servers.html b/third_party/tcmalloc/vendor/doc/pprof_remote_servers.html index 09e7653..dd29dfb 100644 --- a/third_party/tcmalloc/vendor/doc/pprof_remote_servers.html +++ b/third_party/tcmalloc/vendor/doc/pprof_remote_servers.html @@ -64,7 +64,7 @@ can change it if you'd like.</p> </pre> <p>and have the server send <code>output</code> back as an HTTP response to <code>pprof</code>. <code>MallocExtension</code> is -defined in the header file <code>google/malloc_extension.h</code>.</p> +defined in the header file <code>gperftools/malloc_extension.h</code>.</p> <p>Note this will only only work if the binary is being run with sampling turned on (which is not the default). To do this, set the @@ -115,7 +115,7 @@ controlled via the variable <code>GROWTH_PAGE</code> in the </pre> <p>and sending <code>output</code> back as an HTTP response to <code>pprof</code>. <code>MallocExtension</code> is defined in the -header file <code>google/malloc_extension.h</code>.</p> +header file <code>gperftools/malloc_extension.h</code>.</p> <p>Here's an example, from an actual Google webserver, of what the output should look like:</p> @@ -138,7 +138,7 @@ change it if you'd like.</p> <p>The server should respond by calling <code>ProfilerStart(filename)</code>, continuing to do its work, and then, XX seconds later, calling <code>ProfilerStop()</code>. (These -functions are declared in <code>google/profiler.h</code>.) The +functions are declared in <code>gperftools/profiler.h</code>.) The application is responsible for picking a unique filename for <code>ProfilerStart()</code>. After calling <code>ProfilerStop()</code>, the server should read the contents of |