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 290768 98dd6cb59d8e0fbbea8fdbc736cb840f93689e6a
parent 290767 2c10aa467bc5c6a86a982f281bda9594a81744be
child 290769 ff80f543f561301942a8e510470b01f5c9851ad2
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersekr
bugs1254780
milestone48.0a1
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;