Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Benoit Girard
daba448963
Bug 1178892
- Split the profiler into Core & Gecko files and break apart monolithic headers. r=mstange
...
--HG--
rename : tools/profiler/EHABIStackWalk.cpp => tools/profiler/core/EHABIStackWalk.cpp
rename : tools/profiler/EHABIStackWalk.h => tools/profiler/core/EHABIStackWalk.h
rename : tools/profiler/TableTicker.cpp => tools/profiler/core/GeckoSampler.cpp
rename : tools/profiler/TableTicker.h => tools/profiler/core/GeckoSampler.h
rename : tools/profiler/IntelPowerGadget.cpp => tools/profiler/core/IntelPowerGadget.cpp
rename : tools/profiler/IntelPowerGadget.h => tools/profiler/core/IntelPowerGadget.h
rename : tools/profiler/PlatformMacros.h => tools/profiler/core/PlatformMacros.h
rename : tools/profiler/ProfileEntry.cpp => tools/profiler/core/ProfileEntry.cpp
rename : tools/profiler/ProfileEntry.h => tools/profiler/core/ProfileEntry.h
rename : tools/profiler/ProfileJSONWriter.cpp => tools/profiler/core/ProfileJSONWriter.cpp
rename : tools/profiler/ProfileJSONWriter.h => tools/profiler/core/ProfileJSONWriter.h
rename : tools/profiler/ProfilerBacktrace.cpp => tools/profiler/core/ProfilerBacktrace.cpp
rename : tools/profiler/ProfilerMarkers.cpp => tools/profiler/core/ProfilerMarkers.cpp
rename : tools/profiler/SyncProfile.cpp => tools/profiler/core/SyncProfile.cpp
rename : tools/profiler/SyncProfile.h => tools/profiler/core/SyncProfile.h
rename : tools/profiler/platform-linux.cc => tools/profiler/core/platform-linux.cc
rename : tools/profiler/platform-macos.cc => tools/profiler/core/platform-macos.cc
rename : tools/profiler/platform-win32.cc => tools/profiler/core/platform-win32.cc
rename : tools/profiler/platform.cpp => tools/profiler/core/platform.cpp
rename : tools/profiler/platform.h => tools/profiler/core/platform.h
rename : tools/profiler/shared-libraries-linux.cc => tools/profiler/core/shared-libraries-linux.cc
rename : tools/profiler/shared-libraries-macos.cc => tools/profiler/core/shared-libraries-macos.cc
rename : tools/profiler/shared-libraries-win32.cc => tools/profiler/core/shared-libraries-win32.cc
rename : tools/profiler/shim_mac_dump_syms.h => tools/profiler/core/shim_mac_dump_syms.h
rename : tools/profiler/shim_mac_dump_syms.mm => tools/profiler/core/shim_mac_dump_syms.mm
rename : tools/profiler/v8-support.h => tools/profiler/core/v8-support.h
rename : tools/profiler/ProfileGatherer.cpp => tools/profiler/gecko/ProfileGatherer.cpp
rename : tools/profiler/Profiler.jsm => tools/profiler/gecko/Profiler.jsm
rename : tools/profiler/ProfilerIOInterposeObserver.cpp => tools/profiler/gecko/ProfilerIOInterposeObserver.cpp
rename : tools/profiler/ProfilerIOInterposeObserver.h => tools/profiler/gecko/ProfilerIOInterposeObserver.h
rename : tools/profiler/SaveProfileTask.cpp => tools/profiler/gecko/SaveProfileTask.cpp
rename : tools/profiler/SaveProfileTask.h => tools/profiler/gecko/SaveProfileTask.h
rename : tools/profiler/ThreadResponsiveness.cpp => tools/profiler/gecko/ThreadResponsiveness.cpp
rename : tools/profiler/ThreadResponsiveness.h => tools/profiler/gecko/ThreadResponsiveness.h
rename : tools/profiler/local_debug_info_symbolizer.cc => tools/profiler/gecko/local_debug_info_symbolizer.cc
rename : tools/profiler/local_debug_info_symbolizer.h => tools/profiler/gecko/local_debug_info_symbolizer.h
rename : tools/profiler/nsIProfileSaveEvent.idl => tools/profiler/gecko/nsIProfileSaveEvent.idl
rename : tools/profiler/nsIProfiler.idl => tools/profiler/gecko/nsIProfiler.idl
rename : tools/profiler/nsProfiler.cpp => tools/profiler/gecko/nsProfiler.cpp
rename : tools/profiler/nsProfiler.h => tools/profiler/gecko/nsProfiler.h
rename : tools/profiler/nsProfilerCIID.h => tools/profiler/gecko/nsProfilerCIID.h
rename : tools/profiler/nsProfilerFactory.cpp => tools/profiler/gecko/nsProfilerFactory.cpp
rename : tools/profiler/nsProfilerStartParams.cpp => tools/profiler/gecko/nsProfilerStartParams.cpp
rename : tools/profiler/nsProfilerStartParams.h => tools/profiler/gecko/nsProfilerStartParams.h
rename : tools/profiler/AutoObjectMapper.cpp => tools/profiler/lul/AutoObjectMapper.cpp
rename : tools/profiler/AutoObjectMapper.h => tools/profiler/lul/AutoObjectMapper.h
rename : tools/profiler/LulCommon.cpp => tools/profiler/lul/LulCommon.cpp
rename : tools/profiler/LulCommonExt.h => tools/profiler/lul/LulCommonExt.h
rename : tools/profiler/LulDwarf.cpp => tools/profiler/lul/LulDwarf.cpp
rename : tools/profiler/LulDwarfExt.h => tools/profiler/lul/LulDwarfExt.h
rename : tools/profiler/LulDwarfInt.h => tools/profiler/lul/LulDwarfInt.h
rename : tools/profiler/LulDwarfSummariser.cpp => tools/profiler/lul/LulDwarfSummariser.cpp
rename : tools/profiler/LulDwarfSummariser.h => tools/profiler/lul/LulDwarfSummariser.h
rename : tools/profiler/LulElf.cpp => tools/profiler/lul/LulElf.cpp
rename : tools/profiler/LulElfExt.h => tools/profiler/lul/LulElfExt.h
rename : tools/profiler/LulElfInt.h => tools/profiler/lul/LulElfInt.h
rename : tools/profiler/LulMain.cpp => tools/profiler/lul/LulMain.cpp
rename : tools/profiler/LulMain.h => tools/profiler/lul/LulMain.h
rename : tools/profiler/LulMainInt.h => tools/profiler/lul/LulMainInt.h
rename : tools/profiler/LulPlatformMacros.h => tools/profiler/lul/LulPlatformMacros.h
rename : tools/profiler/platform-linux-lul.cpp => tools/profiler/lul/platform-linux-lul.cpp
rename : tools/profiler/platform-linux-lul.h => tools/profiler/lul/platform-linux-lul.h
rename : tools/profiler/GeckoProfiler.h => tools/profiler/public/GeckoProfiler.h
rename : tools/profiler/GeckoProfilerFunc.h => tools/profiler/public/GeckoProfilerFunc.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/public/GeckoProfilerImpl.h
rename : tools/profiler/ProfileGatherer.h => tools/profiler/public/ProfileGatherer.h
rename : tools/profiler/ProfilerBacktrace.h => tools/profiler/public/ProfilerBacktrace.h
rename : tools/profiler/ProfilerMarkers.h => tools/profiler/public/ProfilerMarkers.h
rename : tools/profiler/PseudoStack.h => tools/profiler/public/PseudoStack.h
rename : tools/profiler/shared-libraries.h => tools/profiler/public/shared-libraries.h
rename : tools/profiler/GeckoTaskTracer.cpp => tools/profiler/tasktracer/GeckoTaskTracer.cpp
rename : tools/profiler/GeckoTaskTracer.h => tools/profiler/tasktracer/GeckoTaskTracer.h
rename : tools/profiler/GeckoTaskTracerImpl.h => tools/profiler/tasktracer/GeckoTaskTracerImpl.h
rename : tools/profiler/SourceEventTypeMap.h => tools/profiler/tasktracer/SourceEventTypeMap.h
rename : tools/profiler/TracedTaskCommon.cpp => tools/profiler/tasktracer/TracedTaskCommon.cpp
rename : tools/profiler/TracedTaskCommon.h => tools/profiler/tasktracer/TracedTaskCommon.h
extra : commitid : EGgqHIgsN6z
2015-06-30 15:03:45 -04:00
Julian Seward
3140f17c1a
Bug 1173847 - Remove EXIDX unwinding functionality from LUL. r=mstange.
2015-07-03 11:51:07 +02:00
Shu-yu Guo
4d02b7746d
Revert "Bug 1172157 - Save malformed profile JSON to file to help debug." (r=BenWa)
2015-07-01 14:57:55 -07:00
Shu-yu Guo
70bd4a84d9
Bug 1172186
- Followup: revert accidental changes to ProfileJSONWriter.cpp (r=me)
2015-07-01 14:57:55 -07:00
James Willcox
176ebfbbe2
Bug 1178961 - Restore the std::string fix from bug 1167230 r=BenWa
2015-07-01 08:47:46 -05:00
Julian Seward
303045d389
Bug 1157194 - Make LUL able to deal with Dwarf expressions in CFI unwind info. r=jimb.
...
--HG--
extra : rebase_source : 65cccf289a78d6a0996b220fe6f763a3b70950eb
2015-06-30 16:02:27 +02:00
Andrew McCreight
f4abeb8aba
Bug 886459, part 1 - Remove unused includes of nsIJSRuntimeService.h. r=bholley
2015-06-26 18:44:13 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Eric Rahm
e03df72f86
Bug 1167230 - Don't pack ProfileEntry on ARM. r=shu
...
--HG--
extra : commitid : 1bt5joaph6U
extra : rebase_source : 6b62511eef626b3ebbe3f7284e555b98d91cf13f
2015-05-28 15:26:52 -07:00
Benoit Girard
59ad1c9d28
Bug 1172186
- Make the profiler build standalone. r=mstange
...
--HG--
extra : commitid : BTYjbUK8Kkf
extra : rebase_source : 48b78ab373d4019fb42cc39cdc66586da33eb069
2015-06-18 01:05:42 -04:00
Benoit Girard
8d6a67f6d3
Bug 1172216 - Move nsStackwalk to mozglue. r=glandium
...
--HG--
rename : xpcom/base/nsStackWalk.cpp => mozglue/misc/StackWalk.cpp
rename : xpcom/base/nsStackWalk.h => mozglue/misc/StackWalk.h
extra : commitid : EMbWGfjKvdq
extra : rebase_source : b7308eb569cc1a019d3b7a92aaff0de7a49b5682
2015-06-10 16:32:45 -04:00
Tom Tromey
c924c51529
Bug 1159486 - Make profiler use the process creation time. r=shu, r=jsantell
2015-06-16 22:28:00 -04:00
Shelly Lin
4eff0a1842
Bug 1113562 - Expected delay time of tasks should not be the latency of those kind. r=sinker
...
--HG--
extra : rebase_source : b5e012fb6570e87270a0924fbe395dc56e6242ec
2015-06-16 10:57:19 +08:00
Julian Seward
14bc4ccfab
Bug 1165833 - LUL testing: import gtest/gmock based Dwarf CFI tests from toolkit/crashreporter/google-breakpad. r=jimb.
2015-06-15 15:47:43 +02:00
Mike Conley
883b7ff2db
Bug 1116188 - Add async ProfileGatherer as the mechanism for gathering profiles from subprocesses. r=bgirard,bz
...
--HG--
extra : commitid : 3ssrVzrWpIy
extra : rebase_source : 5d389ada8f7e4c453c0b7e6a965ee46a7526e06f
2015-06-10 17:58:30 -04:00
Shu-yu Guo
d91cf6d108
Bug 1167895 - Escape JS engine SPS profile strings to UTF8 properly. (r=djvj)
2015-06-11 18:30:39 -07:00
Shu-yu Guo
64b5f2f3be
Bug 1172157 - Save malformed profile JSON to file to help debug. (r=BenWa)
2015-06-08 12:21:58 -07:00
Shu-yu Guo
b013423bb8
Bug 1171240 - Avoid copies when splicing inside ProfileJSONWriter. (r=mstange)
2015-06-05 18:43:16 -07:00
Shu-yu Guo
46b5bdccc4
Bug 1171208 - Fix null-terminating chunks in ChunkedJSONWriteFunc. (r=mstange)
2015-06-04 03:22:56 -07:00
Ting-Yu Chou
1d142a2ed6
Bug 1168784 - Part 1: Fix the script merging profiles to handle new profiler JSON format. r=benwa
2015-06-01 18:09:29 +08:00
Jim Chen
bb60c1781d
Bug 1169334 - Fix missing braces in Java thread profile; r=mstange
2015-06-02 16:31:25 -04:00
Eric Rahm
a78fbb7376
Bug 1167230 - Don't pack ProfileEntry on ARM. r=shu
2015-05-28 15:26:52 -07:00
Markus Stange
9980cc4eef
Back out bug 1150252 (using pthread_kill for OS X profiling) because of bug 1166778 and bug 1166808. r=djvj
...
--HG--
extra : rebase_source : e6f27c77062ce365361daa06f145761b7f1f1d07
2015-05-19 14:48:44 -04:00
Shu-yu Guo
3e9695abda
Bug 1168265 - Clean up ChunkedJSONWriteFunc. (r=mstange)
2015-05-26 22:58:40 -07:00
Shu-yu Guo
9f94c8fcbf
Bug 1167230 - Use nsCString instead of std::string in FrameKey in the profiler. (r=mstange)
2015-05-26 22:58:40 -07:00
Shu-yu Guo
eca2c2d5bb
Bug 1166492 - Return UniquePtr<char[]> from profiler_get_profile to avoid double copying. (r=mstange)
2015-05-26 22:58:40 -07:00
Shu-yu Guo
39b3a7865a
Bug 1166492 - Remove dead code in the ProfileBuffer and ThreadProfile. (r=mstange)
2015-05-26 22:58:40 -07:00
Shu-yu Guo
c320562635
Bug 1166492 - Handle huge strings in the profile JSON writer. (r=mstange)
2015-05-26 22:58:40 -07:00
Botond Ballo
2e2a504271
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Phil Ringnalda
49dd872168
Back out 3 changesets (bug 1119980) for emulator-l bustage
...
CLOSED TREE
Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
9934d127c1
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04:00
Carsten "Tomcat" Book
8d7487c92e
Merge mozilla-central to fx-team
2015-05-20 16:10:15 +02:00
Shu-yu Guo
0e509e7010
Bug 1166126 - Increase the size of the tag buffer in the profiler. r=mstange
2015-05-18 20:57:00 -04:00
JerryShih
61d50cc4ae
Bug 1164785 - Append line number to systrace scopedTrace object name. r=BenWa
2015-05-14 01:41:00 -04:00
Jim Chen
dc596951dd
Bug 1163135 - Make it safer to start the profiler via signal; r=snorp
2015-05-19 11:27:18 -04:00
Shu-yu Guo
2ad192eabb
Bug 1154115 - Fix nsIProfiler xpcshell tests to use the new profiler JSON format. (r=me)
2015-05-11 14:16:44 -07:00
Shu-yu Guo
3390ef56f7
Bug 1154115 - Rewrite profiler JSON streaming. (r=mstange)
2015-05-11 14:16:44 -07:00
Jordan Santell
7b6fec2d8c
Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey
2015-04-29 12:48:57 -07:00
Shu-yu Guo
522b073d05
Bug 1145824 - In nsProfiler, allow GetProfile and getProfileData to filter by a start time. (r=mstange)
2015-04-25 15:56:03 -07:00
Shu-yu Guo
fd79d51b74
Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange)
2015-04-25 15:55:56 -07:00
Tooru Fujisawa
da97f25d34
Backed out changeset 9bd76ec482d2 (bug 1145824) for mochitest-other failure
2015-04-25 14:12:25 +09:00
Tooru Fujisawa
ddb1bdaf8e
Backed out changeset 09b28ebb2216 (bug 1145824) for mochitest-other failure
2015-04-25 14:12:23 +09:00
Shu-yu Guo
293e34735f
Bug 1145824 - In nsProfiler, allow GetProfile and getProfileData to filter by a start time. (r=mstange)
2015-04-24 17:36:13 -07:00
Shu-yu Guo
94d3529cbf
Bug 1145824 - Add getElapsedTime to nsIProfiler. (r=mstange)
2015-04-24 17:35:57 -07:00
Kartikaya Gupta
cd5b55f8d6
Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong
2015-04-23 15:10:30 -04:00
Kannan Vijayan
525df2926a
Bug 1145306 - Expose circular buffer status from profiler. r=mstange
2015-04-22 15:36:43 -04:00
Andrea Marchesini
085da9302a
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +02:00
Ryan VanderMeulen
86aee22968
Merge inbound to m-c. a=merge
...
--HG--
rename : toolkit/modules/tests/browser/browser_AddonWatcher.js => toolkit/components/perfmonitoring/tests/browser/browser_AddonWatcher.js
2015-04-17 15:44:37 -04:00