Commit Graph

1216 Commits

Author SHA1 Message Date
dbaron%dbaron.org
b7de5d5648 Remove pc tests in stack walking code that prevent it from working on Fedora Core 1. b=227396 r=bryner 2004-01-03 19:16:31 +00:00
dbaron%dbaron.org
b25af5350c Remove bogus --enable-perf-metrics. 2003-12-31 19:41:03 +00:00
dbaron%dbaron.org
6931545fdc Remove include of stdio.h from nsTraceRefcnt.h. b=227074 r=dougt sr,a=brendan 2003-12-12 23:02:12 +00:00
timeless%mozdev.org
d69553ac13 Bug 226123 Add configurable function list to DRefTool and limit |new| to c++
r=dwitte
2003-11-20 17:23:40 +00:00
timeless%mozdev.org
66a72b9daa Bug 225604 Dreftool should not follow symlinks (by default)
r=dwitte
2003-11-18 20:52:01 +00:00
timeless%mozdev.org
c41650eeb8 Bug 225527 Crash [@ map2tsv] null section
r=bryner
2003-11-17 06:48:34 +00:00
bryner%brianryner.com
a02809c28a 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). 2003-11-13 19:43:23 +00:00
timeless%mozdev.org
805246a475 Bug 225523 Minor dreftool change to get consistent bonsai output
r=riceman+bmo@mail.rit.edu
2003-11-13 03:49:37 +00:00
timeless%mozdev.org
4f5f773998 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.
2003-11-13 00:01:30 +00:00
timeless%mozdev.org
d7ae76a730 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.
2003-11-12 22:38:24 +00:00
bryner%brianryner.com
06f39bad4f 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. 2003-11-09 07:05:21 +00:00
dbaron%dbaron.org
63faa6c50c Local BSD/OS-only change on otaku. 2003-11-04 22:14:12 +00:00
bryner%brianryner.com
014c7712a1 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. 2003-11-01 07:34:18 +00:00
dbaron%dbaron.org
da362a46ac date works on windows as well. r=bryner 2003-10-30 04:01:33 +00:00
cls%seawood.org
892b2c8c54 Updating "standalone" build module dependency maps. 2003-10-18 03:10:08 +00:00
bryner%brianryner.com
bb0bc1b268 I meant to check for an empty string as well as a null string. Really. r=mozbot. 2003-10-16 10:04:14 +00:00
bryner%brianryner.com
7711477fbe fall back to dynamic symbol table if no symbols were found in the symtab section. bug 222165, r=dbaron 2003-10-14 21:49:21 +00:00
bryner%brianryner.com
7deaddae83 Don't ignore libraries loaded at address 0x0, or we'll ignore libc. Bug 222158, r=dbaron. 2003-10-14 21:05:22 +00:00
dbaron%dbaron.org
73913c0b06 Add simple script to allow cycling between multiple tinderbox trees and configurations. b=218879 r=bryner 2003-10-13 22:11:16 +00:00
dbaron%dbaron.org
5d11a7d103 Allow stopping and starting of multi-tinderbox.pl as well. 2003-10-13 22:09:20 +00:00
bryner%brianryner.com
c62690005a fixing gcc 3.4 bustage (extra semicolon) 2003-10-05 03:36:25 +00:00
bryner%brianryner.com
7f06d701f2 attempt to remove bogus codesighs error lines from tinderbox logs 2003-10-01 21:15:57 +00:00
bryner%brianryner.com
596e29afb7 Check whether readelf supports -W. If it does, use it, otherwise assume wide listing by default. 2003-09-30 23:33:09 +00:00
bryner%brianryner.com
6fd115e24f Put back some lines I accidently removed. 2003-09-30 23:10:05 +00:00
bryner%brianryner.com
19bf915ec9 Update codesighs to use 'eu-readelf' or 'readelf' when available, as it gives more accurate symbol sizes than nm. Bug 201622, sr=brendan. 2003-09-30 22:29:35 +00:00
dbaron%dbaron.org
808c03f0d2 Really make this work for objdir builds. r+sr=bryner b=207802 2003-09-13 06:19:43 +00:00
mcafee%netscape.com
e3df53f4b4 script to count various mozilla downloads, currently works on komodo.mozilla.org 2003-09-06 06:55:53 +00:00
bryner%brianryner.com
7868977652 Page loader updates to work with mod_perl 2.x:
- Give example conf file for mod_perl 2 in README.txt
- Use RegistryPrefork handler to emulate mod_perl 1.x's chdir() behavior
- Add version of RegistryPrefork.pm backported for mod_perl <= 1.99_08
- Don't autoflush output in the middle of sending HTTP headers; it confuses mod_perl's ParseHeaders
- Comment out a warn() that's not really needed

