Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split DefaultStorageKeyAllocator into Keys and Allocator #23422

Merged

Conversation

andy31415
Copy link
Contributor

DefaultStorageKeyAllocator is a mutable object that is shared among different uses. This makes the api strange to use: you need to pass in an allocator that gets set and that value gets passed around. The same allocator may hold different values at different times.

This changes to have a generally immutable StorageKey object that is used for keys and the Allocator only allocates such keys.

@github-actions
Copy link

github-actions bot commented Nov 1, 2022

PR #23422: Size comparison from 16f49ea to ce282f6

Increases above 0.2%:

platform target config section 16f49ea ce282f6 change % change
bl702 lighting-app bl702 .debug_ranges 358064 359680 1616 0.5
bl702+rpc .debug_ranges 380864 382480 1616 0.4
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 173688 174384 696 0.4
shell LP_CC2652R7 (read/write) 184988 185484 496 0.3
psoc6 all-clusters cy8ckit_062s2_43012 .debug_loc 3588816 3601512 12696 0.4
.debug_ranges 337960 339448 1488 0.4
all-clusters-minimal cy8ckit_062s2_43012 .debug_loc 3576453 3589149 12696 0.4
.debug_ranges 336576 338064 1488 0.4
light cy8ckit_062s2_43012 .debug_loc 3274179 3286860 12681 0.4
.debug_ranges 301872 303360 1488 0.5
lock cy8ckit_062s2_43012 .debug_loc 3301773 3314454 12681 0.4
.debug_ranges 303816 305304 1488 0.5
Increases (31 builds for bl702, cc13x2_26x2, efr32, esp32, linux, nrfconnect, psoc6, telink)
platform target config section 16f49ea ce282f6 change % change
bl702 lighting-app bl702 .debug_abbrev 1509373 1510478 1105 0.1
.debug_frame 484428 484620 192 0.0
.debug_info 37964827 37981461 16634 0.0
.debug_line 5257208 5264351 7143 0.1
.debug_loc 3366388 3372456 6068 0.2
.debug_ranges 358064 359680 1616 0.5
.debug_str 3451542 3451640 98 0.0
bl702+rpc .debug_abbrev 1646772 1647897 1125 0.1
.debug_frame 509800 509992 192 0.0
.debug_info 41877795 41895675 17880 0.0
.debug_line 5632788 5640344 7556 0.1
.debug_loc 3559215 3565283 6068 0.2
.debug_ranges 380864 382480 1616 0.4
.debug_str 3847670 3847768 98 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 173688 174384 696 0.4
lock-ftd LP_CC2652R7 (read/write) 172316 172740 424 0.2
lock-mtd LP_CC2652R7 (read/write) 184216 184624 408 0.2
pump-app LP_CC2652R7 (read/write) 160796 161028 232 0.1
.text 597292 597404 112 0.0
pump-controller-app LP_CC2652R7 (read/write) 176616 176816 200 0.1
.text 586024 586168 144 0.0
shell LP_CC2652R7 (read/write) 184988 185484 496 0.3
efr32 lighting-app BRD4187C (read/write) 1146720 1146736 16 0.0
.text 980864 980896 32 0.0
window-app BRD4187C (read/write) 1139940 1139956 16 0.0
.text 972644 972676 32 0.0
esp32 all-clusters-app c3devkit (read only) 1223970 1224082 112 0.0
.flash.text 1223970 1224082 112 0.0
m5stack (read only) 1234039 1234179 140 0.0
.flash.text 1228655 1228795 140 0.0
linux all-clusters-app debug (read only) 3086657 3088257 1600 0.1
.text 2620850 2622450 1600 0.1
all-clusters-minimal-app debug (read only) 2912449 2914049 1600 0.1
.text 2450098 2451698 1600 0.1
bridge-app debug+rpc (read only) 2412801 2413937 1136 0.0
.text 2034018 2035154 1136 0.1
chip-tool debug (read only) 11081345 11082465 1120 0.0
.text 8965204 8966324 1120 0.0
chip-tool-ipv6only arm64 (read only) 10436396 10437804 1408 0.0
.text 8262340 8263748 1408 0.0
lighting-app debug+rpc (read only) 2640233 2641369 1136 0.0
.text 2236162 2237298 1136 0.1
lock-app debug (read only) 2602241 2603377 1136 0.0
.text 2186306 2187442 1136 0.1
ota-provider-app debug (read only) 2398777 2399897 1120 0.0
.text 2013330 2014450 1120 0.1
ota-requestor-app debug (read only) 2563961 2564985 1024 0.0
.text 2162370 2163394 1024 0.0
shell debug (read only) 2626433 2627985 1552 0.1
.text 2226610 2228162 1552 0.1
thermostat-no-ble arm64 (read only) 2392844 2394620 1776 0.1
.text 2005296 2007088 1792 0.1
tv-app debug (read only) 3236713 3238153 1440 0.0
.text 2775186 2776626 1440 0.1
tv-casting-app debug (read only) 5585641 5587257 1616 0.0
.text 4954226 4955842 1616 0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 text 805334 805478 144 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841952 841968 16 0.0
.debug_abbrev 1231262 1232053 791 0.1
.debug_frame 371204 371312 108 0.0
.debug_info 26899490 26918463 18973 0.1
.debug_line 3673871 3679632 5761 0.2
.debug_loc 3588816 3601512 12696 0.4
.debug_ranges 337960 339448 1488 0.4
.debug_str 3435299 3435341 42 0.0
.heap 841952 841968 16 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842688 842704 16 0.0
.debug_abbrev 1223105 1223896 791 0.1
.debug_frame 374284 374392 108 0.0
.debug_info 26636120 26655094 18974 0.1
.debug_line 3694663 3700432 5769 0.2
.debug_loc 3576453 3589149 12696 0.4
.debug_ranges 336576 338064 1488 0.4
.debug_str 3424320 3424362 42 0.0
.heap 842688 842704 16 0.0
light cy8ckit_062s2_43012 (read only) 850872 850888 16 0.0
.debug_abbrev 1057613 1058404 791 0.1
.debug_frame 344600 344708 108 0.0
.debug_info 22097474 22120543 23069 0.1
.debug_line 3264197 3270050 5853 0.2
.debug_loc 3274179 3286860 12681 0.4
.debug_ranges 301872 303360 1488 0.5
.debug_str 3229759 3229801 42 0.0
.heap 850872 850888 16 0.0
lock cy8ckit_062s2_43012 (read only) 845880 845896 16 0.0
.debug_abbrev 1059619 1060410 791 0.1
.debug_frame 346472 346580 108 0.0
.debug_info 22330841 22353910 23069 0.1
.debug_line 3261187 3267036 5849 0.2
.debug_loc 3301773 3314454 12681 0.4
.debug_ranges 303816 305304 1488 0.5
.debug_str 3249234 3249276 42 0.0
.heap 845880 845896 16 0.0
telink ota-requestor-app tlsr9518adk80d text 565286 565528 242 0.0
Decreases (39 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 16f49ea ce282f6 change % change
bl602 lighting-app bl602 (read/write) 1390518 1388806 -1712 -0.1
.bss 90745 90729 -16 -0.0
.text 1069810 1068634 -1176 -0.1
bl602+rpc (read/write) 1435974 1434262 -1712 -0.1
.bss 98177 98161 -16 -0.0
.text 1101416 1100240 -1176 -0.1
bl702 lighting-app bl702 (read/write) 1189323 1187955 -1368 -0.1
.bss 67134 67126 -8 -0.0
.debug_aranges 132040 132032 -8 -0.0
.rodata 116616 116104 -512 -0.4
.strtab 565954 565675 -279 -0.0
.symtab 171968 171952 -16 -0.0
.text 957778 956932 -846 -0.1
bl702+rpc (read/write) 1285251 1283867 -1384 -0.1
.bss 75166 75158 -8 -0.0
.debug_aranges 139544 139536 -8 -0.0
.rodata 130024 129496 -528 -0.4
.strtab 625127 624848 -279 -0.0
.symtab 189776 189760 -16 -0.0
.text 1031484 1030636 -848 -0.1
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677871 677159 -712 -0.1
.bss 81252 81236 -16 -0.0
.rodata 89887 89487 -400 -0.4
.text 587672 587360 -312 -0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 642119 641399 -720 -0.1
(read/write) 158020 158004 -16 -0.0
.bss 80524 80508 -16 -0.0
.rodata 79023 78623 -400 -0.5
.text 562776 562456 -320 -0.1
lock-ftd LP_CC2652R7 (read only) 676379 675939 -440 -0.1
.bss 78476 78460 -16 -0.0
.rodata 77411 77011 -400 -0.5
.text 598488 598448 -40 -0.0
lock-mtd LP_CC2652R7 (read only) 660167 659743 -424 -0.1
.bss 74164 74148 -16 -0.0
.rodata 103263 102863 -400 -0.4
.text 556424 556400 -24 -0.0
pump-app LP_CC2652R7 (read only) 688635 688387 -248 -0.0
.bss 78444 78428 -16 -0.0
.rodata 90859 90499 -360 -0.4
pump-controller-app LP_CC2652R7 (read only) 672911 672695 -216 -0.0
.bss 78540 78524 -16 -0.0
.rodata 86407 86047 -360 -0.4
shell LP_CC2652R7 (read only) 668890 668378 -512 -0.1
.bss 83572 83556 -16 -0.0
.rodata 86594 86234 -360 -0.4
.text 581980 581828 -152 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588542 588286 -256 -0.0
.app_xip_area 465128 464888 -240 -0.1
.bss 65832 65816 -16 -0.0
lock cyw930739m2evb_01 (read/write) 592590 592334 -256 -0.0
.app_xip_area 463880 463640 -240 -0.1
.bss 71120 71104 -16 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544482 544426 -56 -0.0
.app_xip_area 426148 426108 -40 -0.0
.bss 60800 60784 -16 -0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974732 974268 -464 -0.0
.bss 152276 152260 -16 -0.0
.text 820188 819740 -448 -0.1
BRD4161A+rs911x (read/write) 1034672 1034632 -40 -0.0
.bss 186744 186728 -16 -0.0
.text 845812 845788 -24 -0.0
BRD4187C .bss 138664 138648 -16 -0.0
lock-app BRD4161A+wf200 (read/write) 1160424 1159880 -544 -0.0
.bss 158272 158256 -16 -0.0
.text 1000032 999504 -528 -0.1
window-app BRD4187C .bss 140080 140064 -16 -0.0
esp32 all-clusters-app c3devkit (read/write) 1788470 1788454 -16 -0.0
.dram0.bss 76960 76944 -16 -0.0
m5stack (read/write) 564404 564380 -24 -0.0
.dram0.bss 82336 82320 -16 -0.0
.flash.rodata 315104 315096 -8 -0.0
k32w contact k32w0+release (read/write) 661676 661228 -448 -0.1
.bss 77040 77024 -16 -0.0
.text 563420 562988 -432 -0.1
light k32w0+release (read/write) 672008 671272 -736 -0.1
.bss 74840 74824 -16 -0.0
.text 592380 591660 -720 -0.1
lock k32w0+release (read/write) 633484 632748 -736 -0.1
.bss 75600 75584 -16 -0.0
.text 553076 552356 -720 -0.1
linux chip-tool debug (read/write) 658440 658408 -32 -0.0
.bss 25944 25912 -32 -0.1
chip-tool-ipv6only arm64 (read/write) 706465 706417 -48 -0.0
.bss 33953 33905 -48 -0.1
thermostat-no-ble arm64 (read/write) 143665 143649 -16 -0.0
.bss 55377 55361 -16 -0.0
.got 5184 5176 -8 -0.2
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452768 2452224 -544 -0.0
.bss 215028 215012 -16 -0.0
.text 1415412 1414868 -544 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1187791 -400 -0.0
bss 145301 145285 -16 -0.0
rodata 144836 144436 -400 -0.3
text 816996 816988 -8 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167139 -336 -0.0
bss 144528 144512 -16 -0.0
rodata 136576 136224 -352 -0.3
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1745940 1745876 -64 -0.0
.bss 188728 188712 -16 -0.0
.debug_aranges 110712 110704 -8 -0.0
.strtab 570460 570181 -279 -0.0
.symtab 421744 421392 -352 -0.1
.text 1546160 1546112 -48 -0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1688548 1688484 -64 -0.0
.bss 187992 187976 -16 -0.0
.debug_aranges 110184 110176 -8 -0.0
.strtab 534549 534270 -279 -0.1
.symtab 408176 407824 -352 -0.1
.text 1489504 1489456 -48 -0.0
light cy8ckit_062s2_43012 (read/write) 1607004 1606796 -208 -0.0
.bss 180016 180000 -16 -0.0
.debug_aranges 102384 102376 -8 -0.0
.strtab 470874 470595 -279 -0.1
.symtab 376560 376208 -352 -0.1
.text 1416144 1415952 -192 -0.0
lock cy8ckit_062s2_43012 (read/write) 1640780 1640588 -192 -0.0
.bss 184992 184976 -16 -0.0
.debug_aranges 102784 102776 -8 -0.0
.strtab 473277 472998 -279 -0.1
.symtab 378240 377888 -352 -0.1
.text 1444928 1444752 -176 -0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149544 -424 -0.0
.bss 110612 110596 -16 -0.0
.text 597068 596644 -424 -0.1
lock-app qpg6105+debug (read/write) 1114760 1114336 -424 -0.0
.bss 106388 106372 -16 -0.0
.text 561856 561432 -424 -0.1
telink light-switch-app tlsr9518adk80d (read/write) 790820 790284 -536 -0.1
bss 72480 72464 -16 -0.0
text 554264 554148 -116 -0.0
lighting-app tlsr9518adk80d (read/write) 806068 805524 -544 -0.1
bss 73240 73224 -16 -0.0
text 566414 566286 -128 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804776 -176 -0.0
bss 74052 74036 -16 -0.0
Full report (49 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 16f49ea ce282f6 change % change
bl602 lighting-app bl602 (read/write) 1390518 1388806 -1712 -0.1
.bss 90745 90729 -16 -0.0
.data 9936 9936 0 0.0
.text 1069810 1068634 -1176 -0.1
bl602+rpc (read/write) 1435974 1434262 -1712 -0.1
.bss 98177 98161 -16 -0.0
.data 10320 10320 0 0.0
.text 1101416 1100240 -1176 -0.1
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1189323 1187955 -1368 -0.1
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67134 67126 -8 -0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4280 0 0.0
.debug_abbrev 1509373 1510478 1105 0.1
.debug_aranges 132040 132032 -8 -0.0
.debug_frame 484428 484620 192 0.0
.debug_info 37964827 37981461 16634 0.0
.debug_line 5257208 5264351 7143 0.1
.debug_loc 3366388 3372456 6068 0.2
.debug_ranges 358064 359680 1616 0.5
.debug_str 3451542 3451640 98 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116616 116104 -512 -0.4
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565954 565675 -279 -0.0
.symtab 171968 171952 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957778 956932 -846 -0.1
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1285251 1283867 -1384 -0.1
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75158 -8 -0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4816 4816 0 0.0
.debug_abbrev 1646772 1647897 1125 0.1
.debug_aranges 139544 139536 -8 -0.0
.debug_frame 509800 509992 192 0.0
.debug_info 41877795 41895675 17880 0.0
.debug_line 5632788 5640344 7556 0.1
.debug_loc 3559215 3565283 6068 0.2
.debug_ranges 380864 382480 1616 0.4
.debug_str 3847670 3847768 98 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130024 129496 -528 -0.4
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 625127 624848 -279 -0.0
.symtab 189776 189760 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1031484 1030636 -848 -0.1
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677871 677159 -712 -0.1
(read/write) 173688 174384 696 0.4
.bss 81252 81236 -16 -0.0
.data 3380 3380 0 0.0
.rodata 89887 89487 -400 -0.4
.text 587672 587360 -312 -0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 642119 641399 -720 -0.1
(read/write) 158020 158004 -16 -0.0
.bss 80524 80508 -16 -0.0
.data 3380 3380 0 0.0
.rodata 79023 78623 -400 -0.5
.text 562776 562456 -320 -0.1
lock-ftd LP_CC2652R7 (read only) 676379 675939 -440 -0.1
(read/write) 172316 172740 424 0.2
.bss 78476 78460 -16 -0.0
.data 3304 3304 0 0.0
.rodata 77411 77011 -400 -0.5
.text 598488 598448 -40 -0.0
lock-mtd LP_CC2652R7 (read only) 660167 659743 -424 -0.1
(read/write) 184216 184624 408 0.2
.bss 74164 74148 -16 -0.0
.data 3304 3304 0 0.0
.rodata 103263 102863 -400 -0.4
.text 556424 556400 -24 -0.0
pump-app LP_CC2652R7 (read only) 688635 688387 -248 -0.0
(read/write) 160796 161028 232 0.1
.bss 78444 78428 -16 -0.0
.data 3296 3296 0 0.0
.rodata 90859 90499 -360 -0.4
.text 597292 597404 112 0.0
pump-controller-app LP_CC2652R7 (read only) 672911 672695 -216 -0.0
(read/write) 176616 176816 200 0.1
.bss 78540 78524 -16 -0.0
.data 3292 3292 0 0.0
.rodata 86407 86047 -360 -0.4
.text 586024 586168 144 0.0
shell LP_CC2652R7 (read only) 668890 668378 -512 -0.1
(read/write) 184988 185484 496 0.3
.bss 83572 83556 -16 -0.0
.data 3376 3376 0 0.0
.rodata 86594 86234 -360 -0.4
.text 581980 581828 -152 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588542 588286 -256 -0.0
.app_xip_area 465128 464888 -240 -0.1
.bss 65832 65816 -16 -0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592590 592334 -256 -0.0
.app_xip_area 463880 463640 -240 -0.1
.bss 71120 71104 -16 -0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544482 544426 -56 -0.0
.app_xip_area 426148 426108 -40 -0.0
.bss 60800 60784 -16 -0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974732 974268 -464 -0.0
.bss 152276 152260 -16 -0.0
.data 2248 2248 0 0.0
.text 820188 819740 -448 -0.1
BRD4161A+rs911x (read/write) 1034672 1034632 -40 -0.0
.bss 186744 186728 -16 -0.0
.data 2092 2092 0 0.0
.text 845812 845788 -24 -0.0
BRD4187C (read/write) 1146720 1146736 16 0.0
.bss 138664 138648 -16 -0.0
.data 2596 2596 0 0.0
.text 980864 980896 32 0.0
lock-app BRD4161A+wf200 (read/write) 1160424 1159880 -544 -0.0
.bss 158272 158256 -16 -0.0
.data 2100 2100 0 0.0
.text 1000032 999504 -528 -0.1
window-app BRD4187C (read/write) 1139940 1139956 16 0.0
.bss 140080 140064 -16 -0.0
.data 2620 2620 0 0.0
.text 972644 972676 32 0.0
esp32 all-clusters-app c3devkit (read only) 1223970 1224082 112 0.0
(read/write) 1788470 1788454 -16 -0.0
.dram0.bss 76960 76944 -16 -0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 258024 258024 0 0.0
.flash.text 1223970 1224082 112 0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1234039 1234179 140 0.0
(read/write) 564404 564380 -24 -0.0
.dram0.bss 82336 82320 -16 -0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 315104 315096 -8 -0.0
.flash.text 1228655 1228795 140 0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 661676 661228 -448 -0.1
.bss 77040 77024 -16 -0.0
.data 2104 2104 0 0.0
.text 563420 562988 -432 -0.1
light k32w0+release (read/write) 672008 671272 -736 -0.1
.bss 74840 74824 -16 -0.0
.data 2060 2060 0 0.0
.text 592380 591660 -720 -0.1
lock k32w0+release (read/write) 633484 632748 -736 -0.1
.bss 75600 75584 -16 -0.0
.data 2080 2080 0 0.0
.text 553076 552356 -720 -0.1
linux all-clusters-app debug (read only) 3086657 3088257 1600 0.1
(read/write) 158360 158360 0 0.0
.bss 62464 62464 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 87016 87016 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1200 1200 0 0.0
.rodata 281419 281419 0 0.0
.text 2620850 2622450 1600 0.1
all-clusters-minimal-app debug (read only) 2912449 2914049 1600 0.1
(read/write) 149792 149792 0 0.0
.bss 61664 61664 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 79384 79384 0 0.0
.dynamic 608 608 0 0.0
.got 4696 4696 0 0.0
.init 27 27 0 0.0
.init_array 1176 1176 0 0.0
.rodata 280907 280907 0 0.0
.text 2450098 2451698 1600 0.1
bridge-app debug+rpc (read only) 2412801 2413937 1136 0.0
(read/write) 129560 129560 0 0.0
.bss 51008 51008 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 68680 68680 0 0.0
.dynamic 608 608 0 0.0
.got 4600 4600 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 211232 211232 0 0.0
.text 2034018 2035154 1136 0.1
chip-tool debug (read only) 11081345 11082465 1120 0.0
(read/write) 658440 658408 -32 -0.0
.bss 25944 25912 -32 -0.1
.data 2754 2754 0 0.0
.data.rel.ro 623080 623080 0 0.0
.dynamic 608 608 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 592221 592221 0 0.0
.text 8965204 8966324 1120 0.0
chip-tool-ipv6only arm64 (read only) 10436396 10437804 1408 0.0
(read/write) 706465 706417 -48 -0.0
.bss 33953 33905 -48 -0.1
.data 2768 2768 0 0.0
.data.rel.ro 650720 650720 0 0.0
.dynamic 560 560 0 0.0
.got 13928 13928 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518220 518220 0 0.0
.text 8262340 8263748 1408 0.0
lighting-app debug+rpc (read only) 2640233 2641369 1136 0.0
(read/write) 132248 132248 0 0.0
.bss 49984 49984 0 0.0
.data 2288 2288 0 0.0
.data.rel.ro 73800 73800 0 0.0
.dynamic 608 608 0 0.0
.got 4600 4600 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 228096 228096 0 0.0
.text 2236162 2237298 1136 0.1
lock-app debug (read only) 2602241 2603377 1136 0.0
(read/write) 127296 127296 0 0.0
.bss 48416 48416 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 70728 70728 0 0.0
.dynamic 608 608 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 244328 244328 0 0.0
.text 2186306 2187442 1136 0.1
ota-provider-app debug (read only) 2398777 2399897 1120 0.0
(read/write) 120824 120824 0 0.0
.bss 47936 47936 0 0.0
.data 2128 2128 0 0.0
.data.rel.ro 64648 64648 0 0.0
.dynamic 608 608 0 0.0
.got 4696 4696 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 216904 216904 0 0.0
.text 2013330 2014450 1120 0.1
ota-requestor-app debug (read only) 2563961 2564985 1024 0.0
(read/write) 129136 129136 0 0.0
.bss 50464 50464 0 0.0
.data 2496 2496 0 0.0
.data.rel.ro 69992 69992 0 0.0
.dynamic 608 608 0 0.0
.got 4688 4688 0 0.0
.init 27 27 0 0.0
.init_array 872 872 0 0.0
.rodata 223952 223952 0 0.0
.text 2162370 2163394 1024 0.0
shell debug (read only) 2626433 2627985 1552 0.1
(read/write) 143016 143016 0 0.0
.bss 57864 57864 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 78064 78064 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 240178 240178 0 0.0
.text 2226610 2228162 1552 0.1
thermostat-no-ble arm64 (read only) 2392844 2394620 1776 0.1
(read/write) 143665 143649 -16 -0.0
.bss 55377 55361 -16 -0.0
.data 1816 1816 0 0.0
.data.rel.ro 77280 77280 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5176 -8 -0.2
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144548 144548 0 0.0
.text 2005296 2007088 1792 0.1
tv-app debug (read only) 3236713 3238153 1440 0.0
(read/write) 261752 261752 0 0.0
.bss 170552 170552 0 0.0
.data 4256 4256 0 0.0
.data.rel.ro 80272 80272 0 0.0
.dynamic 608 608 0 0.0
.got 4976 4976 0 0.0
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 268184 268184 0 0.0
.text 2775186 2776626 1440 0.1
tv-casting-app debug (read only) 5585641 5587257 1616 0.0
(read/write) 161896 161896 0 0.0
.bss 52120 52120 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 101224 101224 0 0.0
.dynamic 608 608 0 0.0
.got 4896 4896 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 355961 355961 0 0.0
.text 4954226 4955842 1616 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452768 2452224 -544 -0.0
.bss 215028 215012 -16 -0.0
.data 5872 5872 0 0.0
.text 1415412 1414868 -544 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1187791 -400 -0.0
bss 145301 145285 -16 -0.0
rodata 144836 144436 -400 -0.3
text 816996 816988 -8 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167139 -336 -0.0
bss 144528 144512 -16 -0.0
rodata 136576 136224 -352 -0.3
text 805334 805478 144 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841952 841968 16 0.0
(read/write) 1745940 1745876 -64 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188728 188712 -16 -0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1231262 1232053 791 0.1
.debug_aranges 110712 110704 -8 -0.0
.debug_frame 371204 371312 108 0.0
.debug_info 26899490 26918463 18973 0.1
.debug_line 3673871 3679632 5761 0.2
.debug_loc 3588816 3601512 12696 0.4
.debug_ranges 337960 339448 1488 0.4
.debug_str 3435299 3435341 42 0.0
.heap 841952 841968 16 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 570460 570181 -279 -0.0
.symtab 421744 421392 -352 -0.1
.text 1546160 1546112 -48 -0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842688 842704 16 0.0
(read/write) 1688548 1688484 -64 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187992 187976 -16 -0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1223105 1223896 791 0.1
.debug_aranges 110184 110176 -8 -0.0
.debug_frame 374284 374392 108 0.0
.debug_info 26636120 26655094 18974 0.1
.debug_line 3694663 3700432 5769 0.2
.debug_loc 3576453 3589149 12696 0.4
.debug_ranges 336576 338064 1488 0.4
.debug_str 3424320 3424362 42 0.0
.heap 842688 842704 16 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 534549 534270 -279 -0.1
.symtab 408176 407824 -352 -0.1
.text 1489504 1489456 -48 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850872 850888 16 0.0
(read/write) 1607004 1606796 -208 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180016 180000 -16 -0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2456 2456 0 0.0
.debug_abbrev 1057613 1058404 791 0.1
.debug_aranges 102384 102376 -8 -0.0
.debug_frame 344600 344708 108 0.0
.debug_info 22097474 22120543 23069 0.1
.debug_line 3264197 3270050 5853 0.2
.debug_loc 3274179 3286860 12681 0.4
.debug_ranges 301872 303360 1488 0.5
.debug_str 3229759 3229801 42 0.0
.heap 850872 850888 16 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 470874 470595 -279 -0.1
.symtab 376560 376208 -352 -0.1
.text 1416144 1415952 -192 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845880 845896 16 0.0
(read/write) 1640780 1640588 -192 -0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184992 184976 -16 -0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1059619 1060410 791 0.1
.debug_aranges 102784 102776 -8 -0.0
.debug_frame 346472 346580 108 0.0
.debug_info 22330841 22353910 23069 0.1
.debug_line 3261187 3267036 5849 0.2
.debug_loc 3301773 3314454 12681 0.4
.debug_ranges 303816 305304 1488 0.5
.debug_str 3249234 3249276 42 0.0
.heap 845880 845896 16 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473277 472998 -279 -0.1
.symtab 378240 377888 -352 -0.1
.text 1444928 1444752 -176 -0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149544 -424 -0.0
.bss 110612 110596 -16 -0.0
.data 848 848 0 0.0
.text 597068 596644 -424 -0.1
lock-app qpg6105+debug (read/write) 1114760 1114336 -424 -0.0
.bss 106388 106372 -16 -0.0
.data 836 836 0 0.0
.text 561856 561432 -424 -0.1
telink light-switch-app tlsr9518adk80d (read/write) 790820 790284 -536 -0.1
bss 72480 72464 -16 -0.0
noinit 43520 43520 0 0.0
text 554264 554148 -116 -0.0
lighting-app tlsr9518adk80d (read/write) 806068 805524 -544 -0.1
bss 73240 73224 -16 -0.0
noinit 43520 43520 0 0.0
text 566414 566286 -128 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804776 -176 -0.0
bss 74052 74036 -16 -0.0
noinit 43520 43520 0 0.0
text 565286 565528 242 0.0

@github-actions
Copy link

github-actions bot commented Nov 3, 2022

PR #23422: Size comparison from 5bf3e3f to b6ea150

Increases above 0.2%:

platform target config section 5bf3e3f b6ea150 change % change
bl702 lighting-app bl702 .debug_ranges 358120 359736 1616 0.5
bl702+rpc .debug_ranges 380920 382536 1616 0.4
Increases (7 builds for bl702, linux, nrfconnect, telink)
platform target config section 5bf3e3f b6ea150 change % change
bl702 lighting-app bl702 .debug_abbrev 1513290 1514395 1105 0.1
.debug_frame 484452 484644 192 0.0
.debug_info 38070160 38086791 16631 0.0
.debug_line 5263845 5270994 7149 0.1
.debug_loc 3366772 3372840 6068 0.2
.debug_ranges 358120 359736 1616 0.5
.debug_str 3451668 3451850 182 0.0
bl702+rpc .debug_abbrev 1650704 1651829 1125 0.1
.debug_frame 509824 510016 192 0.0
.debug_info 41986266 42004145 17879 0.0
.debug_line 5639579 5647141 7562 0.1
.debug_loc 3559599 3565667 6068 0.2
.debug_ranges 380920 382536 1616 0.4
.debug_str 3847796 3847978 182 0.0
linux chip-tool-ipv6only arm64 (read only) 10436348 10437756 1408 0.0
.text 8262292 8263700 1408 0.0
thermostat-no-ble arm64 (read only) 2392844 2394620 1776 0.1
.text 2005296 2007088 1792 0.1
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 text 805334 805478 144 0.0
telink all-clusters-minimal-app tlsr9518adk80d text 612608 612620 12 0.0
ota-requestor-app tlsr9518adk80d text 565286 565530 244 0.0
Decreases (16 builds for bl702, k32w, linux, nrfconnect, qpg, telink)
platform target config section 5bf3e3f b6ea150 change % change
bl702 lighting-app bl702 (read/write) 1189595 1188227 -1368 -0.1
.bss 67134 67126 -8 -0.0
.debug_aranges 132064 132056 -8 -0.0
.rodata 116680 116168 -512 -0.4
.strtab 566021 565774 -247 -0.0
.symtab 172000 171984 -16 -0.0
.text 958000 957148 -852 -0.1
bl702+rpc (read/write) 1285539 1284155 -1384 -0.1
.bss 75166 75158 -8 -0.0
.debug_aranges 139568 139560 -8 -0.0
.rodata 130088 129560 -528 -0.4
.strtab 625194 624947 -247 -0.0
.symtab 189808 189792 -16 -0.0
.text 1031704 1030854 -850 -0.1
k32w contact k32w0+release (read/write) 661676 661228 -448 -0.1
.bss 77040 77024 -16 -0.0
.text 563420 562988 -432 -0.1
light k32w0+release (read/write) 672008 671272 -736 -0.1
.bss 74840 74824 -16 -0.0
.text 592380 591660 -720 -0.1
lock k32w0+release (read/write) 633468 632748 -720 -0.1
.bss 75600 75584 -16 -0.0
.text 553060 552356 -704 -0.1
linux chip-tool-ipv6only arm64 (read/write) 706465 706417 -48 -0.0
.bss 33953 33905 -48 -0.1
thermostat-no-ble arm64 (read/write) 143665 143649 -16 -0.0
.bss 55377 55361 -16 -0.0
.got 5184 5176 -8 -0.2
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1187791 -400 -0.0
bss 145301 145285 -16 -0.0
rodata 144836 144436 -400 -0.3
text 816996 816988 -8 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167139 -336 -0.0
bss 144528 144512 -16 -0.0
rodata 136576 136224 -352 -0.3
qpg lighting-app qpg6105+debug (read/write) 1149968 1149544 -424 -0.0
.bss 110612 110596 -16 -0.0
.text 597068 596644 -424 -0.1
lock-app qpg6105+debug (read/write) 1114760 1114328 -432 -0.0
.bss 106388 106372 -16 -0.0
.text 561856 561424 -432 -0.1
telink all-clusters-app tlsr9518adk80d (read/write) 937348 936812 -536 -0.1
bss 81632 81616 -16 -0.0
text 648768 648650 -118 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875156 874788 -368 -0.0
bss 80856 80840 -16 -0.0
light-switch-app tlsr9518adk80d (read/write) 790820 790284 -536 -0.1
bss 72480 72464 -16 -0.0
text 554266 554148 -118 -0.0
lighting-app tlsr9518adk80d (read/write) 875052 874508 -544 -0.1
bss 82248 82232 -16 -0.0
text 624254 624126 -128 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804784 -168 -0.0
bss 74052 74036 -16 -0.0
Full report (16 builds for bl702, k32w, linux, nrfconnect, qpg, telink)
platform target config section 5bf3e3f b6ea150 change % change
bl702 lighting-app bl702 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1189595 1188227 -1368 -0.1
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67134 67126 -8 -0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4280 4280 0 0.0
.debug_abbrev 1513290 1514395 1105 0.1
.debug_aranges 132064 132056 -8 -0.0
.debug_frame 484452 484644 192 0.0
.debug_info 38070160 38086791 16631 0.0
.debug_line 5263845 5270994 7149 0.1
.debug_loc 3366772 3372840 6068 0.2
.debug_ranges 358120 359736 1616 0.5
.debug_str 3451668 3451850 182 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116680 116168 -512 -0.4
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 566021 565774 -247 -0.0
.symtab 172000 171984 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 958000 957148 -852 -0.1
bl702+rpc 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1285539 1284155 -1384 -0.1
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75158 -8 -0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4816 4816 0 0.0
.debug_abbrev 1650704 1651829 1125 0.1
.debug_aranges 139568 139560 -8 -0.0
.debug_frame 509824 510016 192 0.0
.debug_info 41986266 42004145 17879 0.0
.debug_line 5639579 5647141 7562 0.1
.debug_loc 3559599 3565667 6068 0.2
.debug_ranges 380920 382536 1616 0.4
.debug_str 3847796 3847978 182 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130088 129560 -528 -0.4
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 625194 624947 -247 -0.0
.symtab 189808 189792 -16 -0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 1031704 1030854 -850 -0.1
k32w contact k32w0+release (read/write) 661676 661228 -448 -0.1
.bss 77040 77024 -16 -0.0
.data 2104 2104 0 0.0
.text 563420 562988 -432 -0.1
light k32w0+release (read/write) 672008 671272 -736 -0.1
.bss 74840 74824 -16 -0.0
.data 2060 2060 0 0.0
.text 592380 591660 -720 -0.1
lock k32w0+release (read/write) 633468 632748 -720 -0.1
.bss 75600 75584 -16 -0.0
.data 2080 2080 0 0.0
.text 553060 552356 -704 -0.1
linux chip-tool-ipv6only arm64 (read only) 10436348 10437756 1408 0.0
(read/write) 706465 706417 -48 -0.0
.bss 33953 33905 -48 -0.1
.data 2768 2768 0 0.0
.data.rel.ro 650720 650720 0 0.0
.dynamic 560 560 0 0.0
.got 13928 13928 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518220 518220 0 0.0
.text 8262292 8263700 1408 0.0
thermostat-no-ble arm64 (read only) 2392844 2394620 1776 0.1
(read/write) 143665 143649 -16 -0.0
.bss 55377 55361 -16 -0.0
.data 1816 1816 0 0.0
.data.rel.ro 77280 77280 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5176 -8 -0.2
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144548 144548 0 0.0
.text 2005296 2007088 1792 0.1
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1188191 1187791 -400 -0.0
bss 145301 145285 -16 -0.0
rodata 144836 144436 -400 -0.3
text 816996 816988 -8 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1167475 1167139 -336 -0.0
bss 144528 144512 -16 -0.0
rodata 136576 136224 -352 -0.3
text 805334 805478 144 0.0
qpg lighting-app qpg6105+debug (read/write) 1149968 1149544 -424 -0.0
.bss 110612 110596 -16 -0.0
.data 848 848 0 0.0
.text 597068 596644 -424 -0.1
lock-app qpg6105+debug (read/write) 1114760 1114328 -432 -0.0
.bss 106388 106372 -16 -0.0
.data 836 836 0 0.0
.text 561856 561424 -432 -0.1
telink all-clusters-app tlsr9518adk80d (read/write) 937348 936812 -536 -0.1
bss 81632 81616 -16 -0.0
noinit 43440 43440 0 0.0
text 648768 648650 -118 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 875156 874788 -368 -0.0
bss 80856 80840 -16 -0.0
noinit 43440 43440 0 0.0
text 612608 612620 12 0.0
light-switch-app tlsr9518adk80d (read/write) 790820 790284 -536 -0.1
bss 72480 72464 -16 -0.0
noinit 43520 43520 0 0.0
text 554266 554148 -118 -0.0
lighting-app tlsr9518adk80d (read/write) 875052 874508 -544 -0.1
bss 82248 82232 -16 -0.0
noinit 43520 43520 0 0.0
text 624254 624126 -128 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 804952 804784 -168 -0.0
bss 74052 74036 -16 -0.0
noinit 43520 43520 0 0.0
text 565286 565530 244 0.0

@andy31415 andy31415 merged commit 59aa6b7 into project-chip:master Nov 3, 2022
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…-chip#23422)

* Separate out key allocation from storage keys. Make storage keys generally const-safe and immutable

* Convert a lot of usage of default storage key allocator into using the new format. Persisted counter is the only one remaining

* Fix some compilations

* More compile fixes. Minmdns compiles

* Restyle

* Fix binding table test to compile

* One more compile fix for tests

* ran `rg '\WStorageKey\W' | grep -v third_party/ | cut -f1 -d: | uniq | xargs sd '(\W)StorageKey(\W)' '${1}StorageKeyName${2}'\`

* Restyle

* Also update StorageKey at the beginning of the line
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…-chip#23422)

* Separate out key allocation from storage keys. Make storage keys generally const-safe and immutable

* Convert a lot of usage of default storage key allocator into using the new format. Persisted counter is the only one remaining

* Fix some compilations

* More compile fixes. Minmdns compiles

* Restyle

* Fix binding table test to compile

* One more compile fix for tests

* ran `rg '\WStorageKey\W' | grep -v third_party/ | cut -f1 -d: | uniq | xargs sd '(\W)StorageKey(\W)' '${1}StorageKeyName${2}'\`

* Restyle

* Also update StorageKey at the beginning of the line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants