1231 Commits

Author SHA1 Message Date
bryner%brianryner.com
d6e9d57858 Changes for hooking up windows firefox nightlies to post-mozilla-rel.pl (bug 237173). r=leaf, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@153883 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 23:18:19 +00:00
bzbarsky%mit.edu
c181ce3e37 Make it possible to pause the profiler when using JP_RTC_HZ. Follow-up to bug
128673, r=shaver, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@153769 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 22:31:56 +00:00
bzbarsky%mit.edu
7d2efa6e0f Updating readme to talk about the JP_RTZ_HZ flag, to have examples using the
current output format, and to have a bit more in the way of explanation of the
output and the various JPROF_FLAGS values.  a=jim nance


git-svn-id: svn://10.0.0.236/trunk@153642 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-07 01:15:26 +00:00
cls%seawood.org
2c676028da Update maps
git-svn-id: svn://10.0.0.236/trunk@153360 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-29 00:21:36 +00:00
dbaron%dbaron.org
0314092b5c Don't print output to nohup.out so tinderbox scripts don't fill up the disk. b=234206 r=bryner
git-svn-id: svn://10.0.0.236/trunk@153031 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 19:46:48 +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
leaf%mozilla.org
62c0b58a79 cache the talkback symbols if we're caching the uploaded build (for nightlies
and releases)


git-svn-id: svn://10.0.0.236/trunk@152875 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-18 15:35:21 +00:00
dbaron%dbaron.org
e206e5409b Make this work with an objdir.
git-svn-id: svn://10.0.0.236/trunk@152823 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-16 22:53:17 +00:00
dbaron%dbaron.org
f77280f104 Add post-mozilla.pl being used on comet.
git-svn-id: svn://10.0.0.236/trunk@152771 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-14 01:56:34 +00:00
leaf%mozilla.org
b248f67a1b adding windows release post-mozilla to trunk
git-svn-id: svn://10.0.0.236/trunk@152747 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-13 03:38:01 +00:00
leaf%mozilla.org
9849997352 support for windows release builds
git-svn-id: svn://10.0.0.236/trunk@152732 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-12 22:06: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
bzbarsky%mit.edu
08f9e875a3 Change linkification a bit to prevent undesirable horizontal scrolling. Bug
134016, initial patch by Dave Morrison <morrison@bnl.gov>, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@152619 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 23:52:41 +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
231dd42833 Add common dotfiles.
git-svn-id: svn://10.0.0.236/trunk@152572 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 00:19:09 +00:00
dbaron%dbaron.org
00c8e0d13a Remove misleading examples. Use perl build-seamonkey.pl --example-config instead.
git-svn-id: svn://10.0.0.236/trunk@152570 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 00:17:27 +00:00
cls%seawood.org
eca43c4e5d Use OS_LIBS for system libraries.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@152461 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 08:55:40 +00:00
cls%seawood.org
0b7cf8531a Add support for timeouts of cvs checkouts.
Bug #184757 r=bryner


git-svn-id: svn://10.0.0.236/trunk@152126 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-31 21:31:54 +00:00
jim_nance%yahoo.com
fbf0b3e509 Fix Bug 232051 - Make jprof work with Fedora Core1. The stack walking code
did not work on that platform. r=dbaron sr=dbaron.


git-svn-id: svn://10.0.0.236/trunk@151819 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-25 01:51:39 +00:00
dbaron%dbaron.org
80828a028f Make nsTraceRefcnt bloat test less prominent and rename nsTraceRefcnt leak test to RLk.
git-svn-id: svn://10.0.0.236/trunk@151651 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 20:56:42 +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
timeless%mozdev.org
8f55dbe4ed Bug 230209 Infinite loop in DRefTool because error condition was dropped on floor
r=bz


git-svn-id: svn://10.0.0.236/trunk@151074 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 10:14:47 +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
4b3a003b06 Remove bogus --enable-perf-metrics.
git-svn-id: svn://10.0.0.236/trunk@150810 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-31 19:41:03 +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
timeless%mozdev.org
d2fb9a9405 Bug 226123 Add configurable function list to DRefTool and limit |new| to c++
r=dwitte