r=jrgm
2003-08-30 03:43:33 +00:00
cls%seawood.org
13ac13b04a Use cygpath instead of assuming default mountpoint is /cygdrive . 2003-08-28 07:22:43 +00:00
cltbld%netscape.com
3b490ed79d tegu -> axolotl for graph server. 2003-08-27 21:11:48 +00:00
dbaron%dbaron.org
700930043a Accept trace-malloc stack format as well. 2003-08-18 05:07:31 +00:00
cls%seawood.org
ed8ce5fdd0 Update module-deps meta files with the latest module data.
Remove the hardcoded module2dir mapping and use the results from echo-requires-recursive instead.
Add README which briefly explains how module-deps is supposed to work.
Add XSLT hacks to modules.mk.footer.
Add cygdrive hacks to modules.mk.stub.
Force string & embedstring to be built after xpcom since they now live in the xpcom hierarchy.
2003-08-15 23:37:56 +00:00
cls%seawood.org
d7aca2a1bb Update module-deps meta files with the latest module data.
Remove the hardcoded module2dir mapping and use the results from echo-requires-recursive instead.
Add README which briefly explains how module-deps is supposed to work.
Add XSLT hacks to modules.mk.footer.
Add cygdrive hacks to modules.mk.stub.
Force string & embedstring to be built after xpcom since they now live in the xpcom hierarchy.
2003-08-15 22:37:25 +00:00
cls%seawood.org
f1b5883b79 Update map files. 2003-08-15 10:57:00 +00:00
dbaron%dbaron.org
93ac2b1919 Print output of profile creation. Print all arguments to commands, not just the filename. b=215331 r=bryner 2003-08-13 22:21:13 +00:00
dbaron%dbaron.org
b474118e98 Fix missing last character for test results for some cygwin-newline variants. Pass args to codesize test correctly (one arg per array element). b=207797 r=bryner 2003-08-13 22:06:48 +00:00
dbaron%dbaron.org
597cc6b9c4 Make code clearer. 2003-08-09 01:41:06 +00:00
dbaron%dbaron.org
d8a587f52d Stop breaking negative numbers in calltrees. 2003-08-08 22:32:40 +00:00
dbaron%dbaron.org
a97986f1e4 Allow fixup of counts at end of make-tree.pl output. 2003-08-08 22:30:37 +00:00
dbaron%dbaron.org
8a6f231667 Clean up a little. Improve output. 2003-08-08 22:23:18 +00:00
dbaron%dbaron.org
e8a2888f62 Add script to use addr2line to get more useful information out of Linux stack traces. 2003-08-08 08:51:56 +00:00
dbaron%dbaron.org
d7598d2832 Fix bustage. The changes leaf made did not work for me, anyway. 2003-08-06 02:08:06 +00:00
cls%seawood.org
2d5e13bdf1 Fixing leaky bustage 2003-08-01 21:42:02 +00:00
leaf%mozilla.org
d627bea1c6 bug 213925. let post-mozilla.pl pass back a binary url. r=granrose 2003-07-26 00:17:45 +00:00
jaggernaut%netscape.com
80bf794c73 Fix problem matching against commented out REQUIRES lines, and fix problem where we didn't test some modules from the REQUIRES line. 2003-07-09 19:31:55 +00:00
cltbld%netscape.com
98a3f0b555 parameterize client.mk to Settings::moz_client_mk so we can substitute other builds here, e.g. camino. -mcafee 2003-06-26 01:06:48 +00:00
cltbld%netscape.com
7c09f5e493 off the branch, need to check checkout status. -mcafee 2003-06-26 01:05:15 +00:00
dbaron%dbaron.org
c58c100242 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 2003-06-21 00:28:05 +00:00
cltbld%netscape.com
b7999d813d renamed to build-camino.pl 2003-06-20 19:22:59 +00:00
cltbld%netscape.com
0c73334798 shorten some display names to save horiz space 2003-06-20 03:29:50 +00:00