Eric Rahm
bf94c13168
Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj
...
We should not be declaring forward declarations for nsString classes directly,
instead we should use nsStringFwd.h. This will make changing the underlying
types easier.
2017-08-16 16:48:52 -07:00
Markus Stange
85669e216b
Bug 1382908 - Make TaskTracer build and run again. r=billm
...
MozReview-Commit-ID: 8SqBWgOXc6H
2017-07-24 18:35:07 -04:00
Thinker K.F. Li
6007ee960a
Bug 1323076 - Part 1: TaskTracer with only flag checking overhead. r=cervantes
2017-03-22 21:43:00 +01:00
Thinker K.F. Li
41068c94cb
Bug 1346151 - Avoid compile time warning for format strings. r=cervantes
2017-03-10 02:03:00 -05:00
Thinker K.F. Li
8023087d31
Bug 1342774 - Fix the deadlock caused by TaskTracer. r=cervantes
2017-03-01 00:57:00 -05:00
Thinker K.F. Li
99b7921cf9
Bug 1329929 - Fix memory leaking of TaskTracer. r=cervantes
2017-02-22 00:26:00 -05:00
Nicholas Nethercote
c7ab9c86dc
Bug 1339695 (part 10) - Rename SPS_* macros as GP_*. r=jseward.
...
This removes the final mentions of the old "SPS" name.
2017-02-18 00:57:03 +11:00
Nicholas Nethercote
f2a7677b91
Bug 1339695 (part 8) - Clean up platform detection throughout the profiler. r=mstange.
...
Currently we use the SPS_* macros in some places, but also use other ones like
__arm__ and ANDROID and XP_{WIN,MAC,LINUX}. This patch makes the profiler
consistently use the SPS_* macros and removes the V8_HOST_ARCH_* macros.
The patch also does the following.
- Cleans up some header inclusions, e.g. including pthread.h directly in the
files that use it, and removing some unneeded android/log.h inclusions.
- Removes an unused branch in SetSampleContext() -- we don't support ARM on
anything other than Android, and glibc 2.3 is ancient.
- Doesn't use SPS_* in PseudoStack.h because that would require exporting
PlatformMacros.h, which doesn't seem worthwhile.
Some things that aid the understanding of this patch.
- XP_LINUX and LINUX are both defined for Linux *and* Android.
- x86/Android is the only supported platform that doesn't define
HAVE_NATIVE_UNWIND.
- Every platform that defines USE_LUL_STACKWALK also defines
HAVE_NATIVE_UNWIND.
2017-02-18 00:56:21 +11:00
Tom Tromey
e90d95a3f9
Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
...
MozReview-Commit-ID: 2E8FoiNxU8L
2016-12-14 09:32:21 -07:00
Nicholas Nethercote
5d84fceadb
Bug 1333296 (part 3) - Remove SPS mentions in tools/profiler. r=mstange.
2017-01-24 14:18:50 +11:00
Thinker K.F. Li
0b5034bfb0
Bug 1319669 - Add class AutoScopedLabel. r=cyu
2017-01-09 18:46:00 +01:00
Markus Stange
23c599d377
Bug 1323072 - Trace tasks dispatched on Chromium (non-XPCOM) threads. r=sinker
...
MozReview-Commit-ID: GKfPCAspwDz
2016-12-12 17:38:12 -05:00
Thinker K.F. Li
b11f188442
Bug 1319669 - Handle TaskTracer at STS thread and Cache thread. r=honzab
2016-12-09 14:09:00 -05:00
Shih-Chiang Chien
21bee057bc
Bug 1319682 - fix compile warning/error in TaskTracer, r=sinker
...
MozReview-Commit-ID: 4E0ThIAZAxC
2016-11-24 17:51:23 +08:00
Thinker K.F. Li
c1a027e069
Bug 1287392 - Part 8: Improve performance of logging of TaskTracer. r=cyu
2016-11-22 00:15:00 +08:00
Thinker K.F. Li
6d7bb39bf8
Bug 1287392 - Part 7: Change definition of VPtr of TaskTracer. r=cyu
2016-11-22 00:14:00 +08:00
Thinker K.F. Li
cb85808c9d
Bug 1287392 - Part 6: Add VirtualTask RAII class. r=cyu
2016-11-22 00:13:00 +08:00
Thinker K.F. Li
3e8d278dd8
Bug 1287392 - Part 5: Fix bugs of sync for TaskTracer. r=cyu
2016-11-22 00:11:00 +08:00
Thinker K.F. Li
a739a4e623
Bug 1287392 - Part 2: Ignore obsolete TaskTracer data and fix vptr. r=cyu
2016-11-10 07:58:00 +01:00
Thinker K.F. Li
f473652d38
Bug 1287392 - Part 1: Fix TaskTracer bugs caused by the changes of IPC. r=khuey, r=bgirard
2016-11-11 20:26:00 +01:00
Carsten "Tomcat" Book
ae29aaccc0
Backed out changeset 606c7cb149c9 (bug 1287392) for bustage on a CLOSED TREE
2016-11-11 17:03:23 +01:00
Carsten "Tomcat" Book
63b617a8b9
Backed out changeset ac7da68e00f5 (bug 1287392)
2016-11-11 17:03:04 +01:00
Thinker K.F. Li
41e7c98c34
Bug 1287392 - Part 2: Ignore obsolete TaskTracer data and fix vptr. r=cyu
2016-11-10 07:58:00 -05:00
Thinker K.F. Li
cf0fc22787
Bug 1287392 - Part 1: Fix TaskTracer bugs caused by the changes of IPC. r=khuey, r=bgirard
2016-11-10 07:57:00 -05:00
Kan-Ru Chen
a9b19d0584
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Thomas Zimmermann
7b20346763
Bug 1288077: Forward declare arrays by including 'nsTArrayForwardDeclare.h', r=froydnj
...
MozReview-Commit-ID: 4RBeHDyhQgr
2016-07-20 17:29:36 +02:00
Nathan Froyd
07576378ff
Bug 1270928 - part 4 - return a UniquePtr from GetLoggedData; r=BenWa
...
This change makes ownership clearer and enables us to get rid of the
last use of nsAutoPtr in tools/profiler/.
2016-05-09 10:04:50 -04:00
Nathan Froyd
bf3d732964
Bug 1270928 - part 2 - use UniquePtr in GeckoTaskTracer.cpp:sTraceInfos; r=BenWa
...
Less nsAutoPtr usage and header bootlegging is a good thing.
2016-05-09 10:04:50 -04:00
Phil Ringnalda
d770e09301
Merge f-t to m-c, a=merge
2016-01-23 18:11:37 -08:00
Sylvestre Ledru
1f07806bda
Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
2016-01-22 16:58:49 +01:00
Tom Tromey
2177f7ad7f
Bug 757969 - use __thread in ThreadLocal; r=froydnj
2016-01-22 10:33:44 -07:00
Mike Conley
27f9186d07
Bug 1221846 - Get Task Tracer building on desktop r=cyu.
2015-12-02 20:55:38 -05:00
Birunthan Mohanathas
ac37dec517
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Xidorn Quan
1d56197ebd
Bug 1186745 part 4 - Make TracedRunnable accept an already_AddRefed instead of a raw pointer. r=froydnj
2015-10-06 13:00:59 +11:00
Wes Kocher
1779ac7e2a
Backed out 6 changesets (bug 1186745) for android Cpp failures
...
Backed out changeset 237a6acf0709 (bug 1186745 )
Backed out changeset 7b530871783a (bug 1186745 )
Backed out changeset 73f73b531fc8 (bug 1186745 )
Backed out changeset e36909748ddf (bug 1186745 )
Backed out changeset 3a31df8787f0 (bug 1186745 )
Backed out changeset df9cb8f5f0a5 (bug 1186745 )
2015-10-02 10:35:09 -07:00
Xidorn Quan
ea8db2337e
Bug 1186745 part 4 - Make TracedRunnable accept an already_AddRefed instead of a raw pointer. r=froydnj
2015-10-03 00:18:24 +10:00
Phil Ringnalda
5c7e6f4c0a
Back out 6 changesets (bug 1186745) for cpptest failure in runnable_utils_unittest, nrappkit_unittest, test_nr_socket_unittest
...
Backed out changeset c6142b815de0 (bug 1186745 )
Backed out changeset d8f740ef2430 (bug 1186745 )
Backed out changeset edc0b56d81fa (bug 1186745 )
Backed out changeset 383f8ac033ea (bug 1186745 )
Backed out changeset ce960a661987 (bug 1186745 )
Backed out changeset 3e9783023fb2 (bug 1186745 )
2015-09-28 19:05:02 -07:00
Xidorn Quan
12e48d40e5
Bug 1186745 part 4 - Make TracedRunnable accept an already_AddRefed instead of a raw pointer. r=froydnj
2015-09-29 09:28:22 +10:00
Birunthan Mohanathas
1f32e08020
Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj
2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
065661bf47
Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj
2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
a29151dc87
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
e3334d416c
Bug 1178892 - Split the profiler into Core & Gecko files and break apart monolithic headers. r=mstange
2015-06-30 15:03:45 -04:00