177 Commits

Author SHA1 Message Date
dp%netscape.com
ca9149699b commandline options for category file and focus category.
git-svn-id: svn://10.0.0.236/trunk@119420 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 21:49:55 +00:00
dp%netscape.com
fd1952056c Categories report
git-svn-id: svn://10.0.0.236/trunk@119294 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 20:11:45 +00:00
dp%netscape.com
0a062f757c fastload-js -> chrome-js
git-svn-id: svn://10.0.0.236/trunk@119244 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 20:25:04 +00:00
dp%netscape.com
64bdd6f00b optimization: When only category changes, dont harvest; just recompute cost.
git-svn-id: svn://10.0.0.236/trunk@119196 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:37:14 +00:00
dp%netscape.com
7e319462f8 more categories
git-svn-id: svn://10.0.0.236/trunk@119195 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:33:16 +00:00
dp%netscape.com
cd1c10a847 installing rules.txt in dist/bin
git-svn-id: svn://10.0.0.236/trunk@119190 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:03:44 +00:00
dp%netscape.com
a91809e282 shared globals
git-svn-id: svn://10.0.0.236/trunk@119184 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:13:59 +00:00
dp%netscape.com
1784cd5c6a Fixing core dump caused by freeing static categoryname
git-svn-id: svn://10.0.0.236/trunk@119183 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:12:44 +00:00
dp%netscape.com
0a8a07bc8f Dealing with non-existent category file
git-svn-id: svn://10.0.0.236/trunk@119182 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:11:55 +00:00
dp%netscape.com
e42ff7fd06 categories
git-svn-id: svn://10.0.0.236/trunk@119177 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:36:47 +00:00
blythe%netscape.com
3552b57b29 fix bug 134737, gmake win32 trace-malloc gd enabled build, r=dp sr=alecf
git-svn-id: svn://10.0.0.236/trunk@119148 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 21:50:01 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
seawood%netscape.com
c046046c39 This patch:
* Changes MOZ_TRACE_MALLOC ifdefs to NS_TRACE_MALLOC ifdefs
* Links against the trace-malloc utils against libxpcom instead of just xpcomds
* Builds NSPR in debug mode on win32 if trace-malloc is enabled
* Adds a few "defined()" checks to diffbloatdump.pl so that it will work for
perl 5.6.1
* Adds a couple of checks for \r so that diffbloatdump.pl works on win32.

Bug #126915 r=bryner/dbaron a=asa


git-svn-id: svn://10.0.0.236/trunk@115364 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 09:26:10 +00:00
seawood%netscape.com
6166352177 Fixing win32 gmake trace-malloc bustage
git-svn-id: svn://10.0.0.236/trunk@114530 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:56:03 +00:00
blythe%netscape.com
d9d306a1a3 NOT part of normal build.
Fix a small performance problem intruduced yesterday.


git-svn-id: svn://10.0.0.236/trunk@112752 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 22:41:08 +00:00
blythe%netscape.com
cbc42dd680 NOT part of normal build.
Fix bug 119065
Better filtering via spacetrace footprint tool.


git-svn-id: svn://10.0.0.236/trunk@112597 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 00:58:33 +00:00
blythe%netscape.com
552180e203 Fix Bug 115189
Trace-Malloc records line number information on platforms which have it.
r=dp sr=alecf


git-svn-id: svn://10.0.0.236/trunk@111713 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 19:03:01 +00:00
dp%netscape.com
b085c89dc3 Adding peak memory used report r=blythe
git-svn-id: svn://10.0.0.236/trunk@111602 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 23:20:29 +00:00
blythe%netscape.com
3ae5e494b6 Fix bug 115191
NOT part of normal build
Correct usage of PRUint64


git-svn-id: svn://10.0.0.236/trunk@111139 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-28 22:27:20 +00:00
blythe%netscape.com
afc0954d1a NOT part of normal build.
Correctly account for heap overhead on allocations.
By default, we now correctly calculate heap impact on win32 using msvcrt.


git-svn-id: svn://10.0.0.236/trunk@111079 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 18:56:01 +00:00
dp%netscape.com
2b63688110 TARGET=_content for hrefs. With this we can now have the spacetrace
sidebar :-)


git-svn-id: svn://10.0.0.236/trunk@110872 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 06:48:50 +00:00
blythe%netscape.com
06dadb14aa Fix bug 115281, report runtime allocation stats
NOT in normal build.


git-svn-id: svn://10.0.0.236/trunk@110667 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 01:00:36 +00:00
dp%netscape.com
b2db34e217 bug 113738 Cost of malloc into trace-malloc log. r=blythe, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@110506 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 00:27:15 +00:00
dp%netscape.com
675f07e7c3 Fixing compiler warning.
git-svn-id: svn://10.0.0.236/trunk@110505 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 00:25:03 +00:00
dp%netscape.com
51a42e0f6f bug 113738 Cost of malloc into trace-malloc log r=blythe, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@110504 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 00:24:12 +00:00
blythe%netscape.com
aee7b180fa Fix bug 113958, win32 nsTraceRefcnt support.
r=dbaron, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@110301 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 22:26:47 +00:00
blythe%netscape.com
29a382dcb9 Fix bug 114149, trace-malloc output platform specific
r=dp, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@110297 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 22:21:50 +00:00
dp%netscape.com
0b3f2b23ac bug 113833 Disabling trace-malloc if required dlls are not
found. (thanks jband) r=dp, sr=jband


