Commit Graph

1169 Commits

Author SHA1 Message Date
Gregory Szorc
6d4af5d774 Bug 899818 - Don't add quotes to values when writing Mercurial configs; r=Gijs
DONTBUILD (NPOTB)
2013-07-31 00:07:57 -07:00
Ehsan Akhgari
085494b95d Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Gregory Szorc
868c958cee Bug 794580 - mach mercurial-setup; r=nalexander
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : b5cfc81d1a0537b5ae25a76c3ccc604383f60f6c
2013-07-29 16:58:40 -07:00
Mike Hommey
70e713a366 Bug 893976 - Add a mach command to update uuids for specific interfaces and their descendants. r=gps 2013-07-30 08:57:28 +09:00
Ryan VanderMeulen
2ef7a9892a Merge m-c to inbound. 2013-07-29 18:42:45 -04:00
Michael Wu
e015aaa9a9 Bug 898810 - Use bionic's getline where available, r=benwa 2013-07-29 13:17:28 -04:00
Trevor Saunders
64dbc43c4d backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Ehsan Akhgari
c069003a4b Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Xavier Fung
f68cd7c08f Bug 892858 - Fix profiler build in Visual Studio 2013. r=snorp 2013-07-18 10:13:01 +09:00
Benoit Girard
fcfe7f62e4 Bug 887826 - Disable multi-threaded profiling on b2g to reduce memory usage. r=jseward
--HG--
extra : rebase_source : c3403864cd772414ddbf5bbda30e65322832e085
2013-07-16 09:56:43 -04:00
Graeme McCutcheon
1b75303086 Bug 893830 - implement mach uuid. r=gps DONTBUILD 2013-07-15 18:00:09 +01:00
Jed Davis
f02f703493 Bug 892201: replace SPS signal handler completion busy loop with POSIX semaphore. r=benwa
--HG--
extra : rebase_source : 48bfcc1a352ae600dd1294d5b5e122ad0c58a745
2013-07-11 23:41:19 -04:00
Trevor Saunders
238525e2d8 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Jim Chen
94f8b791d9 Bug 888473 - Start GeckoJavaSampler early when profiling startup; r=BenWa 2013-07-09 16:34:44 -04:00
Trevor Saunders
ace23958ea bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Mike Shal
8afd7f737d Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4); r=joey 2013-07-01 11:34:30 -04:00
Benoit Girard
2d6bbf0628 Bug 872947 - Release pseudostack when unregister thread. r=snorp 2013-05-16 11:38:23 -04:00
Ehsan Akhgari
15c2073a3a Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-23 20:58:53 -04:00
Benoit Girard
9e23e52a50 Bug 873914 - Allow selecting profiled thread. r=snorp
--HG--
extra : rebase_source : 6623126a111b23f8871af1a2e64d077b67cb0930
2013-05-16 16:31:50 -04:00
Brian O'Keefe
20b45036df Bug 875934 - Move LIBRARY_NAME to moz.build (batch #2); r=mshal
--HG--
extra : rebase_source : 555b28e5c3412ffc210c60b6fe2fee6f053fd587
2013-06-18 08:13:42 -04:00
Brian O'Keefe
ed17339221 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Vladimir Vukicevic
9e17b8825a b=882906; remove EXTRA_DSO_LIBS; r=ted 2013-06-13 22:58:22 -04:00
Aaron Klotz
a1cf98c04e Bug 867762: NSPR and SQLite Main Thread I/O Interposing. r=BenWa 2013-06-14 12:01:02 -06:00
Jim Chen
cb655c5149 Bug 863777 - Add and turn on privacy mode in profiler for ANR reports; r=BenWa 2013-06-14 12:42:10 -04:00
Jim Chen
6e0c1a7ec4 Bug 863777 - Letting profiler start/stop from a non-registered thread; r=BenWa 2013-06-14 12:42:10 -04:00
Joey Armstrong
410e37a8c5 bug 872086: move SIMPLE_PROGRAMS to moz.build (file batch #1) r=mshal 2013-06-13 12:02:02 -04:00
Andrew McCreight
bef1e65930 Bug 550335 - fix_macosx_stack for 64-bit. r=ted 2012-05-25 09:07:24 -07:00
Florian Quèze
ac15af3aee Bug 878419 - Syntax error in make_incremental_updates.py since bug 841094, r=glandium. 2013-06-05 18:19:18 +02:00
Boris Zbarsky
897328ff5b Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence 2013-05-30 17:46:48 -04:00
Trevor Saunders
2d8ba8d27a bug 876519 - include ostream instead of iostream in the profiler to get rid of static initializers r=ehsan 2013-05-27 08:29:24 -04:00
Julian Seward
38e97ed8fa Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard. 2013-05-28 14:03:38 +02:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Joey Armstrong
b5eb4cb307 bug 870406: move to moz.build (config batch #1) r=mshal 2013-05-24 17:21:14 -07:00
L. David Baron
0074731aa4 Bug 855081: Make jprof compile for me by switching from cplus_demangle (which doesn't link) to abi::__cxa_demangle. r=jesup 2013-05-13 15:37:00 -07:00
Joey Armstrong
0d49db0381 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Brian O'Keefe
3f66654fdb Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-05-01 14:05:40 -04:00
Gregory Szorc
2afb3f3369 Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
Ehsan Akhgari
f0b001cdb7 Bug 869784 - Fix rooting hazards in the profiler; r=BenWa,till
X-Git-Commit-ID: da732de921f64d9bd6ea028ed384d2d5c80de66f
X-Mailer: git-send-email
2013-05-08 20:21:37 -04:00
Mike Hommey
5858426dab Bug 777379 - Set .DEFAULT_GOAL unconditionally, override with OVERRIDE_DEFAULT_GOAL, and fix pymake to be on par with GNU make when handling .DEFAULT_GOAL. r=gps 2013-05-05 10:16:25 +02:00
Gregory Szorc
c6c1177427 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Ryan VanderMeulen
a940e46079 Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe
9305158b76 Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 20:46:10 -04:00
Julian Seward
6f0e4ac237 Bug 863705 - SPS breakpad: show frame-trust statistics in the debugging log. r=bgirard 2013-05-01 01:00:26 +02:00
Ryan VanderMeulen
4f020afd30 Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures. 2013-04-30 10:08:38 -04:00
Brian O'Keefe
fd2b88f265 Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-04-30 09:08:31 -04:00
Joey Armstrong
12356a4c50 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Benoit Girard
57c555dcb3 Bug 865915 - Fixed unmatched JS_EndRequest. r=mccr8 2013-04-29 14:33:47 -04:00
Benoit Girard
d981caa7ec Bug 853358 - Add plugin profiling support. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 70dfd31809cb644f6405bd144a2e8373268a461c
2013-03-21 10:17:23 +01:00
Benoit Girard
9a78a8e46c Bug 788022 - Bustage fix for ANDROID define on a CLOSED TREE. r=bustage 2013-04-23 14:33:38 -04:00
Benoit Girard
3335578c70 Bug 788022 - Add support for dalvik profiling. r=snorp,kats
--HG--
extra : rebase_source : 3eb56af40018a546586fd0fb33e343589ddcf207
2013-04-23 13:10:29 -04:00
Ed Morley
4fbb132223 Backed out changeset 26ab26b299a5 (bug 788022) on a CLOSED TREE 2013-04-22 17:43:10 +01:00
Benoit Girard
a59ec4c148 Bug 788022 - Add support for dalvik profiling. r=snorp,kats
--HG--
extra : rebase_source : 3021e4315ce0ce5dbef9db84a12502d66dfc7967
2013-04-19 15:34:56 -04:00
Julian Seward
c39a985c15 Bug 859745 - Install sane unwinding limit for SPS/breakpad. r=ted 2013-04-22 17:10:54 +02:00
Benoit Girard
83196070ce Bug 856331 - Make breakpad unwinding runtime switchable. r=jseward
--HG--
extra : rebase_source : 1094beb17115a0d0e4d27eeb848c3932dfe0b2b0
2013-04-01 15:45:03 -04:00
Randell Jesup
a1cb1f27ad Bug 863429: Fix jprof on debug builds, remove evilness NPOTB DONTBUILD rs=dbaron 2013-04-19 09:54:16 -04:00
Benoit Girard
fe6bc7a71e Bug 862500 - Properly shutdown profiler in xpcshell, shutdown and error cases. r=snorp
--HG--
extra : rebase_source : 22eeccdcee83e3fd03687e6b969b143502a9c5fc
2013-04-18 11:34:49 -04:00
Benoit Girard
d3d8b72e87 Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
--HG--
extra : rebase_source : ce0d9f94d2b4deb249e09198f9315f69ad6ee7d4
2013-04-03 18:59:17 -04:00
James Willcox
68e1f2184d Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : 04021da9d3d871f51f931b6e6f57a0bbbbaa6393
2013-03-29 15:34:49 -04:00
Ryan VanderMeulen
f5f5be2b5b Backed out 3 changesets (bug 734691, bug 862500) for leaks.
Backed out changeset 4444510d672f (bug 862500)
Backed out changeset 5c321bc4dc63 (bug 734691)
Backed out changeset e045934f78be (bug 734691)
2013-04-18 08:15:09 -04:00
Benoit Girard
6e3506aa01 Bug 862500 - Properly shutdown profiler in xpcshell, shutdown and error cases. r=snorp
--HG--
extra : rebase_source : 8b887475b97e3562ca5fd73e93eaa9edab8ef1fb
2013-04-17 12:53:15 -04:00
Benoit Girard
1215ca3759 Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
--HG--
extra : rebase_source : 4e7e1681355146e32fbc5ff2aa9891470e241347
2013-04-03 18:59:17 -04:00
James Willcox
589330ecab Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : b9ecaa62430dc4f04a2d00a742c4b2d30e479bb5
2013-03-29 15:34:49 -04:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Julian Seward
e7cb13d0cd Bug 837390 - Profiler livelock caused by SA_RESTART restarting fork() syscall. r=bgirard 2013-04-16 20:53:03 +02:00
Ryan VanderMeulen
3d897785d7 Backed out 2 changesets (bug 734691) for leaks.
Backed out changeset ba88d9730af6 (bug 734691)
Backed out changeset 7d2fbf7b0372 (bug 734691)
2013-04-16 13:45:53 -04:00
Benoit Girard
9cc99178de Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
--HG--
extra : rebase_source : 41af95bcc4b6044b7394538e2524528f67cbd1d5
2013-04-03 18:59:17 -04:00
James Willcox
120e2a328a Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : 71db00ee222713fd60ba42be14226b52535a4f1e
2013-03-29 15:34:49 -04:00
Jeff Walden
6539207aee Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm 2013-04-05 21:22:55 -07:00
Julian Seward
0780afc692 Bug 861800 - Make UnwinderThread2 a bit less verbose. r=bgirard 2013-04-15 17:25:16 +02:00
Julian Seward
a23bdaca24 Bug 861141 - Connect Breakpad on Android to faulty.lib's mmap interface. r=glandium,ted 2013-04-15 16:46:43 +02:00
Vicamo Yang
020c221ba5 Bug 859830: determine Android API level through android/api-leve.h instead. r=glandium 2013-04-12 13:39:42 +08:00
Joshua Cranmer
2dfc78553b Bug 856108 - Port static analyses to clang, part 2h: use MOZ_STACK_CLASS everywhere else. r=bsmedberg 2013-04-11 22:22:09 -05:00
Dave Hylands
8c46a6db27 Bug 859928 - Make profiles be saved in temporary directory for B2G. 2013-04-09 12:45:49 -07:00
Ryan VanderMeulen
8a408a9bc9 Backed out changesets ab64b048ad04 and 025d24d7fee8 (bug 734691) for leaks. 2013-04-08 22:16:21 -04:00
Benoit Girard
732c5f013c Bug 734691 - Port multi-thread support to win/mac. r=snorp,smaug
--HG--
extra : rebase_source : 172d75f2183c5ba50ce709aeefcd3534a35724e5
2013-04-03 18:59:17 -04:00
James Willcox
2975e5cff2 Bug 734691 - Add multi-thread support to profiler r=benwa
--HG--
extra : rebase_source : 8367dc61f9f9026d0110ffe43d5d4d0aa9129e24
2013-03-29 15:34:49 -04:00
Julian Seward
3fb6f8c661 Bug 855977 - SPS breakpad: disable stack scanning for profiling unwinds. r=bgirard
--HG--
extra : rebase_source : 6735671ab9f4b9e9ce4fc25238cb6c3f01ef4b02
2013-04-06 10:49:11 +02:00
Julian Seward
1c22063770 Bug 857242 - Make profiler verbosity on desktop be runtime-selectable. r=bgirard 2013-04-06 10:45:30 +02:00
Jacek Caban
dd398ef31f Bug 856566 - Fixed crashreporter compilation and profiler on mingw. r=ted 2013-04-05 11:29:50 +02:00
Benoit Girard
e328a60764 Bug 856281 - Fixed HAVE_NATIVE_UNWIND definition. r=ehsan
--HG--
extra : rebase_source : d142eb85d08563a024e84a9954a890eb01087135
2013-04-02 11:39:04 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Ryan VanderMeulen
e3786d9c07 Backed out changeset 7112a6c1efee (bug 734691) for Win8 xpcshell hangs and possible leaks on a CLOSED TREE. 2013-03-29 18:18:38 -04:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
James Willcox
9e66302872 Bug 734691 - Add multi-thread support to profiler r=benwa 2013-03-29 15:34:49 -04:00
Julian Seward
a487876fa2 Bug 855662 - SPS breakpad: free breakpad-allocated memory when unwinder thread shuts down. r=bgirard 2013-03-29 08:36:50 +01:00
Phil Ringnalda
9f67851177 Back out 89e99ecdf29f (bug 734691) for leaking
CLOSED TREE
2013-03-28 20:52:20 -07:00
James Willcox
a0cf106590 Bug 734691 - Add multi-thread support to profiler. r=benwa 2013-03-28 19:51:15 -04:00
Julian Seward
2b5501bcf1 Bug 853851 - Transition some breakpad logging to BPLOG. r=ted
--HG--
rename : toolkit/crashreporter/google-breakpad/src/processor/logging.cc => toolkit/crashreporter/google-breakpad/src/common/logging.cc
rename : toolkit/crashreporter/google-breakpad/src/processor/logging.h => toolkit/crashreporter/google-breakpad/src/common/logging.h
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.cc => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.cc
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc
extra : rebase_source : c2cf8bcfc7c996e0cdd82422adc7f6a50a8d964a
2013-03-28 18:06:39 +01:00
Julian Seward
f1ea4f64b6 Bug 855012 - local_debug_info_symbolizer.cc,h and shim_mac_dump_syms.mm,h have no license information (& probably need MPL boilerplate), r=dholbert 2013-03-28 11:30:34 +01:00
Julian Seward
84ed5683a7 Bug 854810 - Use shared-libraries-*.cc instead of home-grown equivalents, r=bgirard 2013-03-27 16:09:56 +01:00
Benoit Girard
1116a2a1b3 Bug 853896 - Turn off MOZ_EVENT_TRACE when profiling. r=ted
--HG--
extra : rebase_source : 2ae36f2f4be730528b0f18154377fa32ee25b49a
2013-03-22 17:16:52 +01:00
Daniel Holbert
fab8fd89ed Bug 855010: Use nsAutoPtr instead of scoped_ptr in LocalDebugInfoSymbolizer::FindCFIFrameInfo(). r=BenWa 2013-03-26 15:54:13 -07:00
Ehsan Akhgari
f9a7b4ef76 Bug 851828 - Type safety improvements for the profiler in Win64 builds. r=benwa 2013-03-26 13:32:09 -04:00
Benoit Girard
e38aae03dc Backed out changeset f5a256c02fc6 (bug 851828) for Mochitest failures on a CLOSED TREE. 2013-03-26 16:10:29 -04:00
Ehsan Akhgari
5c116b98ca Bug 851828 - Type safety improvements for the profiler in Win64 builds. r=benwa
--HG--
extra : rebase_source : 10141bdc66228dd6818ff0b10ef95fde78fead8f
2013-03-26 13:32:09 -04:00
Landry Breuil
442422d48f Bug 851611 followup - fix platforms where MOZ_ENABLE_PROFILER_SPS is undef r=bgirard 2013-03-26 13:00:31 +01:00
Benoit Girard
68d10b4fe9 Bug 851748 - Merge TableTicker1+2. r=jseward
--HG--
rename : tools/profiler/TableTicker2.cpp => tools/profiler/BreakpadSampler.cpp
rename : tools/profiler/ProfileEntry2.cpp => tools/profiler/ProfileEntry.cpp
rename : tools/profiler/ProfileEntry2.h => tools/profiler/ProfileEntry.h
2013-03-25 17:57:28 -04:00
Benoit Girard
65b1d02183 Bug 851611 - Part 4: Split out GeckoProfilerFunc.h & PseudoStack.h. r=jrmuizel
--HG--
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 929cd0d6227dd12f6654b61077e63e4d86036dc0
2013-03-15 20:48:56 -04:00
Benoit Girard
6ed333dbb5 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
bbe4c3065e Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Benoit Girard
7b3dcde5fc Bug 851611 - Part 1: Refactor profiler interface. r=jrmuizel
--HG--
extra : rebase_source : 4eac969fd5c1d40d96a2223104336709d62a3148
2013-03-15 15:17:50 -04:00
Ehsan Akhgari
22b09c6bff Bug 851830 - Make sure std::min can be used safely in sps_sampler.h on Windows; r=jrmuizel (over the shoulder) 2013-03-16 15:12:19 -04:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ed Morley
e73fb6630d Backed out changeset 77f321ed3d9e (bug 851611) for breaking the build; CLOSED TREE 2013-03-18 14:11:07 +00:00
Ed Morley
4a0f5f39ca Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Ed Morley
b49331fe90 Backed out changeset ecce21507ea0 (bug 851611) 2013-03-18 14:10:25 +00:00
Benoit Girard
0b74251ac3 Bug 851611 - Part 4: Split out GeckoProfilerFunc.h & PseudoStack.h. r=jrmuizel
--HG--
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 89b92cb9a12d33be5f9d90fa5252637bbb5e2241
2013-03-15 20:48:56 -04:00
Benoit Girard
90f13c7e56 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
95a5b4c35f Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Benoit Girard
56422401d0 Bug 851611 - Part 1: Refactor profiler interface. r=jrmuizel
--HG--
extra : rebase_source : a48e103dd5b31d620dd5ba67dc835ea9dc90864d
2013-03-15 15:17:50 -04:00
Ms2ger
aed8044ac2 Merge m-c to m-i. 2013-03-17 13:22:37 +01:00
Ms2ger
ecaff4e0d2 Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ehsan Akhgari
61554acae7 Bug 851814 - Do not clobber the high word of SharedLibrary addresses/offset on Win64; r=jrmuizel
--HG--
extra : rebase_source : 9bf7d5cd3dd71e0e1b315059bce4836663bc3a65
2013-03-16 15:05:32 -04:00
Bill McCloskey
bfa3037d1f Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Jose Cortes
219e54a946 Bug 842186 - Replace jsvals with JS::Values in .cpp and .h files inside the ipc, security, tools, caps, xpfe and startupcache directories. r=jwalden
--HG--
extra : rebase_source : 17f26bc48a8ce01b7349adc178a4e62f7d4b3a5e
2013-03-15 22:22:01 -07:00
Benoit Girard
c85d18b694 Bug 850833 - Fix unused function warning. r=bustage CLOSED TREE 2013-03-14 18:10:18 -04:00
Benoit Girard
4ce62426d9 Bug 850833 - Remove desktop logging for Gecko Profiker. r=ehsan
--HG--
extra : rebase_source : 1ed1b6573df4da828efa958af3ff0e2e2a7c1f49
2013-03-14 14:37:04 -04:00
Gregory Szorc
9569d6e356 Merge mozilla-central into inbound 2013-03-13 09:03:20 -07:00
Gregory Szorc
56a7634c1c Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Gregory Szorc
3d694a85c0 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Gregory Szorc
0d33ac5f93 Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium 2013-03-12 10:20:41 -07:00
Ted Mielczarek
ea2791d017 bug 751673 - fix Windows assertion stacks. r=dbaron
--HG--
extra : rebase_source : b74882bb3914afaa44341088b9f737c909e88f65
2013-03-11 14:21:53 -04:00
Julian Seward
19b79317be Bug 779291: Implement SPS stackwalk using the breakpad unwinder. r=bgirard,glandium 2013-03-10 23:00:23 +01:00
Ehsan Akhgari
8294fc5f47 Bug 848507 - Support searching DXR in mach; r=gps
DONTBUILD because this is NPOTB.
2013-03-06 15:23:21 -05:00
Gregory Szorc
b60f315a4d Bug 847722 - Mach commands to search The Internets; r=jhammel
DONTBUILD (NPOTB)
2013-03-06 09:58:40 -08:00
Richard Newman
9297113e26 Backed out changeset cc45fdc389df (Bug 779291) for breaking Mac Android builds. 2013-03-12 00:14:52 -07:00
Julian Seward
e8bbb67556 Bug 779291: Implement SPS stackwalk using the breakpad unwinder. r=bgirard,glandium
bug 850089 - fix SPS with disable-crashreporter. Patch by Ted Mielczarek <ted@mielczarek.org>, r=glandium
Bug 850132 - SPS breakpad unwind (bug 779291) breaks Win64 builds with "Unsupported platform". Patch by Makoto Kato <m_kato@ga2.so-net.ne.jp>, r=ted
2013-03-10 23:00:23 +01:00
Gregory Szorc
2a18cc096c Bug 784841 - Part 18ι: Convert /tools; r=ted 2013-02-25 13:20:01 -08:00
Gregory Szorc
e797c5e204 Bug 827308 - Remove tools/testy; r=ted 2013-02-23 18:18:30 -08:00
Jonathan Kew
e04415fc7f backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn 2013-02-22 09:36:41 +00:00
Bill McCloskey
6798be1a0e Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley) 2013-02-21 18:23:47 -08:00
Mike Hommey
c40cce5068 Bug 841094 - Don't special-case extensions/ and searchplugins/ directories when creating complete and partial mar, but special-case distribution/extensions. r=rstrong,r=bhearsum 2013-02-20 16:48:58 +01:00
L. David Baron
350dc824b4 Bug 563195: Fix -Wshadow warnings in public SPS headers. r=BenWa 2013-02-17 22:56:32 -08:00
Mike Hommey
becbd7e43e Bug 838165 - Cleanup in NSPR hooking in the build system. r=ted 2013-02-14 08:25:43 +01:00
Daniel Holbert
a0e1be8bc1 Bug 836150: Mark tools/profiler as FAIL_ON_WARNINGS, for non-MSVC compilers. r=BenWa 2013-01-29 21:12:07 -08:00
Daniel Holbert
3a2148c3d4 Bug 836149: declare pseudoStackPos as uint32_t instead of int in TableTicker.cpp, to fix signed/unsigned comparison build warning. r=BenWa 2013-01-29 18:51:43 -08:00
Daniel Holbert
3372289b47 Bug 836088: move variable 'platformData' closer to where it's used, in TableTicker.cpp, to fix unused variable warning on Mac OS X. r=BenWa 2013-01-29 17:59:12 -08:00
Daniel Holbert
909a2135f8 Bug 835915: Iterate across nsTArray using a size_t loop counter instead of an int. r=ehsan 2013-01-29 14:30:13 -08:00
Ted Mielczarek
6d243e9ce3 bug 641829 - add a Quitter extension for profileserver.py. r=jmaher 2011-05-26 09:07:35 -04:00
Benoit Girard
08e0911227 Bug 761277 - Part 1: Provide the macro definition, fall back to use TLS. r=ehsan 2013-01-18 18:47:31 -05:00
Irving Reid
e97ded2b9d Bug 818958: Tell SPSProfiler when the JS runtime shuts down r=luke 2013-01-18 12:04:35 -05:00
Rafael Ávila de Espíndola
1bbe140a79 Bug 831100 - use std::string. Extra reviews. r=ehsan,vladan. 2013-01-17 09:48:37 -05:00
Ehsan Akhgari
e0a9bee65f Remove the unneeded explicit keyword from SharedLibrary's private constructor, no bug 2013-01-16 23:26:46 -05:00
Rafael Ávila de Espíndola
3c03d12c55 Bug 831100 - use std::string. r=vladan. 2013-01-16 20:38:22 -05:00
Ed Morley
bab0bcfee5 Bug 828946 - leakstats should output TBPL-parsable error messages; r=ted 2013-01-16 21:53:45 +00:00
Ehsan Akhgari
d09ef7fde7 Forward declare JSContext as struct in the profiler code in order to avoid compiler warnings, no bug 2013-01-16 08:11:44 -05:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Rafael Ávila de Espíndola
e8a18c771f Bug 830485 - Style fix for hex parsing. r=vladan.
--HG--
extra : rebase_source : e8f695fd759da7f6fa261e6cd5df68db2e2c2d0f
2013-01-14 17:45:46 -05:00
Rafael Ávila de Espíndola
fcd1294cf0 Bug 830018 - Intermittent browser_profiler_controller.js, test_profiler_actor.js | application crashed [@AddSharedLibraryInfoToStream]. r=vladan 2013-01-14 16:20:05 -05:00
Rafael Ávila de Espíndola
5e1b16875a Bug 829621 - Compute the breakpad-id for OS X. r=BenWa. 2013-01-11 14:38:40 -05:00
Benoit Girard
4ee5a9418d Bug 822135 - Disable Profiler when there's a Private Browsing Window. r=jdm
--HG--
rename : services/crypto/cryptoComponents.manifest => services/sync/SyncComponents.manifest
extra : rebase_source : 00ee2e343815d654fc33238b49f19225f39cf074
2012-12-17 18:25:50 -05:00
Rafael Ávila de Espíndola
30c2da2ff1 Bug 825701 - Use v3 to report hangs. r=vladan. 2013-01-09 15:05:00 -05:00
Nicholas Nethercote
16e75efa9f Bug 818793 - Add a |aMaxFrames| parameter to NS_StackWalk. r=jlebar,glandium; sr=dbaron. 2012-12-20 21:31:57 -08:00
Masatoshi Kimura
70df2a62e6 Bug 819559 - Enable workarounds for intrinsic functions only on MSVC2005. r=jrmuizel 2013-01-07 04:43:23 +09:00
Robert O'Callahan
106f5d95d1 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Mike Hommey
a07bbca52c Bug 825901 - Remove the old linker code. r=blassey 2013-01-03 08:43:26 +01:00
David Zbarsky
f41bfdbfa0 Bug 824603 Part 2: Move nsDOMDocumentType => mozilla::dom::DocumentType r=bz
--HG--
rename : content/base/src/nsDOMDocumentType.cpp => content/base/src/DocumentType.cpp
rename : content/base/src/nsDOMDocumentType.h => content/base/src/DocumentType.h
2012-12-28 20:34:02 -05:00
Nicholas Nethercote
0a2709a9bb Bug 819819 (part 1) - Remove DMDV. r=khuey.
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Mark Banner
cfe57215c0 Bug 823932 Change leaksoup.cpp to use nsAutoTArray rather than nsAutoVoidArray. r=dbaron 2012-12-22 08:59:22 +00:00
Nicholas Nethercote
4801426ad4 Bug 819833 (part 3) - Fix fix_macosx_stack.py.
--HG--
extra : rebase_source : edf2b21b1061c5b1aa31d071e24099ab8072d3f5
2012-12-10 21:24:55 -08:00
Benoit Girard
a1cb4ba560 Bug 820951 - Bustage fix. r=ehsan
--HG--
extra : rebase_source : 58c860f56a22019c3f3982f940ffd22e53d3fd37
2012-12-12 18:01:31 -05:00
Benoit Girard
4149dda14b Bug 820951 - Add an option to the Profiler to strip out leaf addresses from JS profiles. r=ehsan
--HG--
extra : rebase_source : 8042a6ec42a54459752f25206d76e77184cb7865
2012-12-12 17:15:17 -05:00
Benoit Girard
45a903eef1 Bug 773428 - Part 2: Expose AddMarker via IDL. r=ehsan
--HG--
extra : rebase_source : 208a4569f5a9e2895400ed244483d4e160b36f48
2012-09-05 09:45:28 -04:00
Benoit Girard
b08639ab02 Bug 773428 - Part 1: Support dynamic profiler markers. r=ehsan
Add support for dynamic markers. All markers are copied and a signal lock is introduced to guard the stack usage. Because the marker stack is guarded by the signal lock the variables are no longer volatile.

--HG--
extra : rebase_source : 9c87347065bdff85430f53453099941895d064da
2012-12-11 14:10:56 -05:00
Nicholas Nethercote
b5d6a83387 Bug 819833 (part 2) - Remove fix-macosx-stack.pl because it's unused. r=ted.
--HG--
extra : rebase_source : 66c605bd2086b1a014fa361f7725536c135cdeb7
2012-12-10 21:19:18 -08:00
Ed Morley
e3c3b565a6 Backout 14d25f6b938e (bug 809317) for build failures on a CLOSED TREE 2012-12-11 21:13:15 +00:00
Benoit Girard
3827142689 Bug 809317 - Add stackwalking to SAMPLER_PRINT_LOCATION on mac. r=ehsan
--HG--
extra : rebase_source : c2cb7d1b61d18054105115034585a251bce6a58b
2012-11-19 18:31:47 -05:00
Benoit Girard
1b7a30926b Bug 809571 - Remove the libunwind stack walking code for ARM/Android. r=ehsan
--HG--
rename : browser/components/tabview/test/browser_tabview_privatebrowsing_perwindowpb.js => browser/components/tabview/test/browser_tabview_privatebrowsing.js
extra : rebase_source : d17a5a6e4606cc7337f94f3c353f2e5c955b5068
2012-11-22 14:04:56 -05:00
Bas Schouten
b9008c091b Bug 816117 - Part 3: Only get control registers from the profiled thread. r=bgirard 2012-12-08 06:15:21 +01:00
Bas Schouten
6b3ae3b49e Bug 816117 - Part 2: Pass the thread context to NS_StackWalk on Win32. r=bgirard 2012-12-08 06:15:21 +01:00
Bas Schouten
6a7b3d219c Bug 816117 - Part 1: Add the ability to pass around a windows Thread Context to StackWalkMain64. r=ehsan 2012-12-08 06:15:21 +01:00
Ed Morley
e4ea9e7330 Backout b5c19fdea86e (bug 809317) for windows build bustage 2012-12-05 23:10:15 +00:00
Benoit Girard
42b1460c64 Bug 809317 - Part 2: Support stackwalking. r=ehsan
--HG--
extra : rebase_source : 171005fa54d435b496930a2b2213673249cbee09
2012-11-19 18:31:47 -05:00
George Wright
1360f7d4f0 Bug 818279 - Don't namespace prefix PL_DHASH_NEXT to fix a compile failure on linux/clang. r=ehsan 2012-12-04 22:02:54 -05:00
Benoit Girard
b7a9c7699e Bug 818213 - Define SAMPLER_SHUTDOWN for builds without the profiler turned on; r=ehsan 2012-12-04 15:09:59 -05:00
Jacek Caban
41ef333904 Bug 817966 - Fix JSCustomObjectBuilder.h compilation on mingw; r=ehsan 2012-12-04 10:52:32 -05:00
Benoit Girard
d27aa194f6 Bug 799640 - Part 2: Save profiles on shutdown using custom JSON encoder. r=ehsan 2012-11-30 12:49:20 -05:00
Benoit Girard
184d3f808e Bug 799640 - Part 1: Refactor JSObjectBuilder. r=ehsan 2012-11-30 12:46:59 -05:00
Ehsan Akhgari
87109a7e0b Backed out 3 changesets (bug 799640) on the suspicion of regressing Tp5 by 50%
Backed out changeset 133c704dbcc6 (bug 799640)
Backed out changeset b130bb991d84 (bug 799640)
Backed out changeset e47b059493cf (bug 799640)
2012-11-30 16:05:13 -05:00
Benoit Girard
d94819ea28 Bug 799640 - Part 2: Save profiles on shutdown using custom JSON encoder. r=ehsan 2012-11-30 12:49:20 -05:00
Benoit Girard
5840777ebf Bug 799640 - Part 1: Refactor JSObjectBuilder. r=ehsan 2012-11-30 12:46:59 -05:00
Benoit Girard
d8e17f8706 Bug 805797 - Validate sp before unwinding to fix crash in mozilla::FramePointerStackWalk. r=ehsan 2012-11-21 16:24:39 -05:00
Benoit Girard
4ffaaf90a9 Bug 809317 - Part 1: Provide a pseudo stack implementation of SAMPLER_PRINT_LOCATION. r=ehsan
--HG--
extra : rebase_source : ba956341ba6115f5c0f60a067c46aee45d29724b
2012-11-19 18:13:28 -05:00
Ehsan Akhgari
e0a27e2597 Bug 813086 - Update the Chromium license block in the profiler code
DONTBUILD
2012-11-19 14:02:32 -05:00
Nicholas Nethercote
a6628ddd7d Bug 812070 (part 2) - Speed up fix-linux-stack.pl by adding a cache for previously queried addresses.
--HG--
extra : rebase_source : 286ff300d8ef36ff136d0a55bcef2dcf43845b04
2012-11-15 14:38:24 -08:00
Nicholas Nethercote
f02120e33b Bug 812070 (part 1) - Merge %pipes and %address_adjustment in fix-linux-stack.pl.
--HG--
extra : rebase_source : db6a782a2e5df081d885b3eb72dcd19e7b196687
2012-11-15 14:38:21 -08:00
Boris Zbarsky
fa61227956 Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Jim Chen
8f01552b67 Bug 761287 - Follow-up to fix TableTicker.cpp bustage; r=ehsan 2012-11-13 15:54:14 -05:00
Jim Chen
2b56bdcbe6 Bug 761287 - Fix NDKr8 build by including Android sigcontext instead of using our own; r=ehsan 2012-11-08 11:45:17 -05:00
Andrew Quartey
36ae7e6c05 Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Kyle Huey
45adfbf2c8 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Andrew Quartey
1d0db40554 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Ehsan Akhgari
78b2656cbc Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00