215 Commits

Author SHA1 Message Date
dbaron%dbaron.org
58755e3e9c Partial 64-bit and x86_64 porting. b=331743 r=brendan
git-svn-id: svn://10.0.0.236/trunk@193031 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-27 07:29:32 +00:00
dbaron%dbaron.org
1f8a8bbc2f Revert old fix for 230336 in favor of better fix elsewhere.
git-svn-id: svn://10.0.0.236/trunk@192977 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 04:16:00 +00:00
dbaron%dbaron.org
c4c9b3f3da Fix C++ comments that I introduced.
git-svn-id: svn://10.0.0.236/trunk@192911 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 08:32:09 +00:00
dbaron%dbaron.org
ee0c4c2b8e Workaround brokenness of __builtin_frame_address(0) on gcc 4.1 (as shipped with FC5, at least). b=331436 r=brendan
git-svn-id: svn://10.0.0.236/trunk@192881 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 23:21:27 +00:00
dbaron%dbaron.org
f92b553d1b Use __builtin_frame_address instead of setjmp to get the frame pointer. b=323853 r=brendan
git-svn-id: svn://10.0.0.236/trunk@192599 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-19 01:27:17 +00:00
timeless%mozdev.org
af51e73d0e Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
gerv%gerv.net
76529f3fd6 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@185990 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 13:25:40 +00:00
timeless%mozdev.org
dae7b0629a Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
8a213cf6db Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185276 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 19:48:04 +00:00
timeless%mozdev.org
db63280166 Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless


git-svn-id: svn://10.0.0.236/trunk@185035 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 06:25:15 +00:00
timeless%mozdev.org
64f8fa0d06 Bug 295159 trace-malloc build crashes in glibc initialization
patch by sascha@schumann.cx r=timeless sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@184552 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-13 22:39:05 +00:00
dbaron%dbaron.org
edb34abfcb Remove CRs (whitespace change only).
git-svn-id: svn://10.0.0.236/trunk@180767 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 20:32:30 +00:00
gandalf%firefox.pl
e4a289d62e Bug 288823: Trace-malloc fails to compile on windows; p=bugzilla@mcsmurf.de,r+sr=dbaron,a=brendan
git-svn-id: svn://10.0.0.236/trunk@174468 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-11 12:52:23 +00:00
dbaron%dbaron.org
ad3a804a8b Fix bustage. b=288626
git-svn-id: svn://10.0.0.236/trunk@171787 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 06:02:47 +00:00
dbaron%dbaron.org
da7dc81064 For functions in the binary, output something compatible with addr2line. b=230336 r=brendan
git-svn-id: svn://10.0.0.236/trunk@171358 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 01:54:54 +00:00
bsmedberg%covad.net
4c08900f0e Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees.
git-svn-id: svn://10.0.0.236/trunk@166497 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 19:28:35 +00:00
gerv%gerv.net
8b69962ee3 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155500 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 21:07:34 +00:00
dbaron%dbaron.org
ef37acbcb0 Add simple trace-malloc reader to dump all allocation stacks in a trace-malloc log.
git-svn-id: svn://10.0.0.236/trunk@152956 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 19:52:59 +00:00
cls%seawood.org
3fbe4d6c86 Remove troublesome libiberty dependency by using __cxa_demangle instead of cplus_demangle. (redux)
Bug #232763 r=dbaron sr=brendan


git-svn-id: svn://10.0.0.236/trunk@152657 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 07:16:11 +00:00
brendan%mozilla.org
e70349e80d Get my NS_TrackAllocation patch in before cls moves files.
git-svn-id: svn://10.0.0.236/trunk@152644 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:15:17 +00:00
cls%seawood.org
3cf0350971 Backing out previous changes.
Missed a cplus_demangle call and it turns out that all of trace-malloc needs to be tweaked to use c++ instead of C.
Bug #232763


git-svn-id: svn://10.0.0.236/trunk@152605 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 18:55:04 +00:00
cls%seawood.org
cf54f26942 Remove unneeded -liberty references.
Bug #232763


git-svn-id: svn://10.0.0.236/trunk@152600 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 17:58:21 +00:00
dbaron%dbaron.org
7e12d1dd8b Note out-of-component pointers.
git-svn-id: svn://10.0.0.236/trunk@151462 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-17 20:52:40 +00:00
alecf%flett.org
936cd4dfe8 minor updates to spacetrace:
- show progress while loading the events file
- show more detailed leak summary
no review, this is a debug-only tool and I'm only changing console output


git-svn-id: svn://10.0.0.236/trunk@151250 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 16:35:45 +00:00
dbaron%dbaron.org
5230556c2f Remove pc tests in stack walking code that prevent it from working on Fedora Core 1. b=227396 r=bryner
git-svn-id: svn://10.0.0.236/trunk@150851 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-03 19:16:31 +00:00
dbaron%dbaron.org
22320a099e Remove include of stdio.h from nsTraceRefcnt.h. b=227074 r=dougt sr,a=brendan
git-svn-id: svn://10.0.0.236/trunk@150261 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-12 23:02:12 +00:00
dbaron%dbaron.org
124929e726 Be sure to call NS_TraceMallocStartup so we know (on Unix) not to waste time logging everything once we know there is no command-line argument. b=113833 r+sr=brendan
git-svn-id: svn://10.0.0.236/trunk@144013 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 00:28:05 +00:00
alecf%flett.org
62d9309b9d oops, didn't mean to check that in
git-svn-id: svn://10.0.0.236/trunk@143834 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 02:14:15 +00:00
alecf%flett.org
4940983ac2 oops, minor cleanup on the UI to distinguish between callsite and allocation listings for the "top" or "normal" callsites
again, not part of normal build


