Bug 1275744 - Reference MOZ_LOG in leak_gauge. r=dbaron
authorRalph Giles <giles@mozilla.com>
Wed, 25 May 2016 15:21:04 -0700
changeset 301532 4051f37e7811bbf0468d7f6a92ce8c2d65d96e1f
parent 301531 3e2b029c616d5cd48e7a6647181f392dd9d14ff8
child 301533 3d9559bf89f7d88006d6f994fb35d5410276a438
push id78357
push userrgiles@mozilla.com
push dateFri, 10 Jun 2016 21:09:15 +0000
treeherdermozilla-inbound@5c27bbcba434 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs1275744
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1275744 - Reference MOZ_LOG in leak_gauge. r=dbaron NSPR_LOG_MODULES is deprecated. MozReview-Commit-ID: 5mugF8txPPR
tools/leak-gauge/leak-gauge.html
tools/leak-gauge/leak-gauge.pl
--- a/tools/leak-gauge/leak-gauge.html
+++ b/tools/leak-gauge/leak-gauge.html
@@ -270,18 +270,18 @@ for many classes of leaks (those that in
 data structures) in Mozilla-based browsers.  It is designed to print
 information about what has leaked by processing a log taken while
 running the browser.  Such a log can be taken over a long session of
 normal browsing and then the log can be processed to find sites that
 leak.  Once a site is known to leak, the logging can then be repeated
 to figure out under what conditions the leak occurs.</p>
 
 <p>The way to create this log is to set the environment variables:</p>
-<pre>  NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5
-  NSPR_LOG_FILE=nspr.log     <i>(or any other filename of your choice)</i></pre>
+<pre>  MOZ_LOG=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5
+  MOZ_LOG_FILE=nspr.log     <i>(or any other filename of your choice)</i></pre>
 <p>in your shell and then run the program.</p>
 <ul>
 <li>In a Windows command prompt, set environment variables with
 <pre>    set VAR=value</pre></li>
 <li> In an sh-based shell such as bash, set environment variables with
 <pre>    export VAR=value</pre></li>
 <li>In a csh-based shell such as tcsh, set environment variables with
 <pre>    setenv VAR value</pre></li>
--- a/tools/leak-gauge/leak-gauge.pl
+++ b/tools/leak-gauge/leak-gauge.pl
@@ -10,18 +10,18 @@
 # data structures) in Mozilla-based browsers.  It is designed to print
 # information about what has leaked by processing a log taken while
 # running the browser.  Such a log can be taken over a long session of
 # normal browsing and then the log can be processed to find sites that
 # leak.  Once a site is known to leak, the logging can then be repeated
 # to figure out under what conditions the leak occurs.
 #
 # The way to create this log is to set the environment variables:
-#   NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5
-#   NSPR_LOG_FILE=nspr.log     (or any other filename of your choice)
+#   MOZ_LOG=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5
+#   MOZ_LOG_FILE=nspr.log     (or any other filename of your choice)
 # in your shell and then run the program.
 # * In a Windows command prompt, set environment variables with
 #     set VAR=value
 # * In an sh-based shell such as bash, set environment variables with
 #     export VAR=value
 # * In a csh-based shell such as tcsh, set environment variables with
 #     setenv VAR value
 #