Commit Graph
34 Commits
Author SHA1 Message Date
Birunthan Mohanathas ba0445b06d Bug 784739 - Switch from NULL to nullptr in js/src/devtools/vprof/ and tools/{jprof,trace-malloc}/; r=ehsan 2014-01-06 10:07:38 -05:00
Daniel Holbert 0837fba225 Bug 926275: Remove mozalloc_macro_wrappers.h and mozalloc_undef_macro_wrappers.h. r=bsmedberg 2013-10-31 19:39:03 -07:00
Randell Jesup 3c46675a7d Bug 863429: Fix jprof on debug builds, remove evilness NPOTB DONTBUILD rs=dbaron 2013-04-19 09:54:16 -04:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Randell Jesup 9bb8b2f1a4 Bug 693586: Add circular buffer support to jprof r=dbaron 2011-11-08 00:34:40 -05:00
Randell Jesup bbf9d641de Bug 674384: jprof - better thread support, support e10s profiling and profile-by-capture-section. r=dbaron DONTBUILD 2011-08-12 11:59:20 -04:00
Randell Jesup d7e16ab917 Bug 664453: Stop jprof from crashing before a profile is selected on JP_START. r=dbaron DONTBUILD 2011-08-12 11:59:17 -04:00
Randell Jesup b7ce70cd87 Bug 666501: fix jprof to work in builds without run-mozilla.sh r=glandium 2011-06-24 00:01:49 -04:00
Randell Jesup 947a157078 Bug 653311 - Switch jprof from hand-rolled stackwalk code to glibc's backtrace() to work with modern x86 Linuxes, improve jprof output, update README - r=jim_nance (per bz) 2011-05-15 05:47:48 -04:00
[email protected] e4235981da Make JP_FIRST work with JP_RTC_HZ. Bug 367675, r=dbaron 2007-01-26 04:31:57 +00:00
[email protected] 1dbd9907ad Make jprof compile (and maybe even run in some cases) on x86_64, and make its stack walking code a little less fragile. b=349166 r=bzbarsky 2006-10-04 04:42:33 +00:00
[email protected] 95b933d855 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:17:01 +00:00
[email protected] 6623f2131b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
[email protected] fec0767910 Make it possible to restart jprof in RTC mode. Bug 341594, r=dbaron, sr=shaver 2006-08-01 15:50:16 +00:00
[email protected] 9af7e4411b Workaround brokenness of __builtin_frame_address(0) on gcc 4.1 (as shipped with FC5, at least). b=331436 r=brendan 2006-03-23 23:21:27 +00:00
[email protected] 0705168594 Use __builtin_frame_address instead of poking into setjmp's jmp_buf to start the stack trace. b=323853 r+sr=bryner 2006-03-22 07:29:45 +00:00
[email protected] 5ebcb833d6 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-13 13:25:40 +00:00
[email protected] 3bc8a1937c Bug 106386 Correct misspellings in source code
patch by [email protected] r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
[email protected] 08caa7f974 Add support for using gcc's visibility pragma to treat all function and method declarations as "hidden" unless declared otherwise. Create wrappers for system headers that cause them to be treated as default-visibility declarations. This gives a substantial code size and performance win on compilers that support it, and should show up on the gruff tinderbox. Bug 273336, r=darin sr=dbaron. 2004-12-15 05:52:44 +00:00
[email protected] 3a214204ba Make it possible to pause the profiler when using JP_RTC_HZ. Follow-up to bug
128673, r=shaver, sr=dbaron
2004-03-09 22:31:56 +00:00
[email protected] 6fcf0566ab Fix Bug 232051 - Make jprof work with Fedora Core1. The stack walking code
did not work on that platform. r=dbaron sr=dbaron.
2004-01-25 01:51:39 +00:00
[email protected] dfb8be9e40 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
[email protected] 39144a17bc 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
[email protected] fd1feea0ce 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
[email protected] 1566095573 Add JP_APPEND option to JPROF_FLAGS for profiling of startup. b=102014 r=jag sr=brendan 2001-10-06 06:37:41 +00:00
[email protected] 8fa41c15b5 fix spelling in comment. no bug #. 2001-02-01 00:29:40 +00:00
[email protected] f8182daee8 Belatedly take credit/blame for my changes. [email protected] 2000-03-14 03:52:18 +00:00
[email protected] 2c12067deb Updating for the Neutrino Platform. Not finished yet, still looking
for the "pcs" memmber in the malloc_log_entry structure.
2000-02-09 14:25:18 +00:00
[email protected] 314aef188a Fix JP_DEFER so it works without JP_START as well.
[email protected]
Not part of default build.
2000-02-03 14:41:39 +00:00
[email protected] 190655951e Add two small new features to jprof:
1) Allow a SIGUSR1 to stop profiling, so that shutdown need not be included in profiles.  (The log file is not closed, so it can't be used to generate multiple profiles in one run.  That could be changed, though.)
2) Add a JP_REALTIME option that does the profiling in terms of real time elapsed rather than time used for execution by the mozilla process (and in the kernel for the process).  This allows profiling to detect how much time is being spent in the X server.
[email protected]
Not part of default build.
2000-02-03 00:35:53 +00:00
[email protected] 9d4e0fea70 A fix (which can be enabled with a #define) to make jprof work on a RedHat 6.0 system (as opposed to 6.1). There seem two be two differences: some of the parameters are not passed correctly to the signal handler, and there is a trampoline on the stack with an address greater than 0x7fffffff.
r=jlnance
Not part of default build.
2000-01-31 21:32:10 +00:00
[email protected] 0013d4b213 Print message to stdout on first timer tick.
Feature request from cbegle
r=cbegle
2000-01-28 02:21:38 +00:00
[email protected] b38317e4f4 Enhanced jprof documentation and code.
This is not part of the default build.
2000-01-25 02:46:30 +00:00
[email protected] 7b8fe1210c import jprof for jlnance 2000-01-18 03:43:26 +00:00