git-svn-id: svn://10.0.0.236/trunk@143833 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 02:13:46 +00:00
alecf%flett.org
7ea4a687c8 not part of build
revamp the spacetrace interface to provide scrolling tables for easier navigation of child callsites, local allocations, and more.


git-svn-id: svn://10.0.0.236/trunk@143832 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 02:02:02 +00:00
alecf%flett.org
797c2fddf2 minor warnings cleanup, make a htmlStartTable() method to consolidate some code
not part of the build


git-svn-id: svn://10.0.0.236/trunk@143823 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 23:01:46 +00:00
alecf%flett.org
50a1dada6d reformat these files with 'indent' so that they are actually maintainable
not part of default build


git-svn-id: svn://10.0.0.236/trunk@143813 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 21:10:49 +00:00
alecf%flett.org
2a5003dcc1 refactor some of the options page, pretty it up a bit
NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@143350 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-05 19:56:06 +00:00
alecf%flett.org
13b0423066 ugh, take two - remove PR_ASSERT, tabs, and extra ^M's
git-svn-id: svn://10.0.0.236/trunk@143298 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-04 20:53:57 +00:00
alecf%flett.org
8c9811e251 spacetrace updates (not part of build)
- use arenas for hashtable allocation - reduces spacetrace's mem usage tremendously for large files
- code cleanup & wrapping
- UI cleanup - headers & such
- fix nsTraceMalloc to at least support long stacks, so that we don't barf if we have trouble reading the stacks


git-svn-id: svn://10.0.0.236/trunk@143293 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-04 20:15:10 +00:00
alecf%flett.org
4013205ecb slightly change the spacetrace output so people know what to DO with port 1969
this is a spacetrace-only change, not part of the build


git-svn-id: svn://10.0.0.236/trunk@142763 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 20:59:55 +00:00
alecf%netscape.com
c522483a46 more clever CSS to beautify spacetrace just a bit
(not part of build)


git-svn-id: svn://10.0.0.236/trunk@141508 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 07:26:07 +00:00
alecf%netscape.com
0c4f34f887 add CSS appearence support to spacetrace, as a start for making the UI a little more dynamic
(not part of build)


git-svn-id: svn://10.0.0.236/trunk@141298 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 07:36:28 +00:00
cathleen%netscape.com
cc479e7003 fix windows trace-malloc build. this file was removed in config/os2, needed for command line utility
git-svn-id: svn://10.0.0.236/trunk@139002 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 01:32:39 +00:00
dbaron%dbaron.org
54816fb3d2 Two typo fixes.
git-svn-id: svn://10.0.0.236/trunk@136604 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 18:37:41 +00:00
dbaron%dbaron.org
b73c35400a Some minor tweaks. b=98665 sr=waterson
git-svn-id: svn://10.0.0.236/trunk@136601 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 16:26:26 +00:00
dbaron%dbaron.org
b841cdc7d6 Add memory dump reader and new tool (leaksoup) for analyzing leak graph at shutdown. b=179212 Partly reviewed by brendan.
git-svn-id: svn://10.0.0.236/trunk@136600 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 16:24:55 +00:00
dougt%netscape.com
61be5cc169 Missed the tm.def file
git-svn-id: svn://10.0.0.236/trunk@136438 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 21:26:02 +00:00
dougt%netscape.com
a2a82fab36 move nsTraceMalloc out of XPCOM. Factory out stackwalking code into new files. 189221 r=chak, 186585 r=blythe sr=dbaron. Most of this patch was contributed by seawood.
git-svn-id: svn://10.0.0.236/trunk@136371 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-15 20:40:06 +00:00
dbaron%fas.harvard.edu
ffb8d9cca7 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00
brendan%mozilla.org
e359510677 Fix up comments, overlong lines, NULL in C code, slight code simplification in log_filename (r/sr=blythe/dbaron).
git-svn-id: svn://10.0.0.236/trunk@133734 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 04:40:17 +00:00
blythe%netscape.com
fa184dd69a Not part of build.
Fix compile time error.


git-svn-id: svn://10.0.0.236/trunk@133489 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 16:42:50 +00:00
blythe%netscape.com
9c0821b470 Not part of the build.
Work in progress on heap fragmentation reporting tool.


git-svn-id: svn://10.0.0.236/trunk@133165 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 17:10:29 +00:00
blythe%netscape.com
4e49ee6eb7 Not part of any build.
Work in progress on heap fragmentation report tool.


git-svn-id: svn://10.0.0.236/trunk@132805 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-01 00:34:13 +00:00
blythe%netscape.com
f51b5571ec Not part of any build.
Work in progress on heap fragmentation tool.


git-svn-id: svn://10.0.0.236/trunk@132700 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 13:17:15 +00:00