234 Commits

Author SHA1 Message Date
dbaron%dbaron.org
23c2d9146e Add code to automatically uncompress .gz and .bz2 files that are given as arguments.
git-svn-id: svn://10.0.0.236/trunk@228405 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 21:59:33 +00:00
dbaron%dbaron.org
67edb9b293 Replace printf that fires all the time with an assertion for what I really want to check.
git-svn-id: svn://10.0.0.236/trunk@224119 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-04 01:35:35 +00:00
dbaron%dbaron.org
59f8b44d9f The tinderbox problem was due to insufficient STARTUP_TMBUFSIZE, so re-increase the buffer size to 64K (from 16K) and comment out my debugging code.
git-svn-id: svn://10.0.0.236/trunk@224116 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-04 01:06:34 +00:00
dbaron%dbaron.org
ef2f01ab07 Back out startup buffer size change (but leave diagnostic).
git-svn-id: svn://10.0.0.236/trunk@224115 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-04 00:53:26 +00:00
dbaron%dbaron.org
e61124e83c Make previous change print to stderr.
git-svn-id: svn://10.0.0.236/trunk@224114 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-04 00:45:07 +00:00
dbaron%dbaron.org
7be4d8b36a Try increasing startup buffer size to see if it fixes tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@224113 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-04 00:39:56 +00:00
dbaron%dbaron.org
2e4dfc98ab Add some debugging code to tmreader and temporarily turn it on to debug tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@224110 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-03 23:46:45 +00:00
dbaron%dbaron.org
abd11cb32c Fix deadlock in trace-malloc by exiting monitor around call to dladdr. b=363334 r=brendan
git-svn-id: svn://10.0.0.236/trunk@224106 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-03 22:14:01 +00:00
dbaron%dbaron.org
3b68325b2f Make trace-malloc malloc-hooking work with compilers newer than VC6. b=374645 r=robstrong
git-svn-id: svn://10.0.0.236/trunk@222132 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-21 00:38:58 +00:00
dbaron%dbaron.org
74a90aebdb Document changes from bug 113738.
git-svn-id: svn://10.0.0.236/trunk@221127 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-01 01:33:54 +00:00
dbaron%dbaron.org
810229d84e Change my old email address to my new one (files missed when I did a mass-change in January 2003).
git-svn-id: svn://10.0.0.236/trunk@220109 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-14 07:18:26 +00:00
dbaron%dbaron.org
503c8f5296 Make trace-malloc dumps not print '(nil)' instead of an address. b=331743 (fixing regression from previous patch)
git-svn-id: svn://10.0.0.236/trunk@220108 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-14 07:07:51 +00:00
dbaron%dbaron.org
9940bb454e Make trace-malloc override additional memory allocation functions. b=331742
git-svn-id: svn://10.0.0.236/trunk@220107 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-14 07:06:35 +00:00
timeless%mozdev.org
c6467de559 Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan


git-svn-id: svn://10.0.0.236/trunk@214560 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 23:02:18 +00:00
dbaron%dbaron.org
29874b9fed Fix whitespace error introduced by my previous patch.
git-svn-id: svn://10.0.0.236/trunk@214522 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 07:22:12 +00:00
dbaron%dbaron.org
d23efae1c1 Fix relocations that need to be resolved at runtime when building with default visibility as hidden and wrapping system includes. b=358558 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@214339 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-29 16:11:26 +00:00
dbaron%dbaron.org
e486424529 Fix build with MSYS. b=352206 Patch from Sylvain Pasche <sylvain.pasche@gmail.com>. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@209782 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-11 21:30:58 +00:00
timeless%mozdev.org
46444dd782 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@208659 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 20:12:37 +00:00
benjamin%smedbergs.us
bdd01b6e99 Bug 348234 - trace-malloc utilities should use frozen linkage, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@207056 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-10 16:38:00 +00:00
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