git-svn-id: svn://10.0.0.236/trunk@149582 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-20 17:23:40 +00:00
timeless%mozdev.org
4549b66d53 Bug 225604 Dreftool should not follow symlinks (by default)
r=dwitte


git-svn-id: svn://10.0.0.236/trunk@149504 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-18 20:52:01 +00:00
timeless%mozdev.org
c3c8f7a9bc Bug 225527 Crash [@ map2tsv] null section
r=bryner


git-svn-id: svn://10.0.0.236/trunk@149423 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 06:48:34 +00:00
bryner%brianryner.com
d5fe400381 Don't bother looking for eu-readelf and readelf on Mac OS X (the 'which' command there prints its error message to stdout, so it's hard to tell that it failed).
git-svn-id: svn://10.0.0.236/trunk@149261 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 19:43:23 +00:00
timeless%mozdev.org
d9926a983a Bug 225523 Minor dreftool change to get consistent bonsai output
r=riceman+bmo@mail.rit.edu


git-svn-id: svn://10.0.0.236/trunk@149231 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 03:49:37 +00:00
timeless%mozdev.org
f36557bbb2 Bug 8227 dreftool - rickg's phase 1 preventative crash maintenance
r=bernd

This is dreftool, resurrected with the help of kherron, bernd, and myself.

Licensing has been switched per http://bugzilla.mozilla.org/show_bug.cgi?id=8227#c45
to MPL/GPL/LGPL.

Old copies of xpcom classes have been removed, dreftool now uses the normal ones.

New:
* Builds on Linux and uses NSPR, so it should be possible to use it on most
systems.
* Member variables are screened.
* Tries to recognize NS_ENSURE early outs.
* Can parse a single file.
* The summary can indicate what it was told to parse.
* Links to LXR can be generated. Using this feature is not recommended as pieces of
mozilla tend to be on branches and the links will be bad. If for non branched content,
the links will drift as the files are changed.
* Links to Bonsai against the file revision will be generated if CVS records are
detected. This is good, unless you have local modifications in your tree.

Known issues:
* Aliasing isn't detected, so
|a = new something; *foo = a; if (!*foo) return NS_ERROR_FAILURE;| is flagged.
e.x.
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/accessible/src/html/nsHTMLSelectAccessible.cpp&rev=1.33&mark=920-921,922,923,925#920

