Commit Graph

1550 Commits

Author SHA1 Message Date
Mike Hommey
ccd2a9b975 Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Shu-yu Guo
c1c626b4c6 Bug 1148069 - Ensure synchronous sampling does not set JitcodeGlobalEntry's generation. (r=djvj) 2015-03-28 01:21:04 -07:00
Phil Ringnalda
9c47a50410 Backed out 2 changesets (bug 1148069) for devtools-2 leaks
CLOSED TREE

Backed out changeset d1e9b787eaeb (bug 1148069)
Backed out changeset c68a6ebe6083 (bug 1148069)
2015-03-27 19:58:29 -07:00
Shu-yu Guo
526a2388e2 Bug 1148069 - Followup: maybe fix leaks on a CLOSED TREE. (r=me) 2015-03-27 18:40:06 -07:00
Shu-yu Guo
7105742ac8 Bug 1148069 - Set SyncProfiles' buffers to an invalid generation. (r=djvj) 2015-03-27 16:39:25 -07:00
Wes Kocher
dd8a8fcae7 Merge m-c to inbound a=merge CLOSED TREE 2015-03-26 17:46:35 -07:00
Mike Hommey
6ee628d425 Bug 1147283 - Replace mozpack.path with mozpath. r=mshal
Back when mozpack.path was added, it was used as:

  import mozpack.path
  mozpack.path.func()

Nowadays, the common idiom is:

  import mozpack.path as mozpath
  mozpath.func()

because it's shorter.

$ git grep mozpath\\. | wc -l
423
$ git grep mozpack.path\\. | wc -l
123

