177 Commits

Author SHA1 Message Date
brendan%mozilla.org
a85c8874b5 Finish factoring tmreader from bloatblame; misc. clenaups (not part of build).
git-svn-id: svn://10.0.0.236/trunk@74595 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 20:42:15 +00:00
brendan%mozilla.org
20112d6fb4 Make NS_TraceMallocShutdown idempotent just in case it's called more than once (doesn't affect default builds: #ifdef NS_TRACE_MALLOC).
git-svn-id: svn://10.0.0.236/trunk@74010 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 19:10:52 +00:00
warren%netscape.com
5bdd73acae Fixed monitor destructor because NS_TraceMallocShutdown is called twice. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@73996 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 07:28:14 +00:00
brendan%mozilla.org
523a153c14 First cut at reusable trace-malloc logfile reader, factored from bloatblame.
git-svn-id: svn://10.0.0.236/trunk@73894 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-09 08:53:46 +00:00
brendan%mozilla.org
f912d63a39 Interim checkin: -u option for unified (-f and standard) output, down/next links for sorted subgraph navigation, some -j (js-mode) support.
git-svn-id: svn://10.0.0.236/trunk@73395 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 06:42:29 +00:00
brendan%mozilla.org
b2b5554261 Work around unsolved bug reported by rusty.lynch@intel.com.
git-svn-id: svn://10.0.0.236/trunk@73391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 06:22:29 +00:00
brendan%mozilla.org
ad1e1644ba Hoist loop invariant.
git-svn-id: svn://10.0.0.236/trunk@72780 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 18:03:34 +00:00
brendan%mozilla.org
fd75093332 Comment fixes.
git-svn-id: svn://10.0.0.236/trunk@72779 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 18:03:01 +00:00
brendan%mozilla.org
3d43822a6a Fix skip-one-frame-too-many backtrace lossage; update TODO.
git-svn-id: svn://10.0.0.236/trunk@72776 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 17:59:30 +00:00
brendan%mozilla.org
1014164f2d Sacred 80th column preservation, brendan-style case indentation (not part of default build).
git-svn-id: svn://10.0.0.236/trunk@71722 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 19:14:10 +00:00
waterson%netscape.com
9f5ea2ae18 Make more portable.
git-svn-id: svn://10.0.0.236/trunk@71234 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 03:23:19 +00:00
waterson%netscape.com
5cc4533d98 Add NS_TraceMallocStartupArgs() so it's easier to factor between apprunner and other apps. Like viewer. r=brendan
git-svn-id: svn://10.0.0.236/trunk@71227 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:09:25 +00:00
brendan%mozilla.org
41bd9bd59f Push monitor down to avoid overhead when suppressing tracing (r=waterson).
git-svn-id: svn://10.0.0.236/trunk@71223 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:53:52 +00:00
brendan%mozilla.org
6725db8971 Fix stupid logfile_list unlink bug; fix comment.
git-svn-id: svn://10.0.0.236/trunk@70368 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:59:21 +00:00
brendan%mozilla.org
41c29ad8e2 Improve --trace-malloc to handle multiple logfiles.
git-svn-id: svn://10.0.0.236/trunk@70278 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:44:14 +00:00
brendan%mozilla.org
72282ad97a Fix site logfile flushing on startup; #if 0 doomed libbfd-based version of dladdr.
git-svn-id: svn://10.0.0.236/trunk@68025 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:07:20 +00:00
brendan%mozilla.org
3af34ae6d8 Debloat output by consolidating onmouseovers.
git-svn-id: svn://10.0.0.236/trunk@67375 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 05:41:59 +00:00
brendan%mozilla.org
ab1fe68877 Add TraceMalloc* native methods; allow multiple log files per site file.
git-svn-id: svn://10.0.0.236/trunk@67370 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 04:02:22 +00:00
brendan%mozilla.org
1bd1fa7328 Count allocations too; dump nodes ranked by mean allocation size.
git-svn-id: svn://10.0.0.236/trunk@67005 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 23:52:27 +00:00
shaver%mozilla.org
7d81715f23 show pointed-to symbol onmouseover, for easier scanning (r=brendan)
git-svn-id: svn://10.0.0.236/trunk@66915 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 07:13:19 +00:00
brendan%mozilla.org
2055088134 Add -f function-dump-filename option; try to keep its first table cell of reasonable width without depending on (broken in 4.x) css support.
git-svn-id: svn://10.0.0.236/trunk@66906 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 05:04:58 +00:00
brendan%mozilla.org
01a44c7e01 Comment improvements.
git-svn-id: svn://10.0.0.236/trunk@66865 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 18:36:10 +00:00
brendan%mozilla.org
8856ae619c Stop component-wise over-totalling madness when JS=>js=>JS=>js.
git-svn-id: svn://10.0.0.236/trunk@66756 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:38:18 +00:00
brendan%mozilla.org
7151e98552 Percent signs after numbers, please\!
git-svn-id: svn://10.0.0.236/trunk@66732 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 19:05:53 +00:00
brendan%mozilla.org
5046822d35 Optimize total computation, fix visited to be a counter.
git-svn-id: svn://10.0.0.236/trunk@66685 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:47:00 +00:00
brendan%mozilla.org
13518b89f8 Fix plib-instead-of-lib->total += type; use int32 for possibly negative values.
git-svn-id: svn://10.0.0.236/trunk@66657 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 03:01:09 +00:00
brendan%mozilla.org
a52af9e334 Add nsTraceMalloc.[ch] and bloatblame.c, not part of build (setenv NS_TRACE_MALLOC to enable here and in xpfe/bootstrap).
git-svn-id: svn://10.0.0.236/trunk@66523 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 04:55:26 +00:00