Commit Graph

389 Commits

Author SHA1 Message Date
Julian Seward
29fb27ab7b Bug 1141565 - TSan: data race ipc/chromium/src/base/histogram.cc:730 Accumulate. r=gfritzsche. 2016-01-18 17:15:19 +01:00
Jan de Mooij
71d37a198e Bug 1237201 part 7 - Handle Vector OOM in nsPerformanceStats, telemetry. r=Yoric 2016-01-14 15:19:37 +01:00
Alessio Placitelli
9d992db5e3 Bug 1234526 - Don't track healthreport.sqlite statements from Telemetry. r=gfritzsche 2016-01-07 03:02:00 +01:00
Anup Kumar
af825059ba Bug 1201492 - Remove extended_statistics_ok from Telemetry histograms. r=dexter 2015-12-21 08:31:00 +01:00
Avi Halachmi
cb31fcea50 Bug 1228147: part 2: Add telemetry probe for synchronous scroll. r=kats 2015-12-16 20:06:40 +02:00
Avi Halachmi
da11ded321 Bug 1228147: part 1: Add telemetry RecordingEnabled support. r=gfritzsche f=froydnj 2015-12-16 20:06:40 +02:00
Wes Kocher
c09cb3b32b Backed out 2 changesets (bug 1228147) for build failures in histogram.h on a CLOSED TREE
Backed out changeset 35b4ba91e093 (bug 1228147)
Backed out changeset 8a2f45c8d25d (bug 1228147)
2015-12-16 09:27:37 -08:00
Avi Halachmi
8c9734035f Bug 1228147: part 2: Add telemetry probe for synchronous scroll. r=kats 2015-12-16 17:18:45 +02:00
Avi Halachmi
1774be6cd8 Bug 1228147: part 1: Add telemetry RecordingEnabled support. r=gfritzsche f=froydnj 2015-12-16 16:39:57 +02:00
Nicholas Nethercote
5182e8eba6 Bug 1187138 (part 1) - Replace nsBaseHashtable::Enumerate() calls in toolkit/ with iterators. r=froydnj. 2015-11-01 18:54:48 -08:00
Alessio Placitelli
d1aeeaf2c3 Bug 896740 - Limit the number of chrome-hangs reported to Telemetry. r=vladan 2015-10-30 00:34:00 +01:00
Wes Kocher
40e9d943aa Merge fx-team to central, a=merge 2015-10-27 12:35:17 -07:00
Alessio Placitelli
fb89c2b0f3 Bug 1215540 - Fix Telemetry reporting repeated hang annotations for Thread hangs. r=aklotz 2015-10-27 04:35:00 +01:00
Nils Ohlmeier [:drno]
94c784b880 Bug 1198883 - Part 2: Added WebRTC ICE candidates to Telemetry. r+vladan 2015-10-08 14:44:50 -07:00
Alessio Placitelli
117a010a74 Bug 1213780 - Fix Telemetry reporting repeated hang annotations for Chrome hangs. r=aklotz 2015-10-22 08:07:00 +02:00
Carsten "Tomcat" Book
83cacb38c4 Backed out changeset 712073c4f0b4 (bug 1213780) for causing rooting hazard failures on a CLOSED TREE 2015-10-23 14:38:29 +02:00
Carsten "Tomcat" Book
2cf2ab9d12 Backed out changeset a655cd7082e9 (bug 1215540) 2015-10-23 14:38:07 +02:00
Alessio Placitelli
df89c15acb Bug 1215540 - Fix Telemetry reporting repeated hang annotations in Thread hangs. r=aklotz 2015-10-22 09:56:00 +02:00
Alessio Placitelli
39ca971f73 Bug 1213780 - Fix Telemetry reporting repeated hang annotations for Chrome hangs. r=aklotz 2015-10-22 08:07:00 +02:00
Nathan Froyd
4e6d8f6705 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Ahmed Khalil
1472ef1029 Bug 1201926 - Add support for keyed histograms to Fennec's Telemetry module, r=nalexander 2015-10-08 11:32:52 +05:30
Nicholas Nethercote
e7068e5429 Bug 1209351 (part 6) - Optimize nsTHashTable::RemoveEntry() usage in toolkit/. r=froydnj. 2015-09-24 21:38:04 -07:00
Nathan Froyd
2153af8dcc Bug 968923 - part 3c - miscellaneous telemetry changes for use counters; r=gfritzsche
This patch teaches gen-histogram-enum.py how to correctly deal with the
situation where there are no use counters.  It also adds
mozilla::Telemetry::GetHistogramName for debugging purposes.
2015-06-03 14:38:15 -04:00
Nicholas Nethercote
62022ea522 Bug 1189156 (part 2) - Don't use enumeration style for nsTHashtable::SizeOf{In,Ex}cludingThis(). r=erahm.
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)