This change was done with:
$ git grep -l mozpack.path\\. | xargs sed -i 's/mozpack\.path\./mozpath./g'
$ git grep -l 'import mozpack.path$' | xargs sed -i 's/import mozpack.path$/\0 as mozpath/'
$ (pat='import mozpack.path as mozpath'; git grep -l "$pat" | xargs sed -i "1,/$pat/b;/$pat/d")
2015-03-27 08:13:16 +09:00
Stéphane SCHMIDELY
b75e920d56 Bug 1144629 - UnicodeDecodeError in ./mach mercurial-setup. r=gps, r=glandium 2015-03-25 12:25:49 +01:00
Shu-yu Guo
d0c1855b73 Bug 1146718 - Split the 'J' tag in the profiler into 'J' (JIT frames without opt info) and 'O' (with opt info). (r=djvj) 2015-03-24 18:49:16 -07:00
Shu-yu Guo
ad5c3facc3 Bug 1145924 - Ensure JSRuntime is kept in sync with the profiler. (r=djvj) 2015-03-23 20:33:01 -07:00
Ehsan Akhgari
33bb32f549 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Shu-yu Guo
0e549bf2bc Bug 1143860 - Deduplicate tracked optimizations when streaming the profile. (r=djvj) 2015-03-20 20:48:31 -07:00
Shu-yu Guo
beffc5c636 Bug 1143860 - Add column number to PCToLineNumber. (r=djvj) 2015-03-20 20:48:30 -07:00
Kannan Vijayan
b992437814 Bug 1135236 - Remove unused print callbacks in profiler backend. r=mstange 2015-03-20 13:51:37 -04:00
Kannan Vijayan
6e3f37ee4e Bug 1145333 - Skip NativeStackAddrs that conflict with pseudoStackAddrs and jsStackAddrs when merging sampler stacks. r=mstange 2015-03-20 13:50:46 -04:00
Kannan Vijayan
ec7c3382c7 Bug 1143802 - Forward jit level information to profiler frontend. r=shu 2015-03-20 13:50:23 -04:00
chiajung hung
4632d38753 Bug 1129249 - Add a "restyle" feature to profiler and split the style label in Cleopatra based on the restyleSource, r=dholbert,mstange 2015-03-19 02:19:00 +01:00
chiajung hung
08d1cc2d28 Bug 1142181 - ProfilerBacktrace.cpp should #include its own .h file first, r=aklotz 2015-03-16 23:01:00 +01:00
Shu-yu Guo
32ae3e5eb2 Bug 1139388 - Remove superfluous locking in the OS X profiler implementation to fix deadlock. (r=mstange) 2015-03-12 16:25:24 -07:00
Markus Stange
2353dc7b0a Bug 1141283 - Compensate for stackwalk duration and sleep overhead when determining sampler sleep time. r=BenWa 2015-03-08 20:47:31 -04:00
Shu-yu Guo
1e9bde7734 Bug 1140059 - Stop leaking mThreadNameFilters in the profiler. (r=mstange) 2015-03-06 17:58:26 -08:00
Markus Stange
e5c502f45d Bug 1132586 - Add thread annotations into the profile buffer when using the unwinder thread. r=jseward 2015-02-12 17:07:54 -05:00
Shu-yu Guo
c3dc117590 Bug 1136834 - Stop leaking markers in ProfileBuffer. (r=mstange) 2015-03-05 16:23:17 -08:00
Felix Janda
164e801674 Bug 1130164 - tools/profiler: Use <stdint.h> types. r=jseward 2015-02-05 22:51:14 +01:00
Kannan Vijayan
1dbd6c9828 Bug 1139506 - Check for null JSRuntime in tableticker stack trace merge. r=shu 2015-03-04 18:18:08 -05:00
Mike Shal
a5fe9a4af3 Bug 1137756 - Use absolute paths in complete-patch.patch. r=gps 2015-02-27 17:49:29 +01:00
Kannan Vijayan
15073b7379 Bug 1130367 - Ensure profiler stack sampling is disabled when spsProfiler is disabled. r=shu 2015-03-02 17:46:13 -05:00
chiajung hung
90143cf904 Bug 1129249 - Expose the element id in Gecko profiler for Restyle. r=dholbert r=benwa 2015-02-25 23:16:00 +01:00
Kannan Vijayan
a51ff62795 Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 16:43:39 -05:00
Ryan VanderMeulen
4537f3c63b Backed out changesets 3de23a29bf71 and d42c64b791e6 (bug 1129510) for debug SM(e) timeouts. 2015-02-25 13:44:19 -05:00
Kannan Vijayan
373f197cbc Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 11:26:28 -05:00
Shu-yu Guo
6634315aa3 Bug 1129780 - Report the youngest sampled frame's line number if it has optimization info. (r=djvj) 2015-02-23 20:33:56 -08:00
Shu-yu Guo
efd38354f0 Bug 1129769 - Handle more kinds when resolving tracked type names. (r=djvj) 2015-02-23 20:33:56 -08:00
Carsten "Tomcat" Book
0c8adf5245 Backed out changeset bc2fdecaaec7 (bug 1129769) for hazard failures on a CLOSED TREE 2015-02-23 10:20:31 +01:00
Carsten "Tomcat" Book
de04173fc7 Backed out changeset 389c918b643c (bug 1129780) 2015-02-23 10:20:05 +01:00
Shu-yu Guo
defb6666ab Bug 1129780 - Report the youngest sampled frame's line number if it has optimization info. (r=djvj) 2015-02-22 20:05:34 -08:00
Shu-yu Guo
88840ab9d9 Bug 1129769 - Handle more kinds when resolving tracked type names. (r=djvj) 2015-02-22 20:05:34 -08:00
Ryan VanderMeulen
a2d19a131f Backed out changesets fbfda0143584 and e8cfd49ac790 (bug 1129510) for crashes.
CLOSED TREE
2015-02-20 20:01:08 -05:00
Kannan Vijayan
9b270b296f Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-20 17:50:02 -05:00
Kannan Vijayan
3cfcbf1f6a Bug 1135236 - Part 1 - Remove unused ProfileEntry methods. r=BenWa 2015-02-20 17:46:29 -05:00
Tom Tromey
afafb3f5c4 Bug 1130021 - change ProfileBuffer to use the threadsafe refcount. r=benwa 2015-02-06 10:49:00 +01:00
Shu-yu Guo
7b7da9c330 Bug 1129781 - Re-lookup JIT code return addr when stringifying optimization info instead of caching the index. (r=djvj)
This saves us some circular buffer space.
2015-02-09 18:11:19 -08:00
Peter Chang
54f5a87a3d Bug 1130243 Fix build break with MOZ_USE_SYSTRACE enabled, r=benwa 2015-02-09 10:21:44 +08:00
Shu-yu Guo
0055647337 Bug 1127156 - Attach optimization info to frames in profiler. (r=BenWa) 2015-02-04 13:41:04 -08:00
Daniel Holbert
ae54b45886 Bug 1128578: Add MOZ_OVERRIDE annotations in TableTicker.h. r=ehsan 2015-02-02 09:44:32 -08:00
Markus Stange
a56b456111 Bug 1127498 - Share one buffer between all threads, improve marker lifetime management, some code cleanup. r=BenWa 2015-01-30 14:49:32 -05:00
Cervantes Yu
89e3384eec Bug 1103915: Output absolute starting time in the captured TaskTracer profile. r=tlee
--HG--
extra : rebase_source : e258ea3548ee4d7f3d806eeb7b4a53daa9061dc1
2014-11-28 17:27:09 +08:00
Leonid V. Fedorenchik
c06e5f6e4d Bug 1110874 - Delete payload passed to PROFILER_MARKER_PAYLOAD. r=kats 2015-01-19 10:01:35 -05:00
Kannan Vijayan
409524211d Bug 1057082 - 7/7 - Fix tests. r=jandem 2015-01-15 20:11:22 -05:00
Kannan Vijayan
99c9fe8e3e Bug 1057082 - 6/7 - Modify profiler sampler to use jit stack walking instead of pseudostack. r=jandem r=BenWa 2015-01-15 20:11:22 -05:00