11 Commits

Author SHA1 Message Date
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
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
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
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
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
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
brendan%mozilla.org
6a865d1089 Revamp REALLOC record for rayw's tool; add flush-log-files function (r=rayw, a=waterson, not part of build).
git-svn-id: svn://10.0.0.236/trunk@82854 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 08:05:05 +00:00
brendan%mozilla.org
b54049c74b Revise connect_nodes to be tmgraphnode_connect, reusable via tmreader.[ch].
git-svn-id: svn://10.0.0.236/trunk@74793 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 02:19:27 +00:00
brendan%mozilla.org
2d47b3e145 - Remove <unistd.h> include from bloatblame, it's no longer needed and the link(2) prototype it drags in was causing warnings whenever I used a local variable named 'link'.
- Use uint32 for all quantities, and double for all differences, so that we can overflow without breaking deltas such as (busy == allocs - frees).  This doesn't help sorting, however: if one of the sort keys has overflowed past 0 just a bit, while the other is a very large unsigned number, beware.

- Separate graph link (half an edge, structurally speaking -- no per-edge stats) from graph edge, so that an edge is two links and some stats.  This avoids bloat and copying in connect_nodes (which is soon to become generic and move to tmreader.[ch]).

- Factor data structures better: we now have {allocs,frees} x {bytes,calls} x {direct, total}, declaring the second set as struct tmallcounts and the third as tmcounts.  So, for example, total number of calls to allocators would be allocs.calls.total; bytes freed directly by a graphnode (library, component, or method) would be frees.bytes.direct.

- Teach tmreader_eventloop about 'F' (TM_EVENT_FREE) events: it now updates the direct free byte and call counts for a method, its component, and its library when it reads the event.  Of course, bloatblame ignores this info, because it is concerned only with bloat (total memory allocated).

- Right-align numbers in the first (trace-malloc stats) table.


git-svn-id: svn://10.0.0.236/trunk@74785 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 00:24:08 +00:00
brendan%mozilla.org
a85c8874b5 Finish factoring tmreader from bloatblame; misc. clenaups (not part of build).
git-svn-id: svn://10.0.0.236/trunk@74595 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 20:42:15 +00:00
brendan%mozilla.org
523a153c14 First cut at reusable trace-malloc logfile reader, factored from bloatblame.
git-svn-id: svn://10.0.0.236/trunk@73894 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-09 08:53:46 +00:00