And we still have the existing single-arg SizeOf{In,Ex}cluding() functions,
which work if the entry type itself defines SizeOfExcludingThis().
2015-07-29 01:50:52 -07:00
Nicholas Nethercote
37d91ed8fe Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj.
This makes it clearer that, unlike how SizeOf*() functions usually work, this
doesn't measure any children hanging off the array.

And do likewise for nsTObserverArray.
2015-07-28 23:24:24 -07:00
Nicholas Nethercote
ea7dbea771 Bug 1185399 (part 1) - Remove macros from pldhash.h. r=froydnj. 2015-07-20 17:06:38 -07:00
Nicholas Nethercote
d0b16fb3f0 Bug 1182960 (part 1) - Use nsTHashtable::Iterator in toolkit/components/telemetry/. r=mak. 2015-07-14 06:41:18 -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
Juan Gomez
89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Jan de Mooij
c291b790a9 Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie 2015-06-30 21:10:04 -07:00
Ryan VanderMeulen
7aba9d7002 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Ben Turner
90c9ac31cc Bug 1162176, Part 1. r=mak. 2015-05-19 09:17:10 -07:00
Ryan VanderMeulen
47da3da4e0 Backed out changesets ba117e790ece and e183bcc18cd3 (bug 1162176) for bustage.
CLOSED TREE
2015-05-19 13:17:01 -04:00
Ben Turner
4eb1e687ad Bug 1162176, Part 1. r=mak. 2015-05-19 09:17:10 -07:00
Neil Rashbrook
3ac6e8ce7a Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan 2015-05-16 09:07:10 +01:00
Wes Kocher
aae9c961fe Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds 2015-05-14 16:35:18 -07:00
Neil Rashbrook
8d294091b1 Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan 2015-05-15 00:00:33 +01:00
Alessio Placitelli
3180c7d9c6 Bug 1158251 - Fix sub-session histograms double-counting measurements the first time. r=gfritzsche 2015-04-27 07:39:00 +02:00
Alessio Placitelli
dd4b33bd8f Bug 1157282 - Record telemetry histograms for base set when Telemetry.canRecordExtended is false. r=gfritzsche 2015-04-27 08:08:00 -04:00
Alessio Placitelli
ffa98f444f Bug 1149980 - Fix Telemetry crashing on shutdown for invalid timestamps during tests. r=vladan 2015-04-15 13:41:00 +02:00
Jim Mathies
f79cad1127 Bug 1100501 - Avoid a late shutdown of chromium's StatisticsRecorder. r=georg 2015-04-11 07:02:07 -05:00
Carsten "Tomcat" Book
30042b68fb Backed out changeset 9a6acb756ed5 (bug 1100501) for OSX XPCshell Test failures 2015-04-10 12:33:56 +02:00
Jim Mathies
f4ab30aa9c Bug 1100501 - Avoid a late shutdown of chromium's StatisticsRecorder. r=georg 2015-04-09 15:41:53 -05:00
Aaron Klotz
6bc0bb7246 Bug 1150684: Remove XPCOM.h from IOInterposer.h; r=froydnj 2015-04-02 14:51:18 -06:00
Vladan Djeric
5bb4c2e7d3 Bug 1150230: Add reading-list.sqlite and about:home indexedDB to SlowSQL whitelist. r=Yoric 2015-04-01 17:45:04 -04:00
Mike Hommey
338d086ead Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Alessio Placitelli
f3eb8e2fb5 Bug 1134279 - Make TelemetryPing and TelemetrySession code use the "FHR enabled" & "Telemetry enabled" prefs properly. r=vladan 2015-03-25 16:42:14 +01:00
Ehsan Akhgari
ea41d8de48 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
Carsten "Tomcat" Book
8784195ef2 Merge mozilla-central to fx-team 2015-03-10 14:05:23 +01:00