Bug 1254780 (attempt 2) - Shrink log_types from 1024 entries to 16. r=ekr.
authorNicholas Nethercote <nnethercote@mozilla.com>
Fri, 11 Mar 2016 10:06:32 +1100
changeset 290709 98dd6cb59d8e0fbbea8fdbc736cb840f93689e6a
parent 290708 2c10aa467bc5c6a86a982f281bda9594a81744be
child 290710 ff80f543f561301942a8e510470b01f5c9851ad2
push id30125
push usercbook@mozilla.com
push dateTue, 29 Mar 2016 12:16:24 +0000
treeherdermozilla-central@d5d53a3b4e50 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersekr
bugs1254780
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1254780 (attempt 2) - Shrink log_types from 1024 entries to 16. r=ekr. MozReview-Commit-ID: KWrOTuTlt6H
media/mtransport/third_party/nrappkit/src/log/r_log.c
--- a/media/mtransport/third_party/nrappkit/src/log/r_log.c
+++ b/media/mtransport/third_party/nrappkit/src/log/r_log.c
@@ -97,17 +97,17 @@ static char *log_level_reg_strings[]={
 #define LOG_NUM_DESTINATIONS 3
 
 typedef struct log_type_ {
      char *facility_name;
      int level[LOG_NUM_DESTINATIONS];
      NR_registry dest_facility_key[LOG_NUM_DESTINATIONS];
 } log_type;
 
-#define MAX_LOG_TYPES 1024
+#define MAX_LOG_TYPES 16
 
 static log_type log_types[MAX_LOG_TYPES];
 static int log_type_ct;
 
 
 typedef struct log_destination_ {
      char *dest_name;
      int enabled;