Bug 1254780 - Shrink log_types from 1024 entries to 16. r=ekr.
☠☠ backed out by 964a638d77fa ☠ ☠
authorNicholas Nethercote <nnethercote@mozilla.com>
Fri, 11 Mar 2016 10:06:32 +1100
changeset 290193 e139011ede5bda9f57c356cdc9e69e637680d671
parent 290192 8060bad4e3e0f3ba6afd3dabe5b0950ccea6fb57
child 290194 80beb85ac554595b38a13825d35c680a06eb0656
push id30114
push usercbook@mozilla.com
push dateThu, 24 Mar 2016 15:15:54 +0000
treeherdermozilla-central@24c5fbde4488 [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 - Shrink log_types from 1024 entries to 16. r=ekr.
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;