* Assigning to dereferenced objects
|*foo = new something| is not quite correctly handled (perhaps it's misinterpreted as
|foo = new something|. e.x.
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/extensions/transformiix/source/xslt/txStandaloneXSLTProcessor.cpp&rev=1.11&mark=88,92,96,99,84#91

* Various other allocators aren't caught: strdup and co., nsCRT::, nsMemory::, ...

* There's no way to provide a user defined list of allocators.

People should of course not file bugs simply based on dreftool, they should file bugs
after verifying that the complaints from dreftool are valid.


git-svn-id: svn://10.0.0.236/trunk@149224 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 00:01:30 +00:00
timeless%mozdev.org
9d74e9c9a2 Bug 8227 dreftool - rickg's phase 1 preventative crash maintenance
r=bernd

This is dreftool, resurrected with the help of kherron, bernd, and myself.

Licensing has been switched per http://bugzilla.mozilla.org/show_bug.cgi?id=8227#c45
to MPL/GPL/LGPL.

Old copies of xpcom classes have been removed, dreftool now uses the normal ones.

New:
* Builds on Linux and uses NSPR, so it should be possible to use it on most
systems.
* Member variables are screened.
* Tries to recognize NS_ENSURE early outs.
* Can parse a single file.
* The summary can indicate what it was told to parse.
* Links to LXR can be generated. Using this feature is not recommended as pieces of
mozilla tend to be on branches and the links will be bad. If for non branched content,
the links will drift as the files are changed.
* Links to Bonsai against the file revision will be generated if CVS records are
detected. This is good, unless you have local modifications in your tree.

Known issues:
* Aliasing isn't detected, so
|a = new something; *foo = a; if (!*foo) return NS_ERROR_FAILURE;| is flagged.
e.x.
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/accessible/src/html/nsHTMLSelectAccessible.cpp&rev=1.33&mark=920-921,922,923,925#920

* Assigning to dereferenced objects
|*foo = new something| is not quite correctly handled (perhaps it's misinterpreted as
|foo = new something|. e.x.
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/extensions/transformiix/source/xslt/txStandaloneXSLTProcessor.cpp&rev=1.11&mark=88,92,96,99,84#91

* Various other allocators aren't caught: strdup and co., nsCRT::, nsMemory::, ...

* There's no way to provide a user defined list of allocators.

People should of course not file bugs simply based on dreftool, they should file bugs
after verifying that the complaints from dreftool are valid.


git-svn-id: svn://10.0.0.236/trunk@149220 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-12 22:38:24 +00:00
bryner%brianryner.com
a235522388 Minor fix to parsing of readelf output. Allow a hyphen in the section name, and allow 6 digit fields (i.e. section size) to be longer than 6 digits. rs=ben.
git-svn-id: svn://10.0.0.236/trunk@149060 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 07:05:21 +00:00
dbaron%dbaron.org
a469492c6e Local BSD/OS-only change on otaku.
git-svn-id: svn://10.0.0.236/trunk@148843 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 22:14:12 +00:00
bryner%brianryner.com
797a541ba7 On Linux, enable jprof to use /dev/rtc for up to 8 KHz sampling. Bug 128673, original patch by shaver, some additional fixes by me, r=shaver, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@148681 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 07:34:18 +00:00
dbaron%dbaron.org
0aa71ca776 date works on windows as well. r=bryner
git-svn-id: svn://10.0.0.236/trunk@148533 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 04:01:33 +00:00
cls%seawood.org
ed346b14a9 Updating "standalone" build module dependency maps.
git-svn-id: svn://10.0.0.236/trunk@148094 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-18 03:10:08 +00:00
bryner%brianryner.com
10870340bf I meant to check for an empty string as well as a null string. Really. r=mozbot.
git-svn-id: svn://10.0.0.236/trunk@148020 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 10:04:14 +00:00
bryner%brianryner.com
c4b62f5eb1 fall back to dynamic symbol table if no symbols were found in the symtab section. bug 222165, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@147971 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-14 21:49:21 +00:00
bryner%brianryner.com
fe08239a4e Don't ignore libraries loaded at address 0x0, or we'll ignore libc. Bug 222158, r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@147967 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-14 21:05:22 +00:00
dbaron%dbaron.org
7264067412 Add simple script to allow cycling between multiple tinderbox trees and configurations. b=218879 r=bryner
git-svn-id: svn://10.0.0.236/trunk@147928 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 22:11:16 +00:00
dbaron%dbaron.org
42cd7f5c5f Allow stopping and starting of multi-tinderbox.pl as well.
git-svn-id: svn://10.0.0.236/trunk@147927 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 22:09:20 +00:00
bryner%brianryner.com
129b2d928a fixing gcc 3.4 bustage (extra semicolon)
git-svn-id: svn://10.0.0.236/trunk@147575 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 03:36:25 +00:00
bryner%brianryner.com
56370e6468 attempt to remove bogus codesighs error lines from tinderbox logs
git-svn-id: svn://10.0.0.236/trunk@147500 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 21:15:57 +00:00
bryner%brianryner.com
320115adab Check whether readelf supports -W. If it does, use it, otherwise assume wide listing by default.
git-svn-id: svn://10.0.0.236/trunk@147468 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-30 23:33:09 +00:00
bryner%brianryner.com
8a03262d39 Put back some lines I accidently removed.
git-svn-id: svn://10.0.0.236/trunk@147467 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-30 23:10:05 +00:00
bryner%brianryner.com
a1bfd8b54b Update codesighs to use 'eu-readelf' or 'readelf' when available, as it gives more accurate symbol sizes than nm. Bug 201622, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@147465 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-30 22:29:35 +00:00