git-svn-id: svn://10.0.0.236/trunk@110004 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:29:24 +00:00
dp%netscape.com
26a73785b5 bug 113833 preventing initalization of trace malloc stuff unless
--trace-malloc command line is given. sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@109983 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 06:41:55 +00:00
blythe%netscape.com
00f8bb71ce Bug 112953, non debug trace-malloc on win32.
r=dp,sr=brendan
NOT part of normal build.
Change hinges on another change to nsprpub/gmakefile.win that should land
by those in charge of that module shortly.


git-svn-id: svn://10.0.0.236/trunk@109789 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 02:36:02 +00:00
dp%netscape.com
a4490c1e80 disabling unconditional printfs.
git-svn-id: svn://10.0.0.236/trunk@109480 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 05:39:49 +00:00
blythe%netscape.com
bf73e67f74 NOT part of normal build.
Remove special cases involving reallocs of size 0 (improve it actually).
Avoid qsort problem on MSVC win32.


git-svn-id: svn://10.0.0.236/trunk@109236 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 18:44:15 +00:00
blythe%netscape.com
1f6d513fde NOT part of normal build.
Get spacetrace to report data in seconds instead of confusing interval.
Move weight to far most colunm, as a product.
Unhexcape strings to that C++ classes/member can be targeted.
Add the align by option, to report real heap impact.


git-svn-id: svn://10.0.0.236/trunk@109161 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 01:29:26 +00:00
blythe%netscape.com
6c232105b6 NOT part of normal build.
Allow gd graphics library to be specified for SpaceTrace.


git-svn-id: svn://10.0.0.236/trunk@109087 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 02:07:42 +00:00
blythe%netscape.com
158afbdc12 Fix bug 112196
win32 symbols now work for trace-malloc
r=dbaron,sr=brendan


git-svn-id: svn://10.0.0.236/trunk@109041 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 22:54:05 +00:00
blythe%netscape.com
5b0bd4a484 Fix bug 110807, newlines on win32 trace-malloc tools
sr=brendan,r=dbaron
NOT in normal build


git-svn-id: svn://10.0.0.236/trunk@108916 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 21:10:45 +00:00
dbaron%fas.harvard.edu
1ced18945d Allow nsTraceMalloc to build even when cplus_demangle isn't available (should fix bustage on Brad's tinderbox). Also use NS_PTR_TO_INT32 per Brendan's review comments on bug 106352.
git-svn-id: svn://10.0.0.236/trunk@108641 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 23:32:17 +00:00
dbaron%fas.harvard.edu
5f96f091fa Call the root 'malloc' rather than '.root' since there's no leak root detection going on here.
git-svn-id: svn://10.0.0.236/trunk@108288 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 09:00:26 +00:00
dbaron%fas.harvard.edu
d75cd553c0 Ignore the library/address part of the stack unless asked to use it.
git-svn-id: svn://10.0.0.236/trunk@108252 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:47:07 +00:00
blythe%netscape.com
6d460e3f06 NOT in normal build.
Have the tools build on windows, wether or not they work yet is another
issue.


git-svn-id: svn://10.0.0.236/trunk@108242 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:19:14 +00:00
blythe%netscape.com
44e5d93d15 Fix bug 108103, new tool SpaceTrace
SR,RS=brendan, SR=waterson, R=dbaron


git-svn-id: svn://10.0.0.236/trunk@108196 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 22:40:53 +00:00
alecf%netscape.com
d348a4e9ab better fixes to make bloatblame work on windows
git-svn-id: svn://10.0.0.236/trunk@108193 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 22:08:03 +00:00
alecf%netscape.com
10dba00731 some changes required to get bloatblame building on windows
git-svn-id: svn://10.0.0.236/trunk@108185 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 20:29:28 +00:00
dbaron%fas.harvard.edu
f11ce5ca4c Oops, meant to remove that incorrect comment.
git-svn-id: svn://10.0.0.236/trunk@108162 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 07:44:59 +00:00
dbaron%fas.harvard.edu
c4d6c73aeb New, more portable (i.e., works for me, unlike the old code) Linux nsGetTypeName using dladdr. r=jag sr=waterson b=109829
git-svn-id: svn://10.0.0.236/trunk@108161 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 07:44:26 +00:00
dbaron%fas.harvard.edu
4c020bcc00 Oops. Backing that out.
git-svn-id: svn://10.0.0.236/trunk@108085 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 21:44:45 +00:00
dbaron%fas.harvard.edu
9677901489 Add script to diff the output of two files created by NS_TraceMallocDumpAllocations.
git-svn-id: svn://10.0.0.236/trunk@108083 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 21:42:54 +00:00
waterson%netscape.com
15276fbb6a More types. Remove JS stuff so we can account for it better.
git-svn-id: svn://10.0.0.236/trunk@107070 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 05:17:28 +00:00
waterson%netscape.com
bf277e8274 More types!
git-svn-id: svn://10.0.0.236/trunk@105951 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 18:25:37 +00:00
waterson%netscape.com
8241b8d2c9 Types, types! More types!
git-svn-id: svn://10.0.0.236/trunk@105907 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 00:07:26 +00:00