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

Assert that holders are added to sessions only with the Matter lock held. #20180

Merged

Conversation

bzbarsky-apple
Copy link
Contributor

Adding/removing holders manipulates circular lists, and if we end up with data
races on these manipulations we can end up in bad states. Since sessions are
somewhat singleton resources, and the "hold on to a session" operation is pretty
hidden in many cases, it's easy to end up with a situation where a session is
being pointed to by objects being manipulated on multiple threads and hard to
catch this via manual code inspection.

Problem

See above.

Change overview

Add asserts.

Testing

CI should tell.

@github-actions
Copy link

github-actions bot commented Jun 30, 2022

PR #20180: Size comparison from d6c3519 to 04728aa

Increases (29 builds for cc13x2_26x2, efr32, esp32, k32w, linux, p6, telink)
platform target config section d6c3519 04728aa change % change
cc13x2_26x2 pump-controller-app LP_CC2652R7 (read/write) 179288 179296 8 0.0
efr32 lighting-app BRD4161A (read/write) 1080092 1080212 120 0.0
.text 945028 945148 120 0.0
BRD4161A+rpc (read/write) 1134388 1134492 104 0.0
.text 982432 982536 104 0.0
BRD4161A+rs911x (read/write) 942556 942660 104 0.0
.text 801776 801880 104 0.0
lock-app BRD4161A+wf200 (read/write) 1119568 1119688 120 0.0
.text 978344 978464 120 0.0
window-app BRD4161A (read/write) 1065324 1065444 120 0.0
.text 930148 930268 120 0.0
esp32 all-clusters-app c3devkit (read only) 1018490 1018526 36 0.0
(read/write) 1484882 1484970 88 0.0
.flash.rodata 214784 214872 88 0.0
.flash.text 1018490 1018526 36 0.0
m5stack (read only) 1072583 1072607 24 0.0
(read/write) 486984 487064 80 0.0
.flash.rodata 245244 245324 80 0.0
.flash.text 1067199 1067223 24 0.0
k32w light k32w061+release (read/write) 658040 658168 128 0.0
.text 580732 580860 128 0.0
lock k32w061+release (read/write) 684524 684636 112 0.0
.text 606740 606852 112 0.0
linux all-clusters-app debug .text 2514018 2514050 32 0.0
all-clusters-minimal-app debug .text 2368642 2368674 32 0.0
bridge-app debug+rpc (read only) 2311801 2311833 32 0.0
.text 1952418 1952450 32 0.0
chip-tool debug (read only) 10161437 10161469 32 0.0
.text 8252293 8252325 32 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9893332 9893364 32 0.0
.text 7890212 7890244 32 0.0
lighting-app debug+rpc (read only) 2547705 2547737 32 0.0
.text 2164210 2164242 32 0.0
lock-app debug (read only) 2509537 2509569 32 0.0
.text 2116242 2116274 32 0.0
ota-provider-app debug (read only) 2318625 2318657 32 0.0
.text 1952610 1952642 32 0.0
ota-requestor-app debug (read only) 2435809 2435841 32 0.0
.text 2057378 2057410 32 0.0
shell debug (read only) 2543921 2543953 32 0.0
.text 2160386 2160418 32 0.0
thermostat-no-ble arm64 (read only) 2591604 2591636 32 0.0
.text 2186624 2186656 32 0.0
tv-app debug (read only) 3098121 3098153 32 0.0
.text 2661266 2661298 32 0.0
tv-casting-app debug (read only) 5555481 5555513 32 0.0
.text 4935490 4935522 32 0.0
p6 all-clusters-app default (read/write) 2562688 2562792 104 0.0
.text 1520952 1521056 104 0.0
all-clusters-minimal-app default (read/write) 2508552 2508664 112 0.0
.text 1466816 1466928 112 0.0
light-app default (read/write) 2439048 2439160 112 0.0
.text 1397312 1397424 112 0.0
lock-app default (read/write) 2465328 2465440 112 0.0
.text 1423592 1423704 112 0.0
telink light-switch-app tlsr9518adk80d (read/write) 796292 796300 8 0.0
text 564816 564818 2 0.0
lighting-app tlsr9518adk80d text 581170 581172 2 0.0
Decreases (4 builds for cc13x2_26x2, linux, nrfconnect)
platform target config section d6c3519 04728aa change % change
cc13x2_26x2 pump-controller-app LP_CC2652R7 (read only) 663047 663039 -8 -0.0
.text 578296 578288 -8 -0.0
linux all-clusters-app debug .rodata 263133 263101 -32 -0.0
all-clusters-minimal-app debug .rodata 264797 264765 -32 -0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 text 799488 799484 -4 -0.0
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section d6c3519 04728aa change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 665171 665171 0 0.0
(read/write) 186052 186052 0 0.0
.bss 74116 74116 0 0.0
.data 3356 3356 0 0.0
.rodata 88091 88091 0 0.0
.text 576764 576764 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 653947 653947 0 0.0
(read/write) 196572 196572 0 0.0
.bss 73412 73412 0 0.0
.data 3356 3356 0 0.0
.rodata 91571 91571 0 0.0
.text 562060 562060 0 0.0
lock-ftd LP_CC2652R7 (read only) 667759 667759 0 0.0
(read/write) 173608 173608 0 0.0
.bss 71148 71148 0 0.0
.data 3280 3280 0 0.0
.rodata 76191 76191 0 0.0
.text 591088 591088 0 0.0
lock-mtd LP_CC2652R7 (read only) 617175 617175 0 0.0
(read/write) 144264 144264 0 0.0
.bss 66868 66868 0 0.0
.data 3280 3280 0 0.0
.rodata 76071 76071 0 0.0
.text 540616 540616 0 0.0
pump-app LP_CC2652R7 (read only) 677207 677207 0 0.0
(read/write) 165008 165008 0 0.0
.bss 71228 71228 0 0.0
.data 3280 3280 0 0.0
.rodata 88423 88423 0 0.0
.text 588300 588300 0 0.0
pump-controller-app LP_CC2652R7 (read only) 663047 663039 -8 -0.0
(read/write) 179288 179296 8 0.0
.bss 71348 71348 0 0.0
.data 3276 3276 0 0.0
.rodata 84271 84271 0 0.0
.text 578296 578288 -8 -0.0
shell LP_CC2652R7 (read only) 657622 657622 0 0.0
(read/write) 189104 189104 0 0.0
.bss 76420 76420 0 0.0
.data 3360 3360 0 0.0
.rodata 84838 84838 0 0.0
.text 572468 572468 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 578662 578662 0 0.0
.app_xip_area 457440 457440 0 0.0
.bss 64184 64184 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 580238 580238 0 0.0
.app_xip_area 458824 458824 0 0.0
.bss 64376 64376 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 581734 581734 0 0.0
.app_xip_area 461360 461360 0 0.0
.bss 63392 63392 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1080092 1080212 120 0.0
.bss 132996 132996 0 0.0
.data 2048 2048 0 0.0
.text 945028 945148 120 0.0
BRD4161A+rpc (read/write) 1134388 1134492 104 0.0
.bss 149676 149676 0 0.0
.data 2260 2260 0 0.0
.text 982432 982536 104 0.0
BRD4161A+rs911x (read/write) 942556 942660 104 0.0
.bss 138712 138712 0 0.0
.data 2048 2048 0 0.0
.text 801776 801880 104 0.0
lock-app BRD4161A+wf200 (read/write) 1119568 1119688 120 0.0
.bss 139144 139144 0 0.0
.data 2060 2060 0 0.0
.text 978344 978464 120 0.0
window-app BRD4161A (read/write) 1065324 1065444 120 0.0
.bss 133076 133076 0 0.0
.data 2076 2076 0 0.0
.text 930148 930268 120 0.0
esp32 all-clusters-app c3devkit (read only) 1018490 1018526 36 0.0
(read/write) 1484882 1484970 88 0.0
.dram0.bss 70080 70080 0 0.0
.dram0.data 14592 14592 0 0.0
.flash.rodata 214784 214872 88 0.0
.flash.text 1018490 1018526 36 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1072583 1072607 24 0.0
(read/write) 486984 487064 80 0.0
.dram0.bss 75600 75600 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 245244 245324 80 0.0
.flash.text 1067199 1067223 24 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 658040 658168 128 0.0
.bss 69516 69516 0 0.0
.data 1992 1992 0 0.0
.text 580732 580860 128 0.0
lock k32w061+release (read/write) 684524 684636 112 0.0
.bss 69980 69980 0 0.0
.data 2004 2004 0 0.0
.text 606740 606852 112 0.0
linux all-clusters-app debug (read only) 2954289 2954289 0 0.0
(read/write) 154744 154744 0 0.0
.bss 61536 61536 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 84952 84952 0 0.0
.dynamic 608 608 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 263133 263101 -32 -0.0
.text 2514018 2514050 32 0.0
all-clusters-minimal-app debug (read only) 2808401 2808401 0 0.0
(read/write) 146648 146648 0 0.0
.bss 60864 60864 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 77592 77592 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 264797 264765 -32 -0.0
.text 2368642 2368674 32 0.0
bridge-app debug+rpc (read only) 2311801 2311833 32 0.0
(read/write) 125472 125472 0 0.0
.bss 48928 48928 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 66968 66968 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 197696 197696 0 0.0
.text 1952418 1952450 32 0.0
chip-tool debug (read only) 10161437 10161469 32 0.0
(read/write) 607016 607016 0 0.0
.bss 24384 24384 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 575248 575248 0 0.0
.dynamic 624 624 0 0.0
.got 5016 5016 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 509317 509317 0 0.0
.text 8252293 8252325 32 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9893332 9893364 32 0.0
(read/write) 671793 671793 0 0.0
.bss 42609 42609 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 610816 610816 0 0.0
.dynamic 528 528 0 0.0
.got 13408 13408 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 472548 472548 0 0.0
.text 7890212 7890244 32 0.0
lighting-app debug+rpc (read only) 2547705 2547737 32 0.0
(read/write) 129496 129496 0 0.0
.bss 49440 49440 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72104 72104 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 213576 213576 0 0.0
.text 2164210 2164242 32 0.0
lock-app debug (read only) 2509537 2509569 32 0.0
(read/write) 124472 124472 0 0.0
.bss 47840 47840 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69080 69080 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 228200 228200 0 0.0
.text 2116242 2116274 32 0.0
ota-provider-app debug (read only) 2318625 2318657 32 0.0
(read/write) 118312 118312 0 0.0
.bss 47488 47488 0 0.0
.data 1944 1944 0 0.0
.data.rel.ro 63080 63080 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 203288 203288 0 0.0
.text 1952610 1952642 32 0.0
ota-requestor-app debug (read only) 2435809 2435841 32 0.0
(read/write) 125216 125216 0 0.0
.bss 49856 49856 0 0.0
.data 2232 2232 0 0.0
.data.rel.ro 67272 67272 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 207328 207328 0 0.0
.text 2057378 2057410 32 0.0
shell debug (read only) 2543921 2543953 32 0.0
(read/write) 141032 141032 0 0.0
.bss 57448 57448 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76672 76672 0 0.0
.dynamic 608 608 0 0.0
.got 4096 4096 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 227218 227218 0 0.0
.text 2160386 2160418 32 0.0
thermostat-no-ble arm64 (read only) 2591604 2591636 32 0.0
(read/write) 158273 158273 0 0.0
.bss 65249 65249 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 83232 83232 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165236 165236 0 0.0
.text 2186624 2186656 32 0.0
tv-app debug (read only) 3098121 3098153 32 0.0
(read/write) 257672 257672 0 0.0
.bss 167016 167016 0 0.0
.data 4848 4848 0 0.0
.data.rel.ro 79360 79360 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 249024 249024 0 0.0
.text 2661266 2661298 32 0.0
tv-casting-app debug (read only) 5555481 5555513 32 0.0
(read/write) 161680 161680 0 0.0
.bss 50248 50248 0 0.0
.data 2416 2416 0 0.0
.data.rel.ro 102792 102792 0 0.0
.dynamic 608 608 0 0.0
.got 4720 4720 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 343113 343113 0 0.0
.text 4935490 4935522 32 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2447080 2447080 0 0.0
.bss 213940 213940 0 0.0
.data 5872 5872 0 0.0
.text 1409724 1409724 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172931 1172931 0 0.0
bss 142884 142884 0 0.0
rodata 141348 141348 0 0.0
text 809780 809780 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1153783 1153783 0 0.0
bss 142120 142120 0 0.0
rodata 133280 133280 0 0.0
text 799488 799484 -4 -0.0
p6 all-clusters-app default (read/write) 2562688 2562792 104 0.0
.bss 149120 149120 0 0.0
.data 2776 2776 0 0.0
.text 1520952 1521056 104 0.0
all-clusters-minimal-app default (read/write) 2508552 2508664 112 0.0
.bss 148400 148400 0 0.0
.data 2776 2776 0 0.0
.text 1466816 1466928 112 0.0
light-app default (read/write) 2439048 2439160 112 0.0
.bss 140456 140456 0 0.0
.data 2592 2592 0 0.0
.text 1397312 1397424 112 0.0
lock-app default (read/write) 2465328 2465440 112 0.0
.bss 140304 140304 0 0.0
.data 2600 2600 0 0.0
.text 1423592 1423704 112 0.0
telink light-switch-app tlsr9518adk80d (read/write) 796292 796300 8 0.0
bss 70560 70560 0 0.0
noinit 40416 40416 0 0.0
text 564816 564818 2 0.0
lighting-app tlsr9518adk80d (read/write) 816160 816160 0 0.0
bss 71404 71404 0 0.0
noinit 40416 40416 0 0.0
text 581170 581172 2 0.0

@bzbarsky-apple bzbarsky-apple force-pushed the session-threading-asserts branch from 04728aa to 390c22c Compare July 1, 2022 01:05
@github-actions
Copy link

github-actions bot commented Jul 1, 2022

PR #20180: Size comparison from c1d5431 to 390c22c

Increases (26 builds for efr32, esp32, k32w, linux, nrfconnect, p6)
platform target config section c1d5431 390c22c change % change
efr32 lighting-app BRD4161A (read/write) 1080092 1080212 120 0.0
.text 945028 945148 120 0.0
BRD4161A+rpc (read/write) 1134420 1134540 120 0.0
.text 982464 982584 120 0.0
BRD4161A+rs911x (read/write) 945508 945628 120 0.0
.text 802680 802800 120 0.0
lock-app BRD4161A+wf200 (read/write) 1126448 1126568 120 0.0
.text 980188 980308 120 0.0
window-app BRD4161A (read/write) 1065324 1065444 120 0.0
.text 930148 930268 120 0.0
esp32 all-clusters-app c3devkit (read only) 1018488 1018526 38 0.0
(read/write) 1484882 1484970 88 0.0
.flash.rodata 214784 214872 88 0.0
.flash.text 1018488 1018526 38 0.0
m5stack (read only) 1072583 1072607 24 0.0
(read/write) 486984 487064 80 0.0
.flash.rodata 245244 245324 80 0.0
.flash.text 1067199 1067223 24 0.0
k32w light k32w061+release (read/write) 658040 658168 128 0.0
.text 580732 580860 128 0.0
lock k32w061+release (read/write) 684524 684636 112 0.0
.text 606740 606852 112 0.0
linux all-clusters-app debug .text 2514018 2514034 16 0.0
all-clusters-minimal-app debug .text 2368642 2368658 16 0.0
bridge-app debug+rpc (read only) 2311801 2311817 16 0.0
.text 1952418 1952434 16 0.0
chip-tool debug (read only) 10168325 10168341 16 0.0
.text 8249269 8249285 16 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9901380 9901396 16 0.0
.text 7888052 7888068 16 0.0
lighting-app debug+rpc (read only) 2547705 2547721 16 0.0
.text 2164274 2164290 16 0.0
lock-app debug (read only) 2509537 2509553 16 0.0
.text 2116242 2116258 16 0.0
ota-provider-app debug (read only) 2318625 2318641 16 0.0
.text 1952610 1952626 16 0.0
ota-requestor-app debug (read only) 2435809 2435825 16 0.0
.text 2057378 2057394 16 0.0
thermostat-no-ble arm64 (read only) 2591604 2591636 32 0.0
.text 2186624 2186656 32 0.0
tv-app debug (read only) 3098121 3098137 16 0.0
.text 2661266 2661282 16 0.0
tv-casting-app debug (read only) 5555481 5555513 32 0.0
.text 4935490 4935522 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172915 1172931 16 0.0
text 809776 809780 4 0.0
p6 all-clusters-app default (read/write) 2562688 2562792 104 0.0
.text 1520952 1521056 104 0.0
all-clusters-minimal-app default (read/write) 2508552 2508664 112 0.0
.text 1466816 1466928 112 0.0
light-app default (read/write) 2439048 2439160 112 0.0
.text 1397312 1397424 112 0.0
lock-app default (read/write) 2465328 2465440 112 0.0
.text 1423592 1423704 112 0.0
Decreases (3 builds for linux, telink)
platform target config section c1d5431 390c22c change % change
linux all-clusters-app debug (read only) 2954289 2954273 -16 -0.0
.rodata 263133 263101 -32 -0.0
all-clusters-minimal-app debug (read only) 2808401 2808385 -16 -0.0
.rodata 264797 264765 -32 -0.0
telink light-switch-app tlsr9518adk80d text 564816 564814 -2 -0.0
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section c1d5431 390c22c change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 665171 665171 0 0.0
(read/write) 186052 186052 0 0.0
.bss 74116 74116 0 0.0
.data 3356 3356 0 0.0
.rodata 88091 88091 0 0.0
.text 576764 576764 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 653947 653947 0 0.0
(read/write) 196572 196572 0 0.0
.bss 73412 73412 0 0.0
.data 3356 3356 0 0.0
.rodata 91571 91571 0 0.0
.text 562060 562060 0 0.0
lock-ftd LP_CC2652R7 (read only) 667759 667759 0 0.0
(read/write) 173608 173608 0 0.0
.bss 71148 71148 0 0.0
.data 3280 3280 0 0.0
.rodata 76191 76191 0 0.0
.text 591088 591088 0 0.0
lock-mtd LP_CC2652R7 (read only) 617175 617175 0 0.0
(read/write) 144264 144264 0 0.0
.bss 66868 66868 0 0.0
.data 3280 3280 0 0.0
.rodata 76071 76071 0 0.0
.text 540616 540616 0 0.0
pump-app LP_CC2652R7 (read only) 677207 677207 0 0.0
(read/write) 165008 165008 0 0.0
.bss 71228 71228 0 0.0
.data 3280 3280 0 0.0
.rodata 88423 88423 0 0.0
.text 588300 588300 0 0.0
pump-controller-app LP_CC2652R7 (read only) 663047 663047 0 0.0
(read/write) 179288 179288 0 0.0
.bss 71348 71348 0 0.0
.data 3276 3276 0 0.0
.rodata 84271 84271 0 0.0
.text 578296 578296 0 0.0
shell LP_CC2652R7 (read only) 657630 657630 0 0.0
(read/write) 189096 189096 0 0.0
.bss 76420 76420 0 0.0
.data 3360 3360 0 0.0
.rodata 84838 84838 0 0.0
.text 572476 572476 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 578662 578662 0 0.0
.app_xip_area 457440 457440 0 0.0
.bss 64184 64184 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 580238 580238 0 0.0
.app_xip_area 458824 458824 0 0.0
.bss 64376 64376 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 581734 581734 0 0.0
.app_xip_area 461360 461360 0 0.0
.bss 63392 63392 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1080092 1080212 120 0.0
.bss 132996 132996 0 0.0
.data 2048 2048 0 0.0
.text 945028 945148 120 0.0
BRD4161A+rpc (read/write) 1134420 1134540 120 0.0
.bss 149676 149676 0 0.0
.data 2260 2260 0 0.0
.text 982464 982584 120 0.0
BRD4161A+rs911x (read/write) 945508 945628 120 0.0
.bss 140760 140760 0 0.0
.data 2048 2048 0 0.0
.text 802680 802800 120 0.0
lock-app BRD4161A+wf200 (read/write) 1126448 1126568 120 0.0
.bss 144176 144176 0 0.0
.data 2060 2060 0 0.0
.text 980188 980308 120 0.0
window-app BRD4161A (read/write) 1065324 1065444 120 0.0
.bss 133076 133076 0 0.0
.data 2076 2076 0 0.0
.text 930148 930268 120 0.0
esp32 all-clusters-app c3devkit (read only) 1018488 1018526 38 0.0
(read/write) 1484882 1484970 88 0.0
.dram0.bss 70080 70080 0 0.0
.dram0.data 14592 14592 0 0.0
.flash.rodata 214784 214872 88 0.0
.flash.text 1018488 1018526 38 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1072583 1072607 24 0.0
(read/write) 486984 487064 80 0.0
.dram0.bss 75600 75600 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 245244 245324 80 0.0
.flash.text 1067199 1067223 24 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 658040 658168 128 0.0
.bss 69516 69516 0 0.0
.data 1992 1992 0 0.0
.text 580732 580860 128 0.0
lock k32w061+release (read/write) 684524 684636 112 0.0
.bss 69980 69980 0 0.0
.data 2004 2004 0 0.0
.text 606740 606852 112 0.0
linux all-clusters-app debug (read only) 2954289 2954273 -16 -0.0
(read/write) 154744 154744 0 0.0
.bss 61536 61536 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 84952 84952 0 0.0
.dynamic 608 608 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 263133 263101 -32 -0.0
.text 2514018 2514034 16 0.0
all-clusters-minimal-app debug (read only) 2808401 2808385 -16 -0.0
(read/write) 146648 146648 0 0.0
.bss 60864 60864 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 77592 77592 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 264797 264765 -32 -0.0
.text 2368642 2368658 16 0.0
bridge-app debug+rpc (read only) 2311801 2311817 16 0.0
(read/write) 125472 125472 0 0.0
.bss 48928 48928 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 66968 66968 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 197696 197696 0 0.0
.text 1952418 1952434 16 0.0
chip-tool debug (read only) 10168325 10168341 16 0.0
(read/write) 611784 611784 0 0.0
.bss 24384 24384 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 580016 580016 0 0.0
.dynamic 624 624 0 0.0
.got 5016 5016 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 508069 508069 0 0.0
.text 8249269 8249285 16 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9901380 9901396 16 0.0
(read/write) 676593 676593 0 0.0
.bss 42609 42609 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 615576 615576 0 0.0
.dynamic 528 528 0 0.0
.got 13448 13448 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 471476 471476 0 0.0
.text 7888052 7888068 16 0.0
lighting-app debug+rpc (read only) 2547705 2547721 16 0.0
(read/write) 129496 129496 0 0.0
.bss 49440 49440 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72104 72104 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 213512 213512 0 0.0
.text 2164274 2164290 16 0.0
lock-app debug (read only) 2509537 2509553 16 0.0
(read/write) 124472 124472 0 0.0
.bss 47840 47840 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69080 69080 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 228200 228200 0 0.0
.text 2116242 2116258 16 0.0
ota-provider-app debug (read only) 2318625 2318641 16 0.0
(read/write) 118312 118312 0 0.0
.bss 47488 47488 0 0.0
.data 1944 1944 0 0.0
.data.rel.ro 63080 63080 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 203288 203288 0 0.0
.text 1952610 1952626 16 0.0
ota-requestor-app debug (read only) 2435809 2435825 16 0.0
(read/write) 125216 125216 0 0.0
.bss 49856 49856 0 0.0
.data 2232 2232 0 0.0
.data.rel.ro 67272 67272 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 207328 207328 0 0.0
.text 2057378 2057394 16 0.0
shell debug (read only) 2543921 2543921 0 0.0
(read/write) 141032 141032 0 0.0
.bss 57448 57448 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76672 76672 0 0.0
.dynamic 608 608 0 0.0
.got 4096 4096 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 227218 227218 0 0.0
.text 2160386 2160386 0 0.0
thermostat-no-ble arm64 (read only) 2591604 2591636 32 0.0
(read/write) 158273 158273 0 0.0
.bss 65249 65249 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 83232 83232 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165236 165236 0 0.0
.text 2186624 2186656 32 0.0
tv-app debug (read only) 3098121 3098137 16 0.0
(read/write) 257672 257672 0 0.0
.bss 167016 167016 0 0.0
.data 4848 4848 0 0.0
.data.rel.ro 79360 79360 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 249024 249024 0 0.0
.text 2661266 2661282 16 0.0
tv-casting-app debug (read only) 5555481 5555513 32 0.0
(read/write) 161680 161680 0 0.0
.bss 50248 50248 0 0.0
.data 2416 2416 0 0.0
.data.rel.ro 102792 102792 0 0.0
.dynamic 608 608 0 0.0
.got 4720 4720 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 343113 343113 0 0.0
.text 4935490 4935522 32 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2447088 2447088 0 0.0
.bss 213940 213940 0 0.0
.data 5872 5872 0 0.0
.text 1409732 1409732 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1172915 1172931 16 0.0
bss 142884 142884 0 0.0
rodata 141348 141348 0 0.0
text 809776 809780 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1153783 1153783 0 0.0
bss 142120 142120 0 0.0
rodata 133280 133280 0 0.0
text 799488 799488 0 0.0
p6 all-clusters-app default (read/write) 2562688 2562792 104 0.0
.bss 149120 149120 0 0.0
.data 2776 2776 0 0.0
.text 1520952 1521056 104 0.0
all-clusters-minimal-app default (read/write) 2508552 2508664 112 0.0
.bss 148400 148400 0 0.0
.data 2776 2776 0 0.0
.text 1466816 1466928 112 0.0
light-app default (read/write) 2439048 2439160 112 0.0
.bss 140456 140456 0 0.0
.data 2592 2592 0 0.0
.text 1397312 1397424 112 0.0
lock-app default (read/write) 2465328 2465440 112 0.0
.bss 140304 140304 0 0.0
.data 2600 2600 0 0.0
.text 1423592 1423704 112 0.0
telink light-switch-app tlsr9518adk80d (read/write) 796292 796292 0 0.0
bss 70560 70560 0 0.0
noinit 40416 40416 0 0.0
text 564816 564814 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 816160 816160 0 0.0
bss 71404 71404 0 0.0
noinit 40416 40416 0 0.0
text 581172 581172 0 0.0

@github-actions
Copy link

github-actions bot commented Jul 2, 2022

PR #20180: Size comparison from 4664072 to 950be21

Increases (29 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, nrfconnect, p6)
platform target config section 4664072 950be21 change % change
cc13x2_26x2 all-clusters-minimal-app LP_CC2652R7 (read only) 654131 654139 8 0.0
.text 562236 562244 8 0.0
pump-controller-app LP_CC2652R7 (read only) 663199 663207 8 0.0
.text 578440 578448 8 0.0
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 581886 581894 8 0.0
.app_xip_area 461512 461520 8 0.0
efr32 lighting-app BRD4161A (read/write) 1080268 1080388 120 0.0
.text 945204 945324 120 0.0
BRD4161A+rpc (read/write) 1134628 1134732 104 0.0
.text 982672 982776 104 0.0
BRD4161A+rs911x (read/write) 946372 946476 104 0.0
.text 803536 803640 104 0.0
lock-app BRD4161A+wf200 (read/write) 1127000 1127120 120 0.0
.text 980732 980852 120 0.0
window-app BRD4161A (read/write) 1065532 1065652 120 0.0
.text 930356 930476 120 0.0
esp32 all-clusters-app c3devkit (read only) 1018734 1018774 40 0.0
(read/write) 1484906 1484994 88 0.0
.flash.rodata 214792 214880 88 0.0
.flash.text 1018734 1018774 40 0.0
m5stack (read only) 1072767 1072791 24 0.0
(read/write) 486984 487064 80 0.0
.flash.rodata 245244 245324 80 0.0
.flash.text 1067383 1067407 24 0.0
k32w light k32w061+release (read/write) 658112 658240 128 0.0
.text 580804 580932 128 0.0
lock k32w061+release (read/write) 684692 684812 120 0.0
.text 606908 607028 120 0.0
linux all-clusters-app debug .text 2514930 2514962 32 0.0
all-clusters-minimal-app debug .text 2369554 2369570 16 0.0
bridge-app debug+rpc (read only) 2312409 2312425 16 0.0
.text 1952722 1952738 16 0.0
chip-tool debug (read only) 10191845 10191861 16 0.0
.text 8273381 8273397 16 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9919540 9919556 16 0.0
.text 7907476 7907492 16 0.0
lighting-app debug+rpc (read only) 2548185 2548201 16 0.0
.text 2164578 2164594 16 0.0
lock-app debug (read only) 2510577 2510593 16 0.0
.text 2117106 2117122 16 0.0
ota-provider-app debug (read only) 2319217 2319249 32 0.0
.text 1953026 1953058 32 0.0
ota-requestor-app debug (read only) 2436433 2436449 16 0.0
.text 2057858 2057874 16 0.0
thermostat-no-ble arm64 (read only) 2591988 2592020 32 0.0
.text 2186864 2186896 32 0.0
tv-app debug (read only) 3099329 3099345 16 0.0
.text 2662210 2662226 16 0.0
tv-casting-app debug (read only) 5560121 5560153 32 0.0
.text 4939762 4939794 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 810104 810108 4 0.0
p6 all-clusters-app default (read/write) 2562928 2563032 104 0.0
.text 1521192 1521296 104 0.0
all-clusters-minimal-app default (read/write) 2508792 2508904 112 0.0
.text 1467056 1467168 112 0.0
light-app default (read/write) 2439160 2439256 96 0.0
.text 1397424 1397520 96 0.0
lock-app default (read/write) 2465576 2465688 112 0.0
.text 1423840 1423952 112 0.0
Decreases (7 builds for cc13x2_26x2, linux, nrfconnect, telink)
platform target config section 4664072 950be21 change % change
cc13x2_26x2 all-clusters-minimal-app LP_CC2652R7 (read/write) 196388 196380 -8 -0.0
pump-controller-app LP_CC2652R7 (read/write) 179136 179128 -8 -0.0
linux all-clusters-app debug .rodata 263229 263197 -32 -0.0
all-clusters-minimal-app debug (read only) 2809489 2809473 -16 -0.0
.rodata 264925 264893 -32 -0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 text 799804 799800 -4 -0.0
telink light-switch-app tlsr9518adk80d text 565004 565002 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 816340 816332 -8 -0.0
text 581330 581328 -2 -0.0
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 4664072 950be21 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 665363 665363 0 0.0
(read/write) 185860 185860 0 0.0
.bss 74116 74116 0 0.0
.data 3356 3356 0 0.0
.rodata 88099 88099 0 0.0
.text 576948 576948 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 654131 654139 8 0.0
(read/write) 196388 196380 -8 -0.0
.bss 73412 73412 0 0.0
.data 3356 3356 0 0.0
.rodata 91579 91579 0 0.0
.text 562236 562244 8 0.0
lock-ftd LP_CC2652R7 (read only) 668023 668023 0 0.0
(read/write) 173344 173344 0 0.0
.bss 71148 71148 0 0.0
.data 3280 3280 0 0.0
.rodata 76191 76191 0 0.0
.text 591352 591352 0 0.0
lock-mtd LP_CC2652R7 (read only) 617439 617439 0 0.0
(read/write) 144264 144264 0 0.0
.bss 66868 66868 0 0.0
.data 3280 3280 0 0.0
.rodata 76071 76071 0 0.0
.text 540880 540880 0 0.0
pump-app LP_CC2652R7 (read only) 677375 677375 0 0.0
(read/write) 164840 164840 0 0.0
.bss 71228 71228 0 0.0
.data 3280 3280 0 0.0
.rodata 88439 88439 0 0.0
.text 588452 588452 0 0.0
pump-controller-app LP_CC2652R7 (read only) 663199 663207 8 0.0
(read/write) 179136 179128 -8 -0.0
.bss 71348 71348 0 0.0
.data 3276 3276 0 0.0
.rodata 84279 84279 0 0.0
.text 578440 578448 8 0.0
shell LP_CC2652R7 (read only) 657806 657806 0 0.0
(read/write) 188920 188920 0 0.0
.bss 76420 76420 0 0.0
.data 3360 3360 0 0.0
.rodata 84846 84846 0 0.0
.text 572644 572644 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 578830 578830 0 0.0
.app_xip_area 457608 457608 0 0.0
.bss 64184 64184 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 580478 580478 0 0.0
.app_xip_area 459064 459064 0 0.0
.bss 64376 64376 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 581886 581894 8 0.0
.app_xip_area 461512 461520 8 0.0
.bss 63392 63392 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1080268 1080388 120 0.0
.bss 132996 132996 0 0.0
.data 2048 2048 0 0.0
.text 945204 945324 120 0.0
BRD4161A+rpc (read/write) 1134628 1134732 104 0.0
.bss 149676 149676 0 0.0
.data 2260 2260 0 0.0
.text 982672 982776 104 0.0
BRD4161A+rs911x (read/write) 946372 946476 104 0.0
.bss 140768 140768 0 0.0
.data 2048 2048 0 0.0
.text 803536 803640 104 0.0
lock-app BRD4161A+wf200 (read/write) 1127000 1127120 120 0.0
.bss 144184 144184 0 0.0
.data 2060 2060 0 0.0
.text 980732 980852 120 0.0
window-app BRD4161A (read/write) 1065532 1065652 120 0.0
.bss 133076 133076 0 0.0
.data 2076 2076 0 0.0
.text 930356 930476 120 0.0
esp32 all-clusters-app c3devkit (read only) 1018734 1018774 40 0.0
(read/write) 1484906 1484994 88 0.0
.dram0.bss 70080 70080 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 214792 214880 88 0.0
.flash.text 1018734 1018774 40 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1072767 1072791 24 0.0
(read/write) 486984 487064 80 0.0
.dram0.bss 75600 75600 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 245244 245324 80 0.0
.flash.text 1067383 1067407 24 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 658112 658240 128 0.0
.bss 69516 69516 0 0.0
.data 1992 1992 0 0.0
.text 580804 580932 128 0.0
lock k32w061+release (read/write) 684692 684812 120 0.0
.bss 69980 69980 0 0.0
.data 2004 2004 0 0.0
.text 606908 607028 120 0.0
linux all-clusters-app debug (read only) 2955345 2955345 0 0.0
(read/write) 154744 154744 0 0.0
.bss 61536 61536 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 84968 84968 0 0.0
.dynamic 608 608 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 263229 263197 -32 -0.0
.text 2514930 2514962 32 0.0
all-clusters-minimal-app debug (read only) 2809489 2809473 -16 -0.0
(read/write) 146680 146680 0 0.0
.bss 60864 60864 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 77608 77608 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 264925 264893 -32 -0.0
.text 2369554 2369570 16 0.0
bridge-app debug+rpc (read only) 2312409 2312425 16 0.0
(read/write) 125504 125504 0 0.0
.bss 48928 48928 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 66984 66984 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 197952 197952 0 0.0
.text 1952722 1952738 16 0.0
chip-tool debug (read only) 10191845 10191861 16 0.0
(read/write) 611816 611816 0 0.0
.bss 24384 24384 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 580032 580032 0 0.0
.dynamic 624 624 0 0.0
.got 5016 5016 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 507429 507429 0 0.0
.text 8273381 8273397 16 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9919540 9919556 16 0.0
(read/write) 676609 676609 0 0.0
.bss 42609 42609 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 615592 615592 0 0.0
.dynamic 528 528 0 0.0
.got 13448 13448 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 470164 470164 0 0.0
.text 7907476 7907492 16 0.0
lighting-app debug+rpc (read only) 2548185 2548201 16 0.0
(read/write) 129528 129528 0 0.0
.bss 49440 49440 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72136 72136 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 213640 213640 0 0.0
.text 2164578 2164594 16 0.0
lock-app debug (read only) 2510577 2510593 16 0.0
(read/write) 124504 124504 0 0.0
.bss 47840 47840 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69096 69096 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 228328 228328 0 0.0
.text 2117106 2117122 16 0.0
ota-provider-app debug (read only) 2319217 2319249 32 0.0
(read/write) 118312 118312 0 0.0
.bss 47488 47488 0 0.0
.data 1944 1944 0 0.0
.data.rel.ro 63096 63096 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 203416 203416 0 0.0
.text 1953026 1953058 32 0.0
ota-requestor-app debug (read only) 2436433 2436449 16 0.0
(read/write) 125216 125216 0 0.0
.bss 49856 49856 0 0.0
.data 2232 2232 0 0.0
.data.rel.ro 67288 67288 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 207424 207424 0 0.0
.text 2057858 2057874 16 0.0
shell debug (read only) 2544961 2544961 0 0.0
(read/write) 141064 141064 0 0.0
.bss 57448 57448 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76688 76688 0 0.0
.dynamic 608 608 0 0.0
.got 4096 4096 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 227346 227346 0 0.0
.text 2161250 2161250 0 0.0
thermostat-no-ble arm64 (read only) 2591988 2592020 32 0.0
(read/write) 158289 158289 0 0.0
.bss 65249 65249 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 83240 83240 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165348 165348 0 0.0
.text 2186864 2186896 32 0.0
tv-app debug (read only) 3099329 3099345 16 0.0
(read/write) 257704 257704 0 0.0
.bss 167016 167016 0 0.0
.data 4848 4848 0 0.0
.data.rel.ro 79392 79392 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 249216 249216 0 0.0
.text 2662210 2662226 16 0.0
tv-casting-app debug (read only) 5560121 5560153 32 0.0
(read/write) 161712 161712 0 0.0
.bss 50248 50248 0 0.0
.data 2416 2416 0 0.0
.data.rel.ro 102824 102824 0 0.0
.dynamic 608 608 0 0.0
.got 4720 4720 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 343433 343433 0 0.0
.text 4939762 4939794 32 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2447312 2447312 0 0.0
.bss 213940 213940 0 0.0
.data 5872 5872 0 0.0
.text 1409956 1409956 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1173259 1173259 0 0.0
bss 142900 142900 0 0.0
rodata 141356 141356 0 0.0
text 810104 810108 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1154111 1154111 0 0.0
bss 142136 142136 0 0.0
rodata 133288 133288 0 0.0
text 799804 799800 -4 -0.0
p6 all-clusters-app default (read/write) 2562928 2563032 104 0.0
.bss 149120 149120 0 0.0
.data 2776 2776 0 0.0
.text 1521192 1521296 104 0.0
all-clusters-minimal-app default (read/write) 2508792 2508904 112 0.0
.bss 148400 148400 0 0.0
.data 2776 2776 0 0.0
.text 1467056 1467168 112 0.0
light-app default (read/write) 2439160 2439256 96 0.0
.bss 140456 140456 0 0.0
.data 2592 2592 0 0.0
.text 1397424 1397520 96 0.0
lock-app default (read/write) 2465576 2465688 112 0.0
.bss 140304 140304 0 0.0
.data 2600 2600 0 0.0
.text 1423840 1423952 112 0.0
telink light-switch-app tlsr9518adk80d (read/write) 796504 796504 0 0.0
bss 70576 70576 0 0.0
noinit 40416 40416 0 0.0
text 565004 565002 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 816340 816332 -8 -0.0
bss 71420 71420 0 0.0
noinit 40416 40416 0 0.0
text 581330 581328 -2 -0.0

@woody-apple
Copy link
Contributor

woody-apple commented Jul 5, 2022

@andy31415 Is this a real failure? (look repeated?)

(Edit: Nevermind, I see that it is, and the dependency)

…eld.

Adding/removing holders manipulates circular lists, and if we end up with data
races on these manipulations we can end up in bad states.  Since sessions are
somewhat singleton resources, and the "hold on to a session" operation is pretty
hidden in many cases, it's easy to end up with a situation where a session is
being pointed to by objects being manipulated on multiple threads and hard to
catch this via manual code inspection.
@bzbarsky-apple bzbarsky-apple force-pushed the session-threading-asserts branch from 950be21 to 692ba08 Compare July 11, 2022 05:54
@github-actions
Copy link

github-actions bot commented Jul 11, 2022

PR #20180: Size comparison from 776c06d to 692ba08

Increases (26 builds for efr32, esp32, k32w, linux, p6, telink)
platform target config section 776c06d 692ba08 change % change
efr32 lighting-app BRD4161A (read/write) 1081212 1081316 104 0.0
.text 946148 946252 104 0.0
BRD4161A+rpc (read/write) 1135516 1135644 128 0.0
.text 983560 983688 128 0.0
BRD4161A+rs911x (read/write) 947692 947804 112 0.0
.text 804856 804968 112 0.0
lock-app BRD4161A+wf200 (read/write) 1128496 1128616 120 0.0
.text 982228 982348 120 0.0
window-app BRD4161A (read/write) 1075012 1075108 96 0.0
.text 938444 938540 96 0.0
esp32 all-clusters-app c3devkit (read only) 1019958 1019994 36 0.0
(read/write) 1485490 1485570 80 0.0
.flash.rodata 215376 215456 80 0.0
.flash.text 1019958 1019994 36 0.0
m5stack (read only) 1073899 1073923 24 0.0
(read/write) 487568 487648 80 0.0
.flash.rodata 245828 245908 80 0.0
.flash.text 1068515 1068539 24 0.0
k32w light k32w061+release (read/write) 658592 658704 112 0.0
.text 581284 581396 112 0.0
lock k32w061+release (read/write) 685348 685468 120 0.0
.text 607564 607684 120 0.0
linux all-clusters-app debug .text 2519730 2519746 16 0.0
all-clusters-minimal-app debug .text 2372754 2372770 16 0.0
bridge-app debug+rpc (read only) 2315209 2315225 16 0.0
.text 1955522 1955538 16 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9997684 9997700 16 0.0
.text 7959236 7959252 16 0.0
lighting-app debug+rpc (read only) 2550953 2550969 16 0.0
.text 2167346 2167362 16 0.0
lock-app debug (read only) 2515553 2515569 16 0.0
.text 2121730 2121746 16 0.0
ota-provider-app debug (read only) 2322033 2322049 16 0.0
.text 1955842 1955858 16 0.0
ota-requestor-app debug .text 2060802 2060818 16 0.0
shell debug (read only) 2550809 2550825 16 0.0
.text 2166034 2166050 16 0.0
thermostat-no-ble arm64 (read only) 2595044 2595076 32 0.0
.text 2189856 2189888 32 0.0
tv-app debug (read only) 3101905 3101937 32 0.0
.text 2665074 2665106 32 0.0
tv-casting-app debug (read only) 5565689 5565721 32 0.0
.text 4944466 4944498 32 0.0
p6 all-clusters-app default (read/write) 2565152 2565256 104 0.0
.text 1523416 1523520 104 0.0
all-clusters-minimal-app default (read/write) 2510192 2510320 128 0.0
.text 1468456 1468584 128 0.0
light-app default (read/write) 2440496 2440600 104 0.0
.text 1398760 1398864 104 0.0
lock-app default (read/write) 2467760 2467856 96 0.0
.text 1426024 1426120 96 0.0
telink lighting-app tlsr9518adk80d text 581886 581888 2 0.0
Decreases (6 builds for cyw30739, linux, nrfconnect, telink)
platform target config section 776c06d 692ba08 change % change
cyw30739 lock cyw930739m2evb_01 (read/write) 585470 585462 -8 -0.0
.app_xip_area 459504 459496 -8 -0.0
linux all-clusters-app debug (read only) 2960497 2960481 -16 -0.0
.rodata 263581 263549 -32 -0.0
all-clusters-minimal-app debug (read only) 2813041 2813025 -16 -0.0
.rodata 265277 265245 -32 -0.0
ota-requestor-app debug (read only) 2439185 2439169 -16 -0.0
.rodata 207232 207200 -32 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174935 1174919 -16 -0.0
text 811332 811328 -4 -0.0
telink light-switch-app tlsr9518adk80d text 565564 565562 -2 -0.0
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 776c06d 692ba08 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 666051 666051 0 0.0
(read/write) 185172 185172 0 0.0
.bss 74116 74116 0 0.0
.data 3356 3356 0 0.0
.rodata 88067 88067 0 0.0
.text 577668 577668 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 631859 631859 0 0.0
(read/write) 157684 157684 0 0.0
.bss 73412 73412 0 0.0
.data 3356 3356 0 0.0
.rodata 77307 77307 0 0.0
.text 554228 554228 0 0.0
lock-ftd LP_CC2652R7 (read only) 668959 668959 0 0.0
(read/write) 172408 172408 0 0.0
.bss 71148 71148 0 0.0
.data 3280 3280 0 0.0
.rodata 76207 76207 0 0.0
.text 592272 592272 0 0.0
lock-mtd LP_CC2652R7 (read only) 618367 618367 0 0.0
(read/write) 144264 144264 0 0.0
.bss 66868 66868 0 0.0
.data 3280 3280 0 0.0
.rodata 76087 76087 0 0.0
.text 541792 541792 0 0.0
pump-app LP_CC2652R7 (read only) 677991 677991 0 0.0
(read/write) 164224 164224 0 0.0
.bss 71228 71228 0 0.0
.data 3280 3280 0 0.0
.rodata 88431 88431 0 0.0
.text 589076 589076 0 0.0
pump-controller-app LP_CC2652R7 (read only) 663815 663815 0 0.0
(read/write) 178520 178520 0 0.0
.bss 71348 71348 0 0.0
.data 3276 3276 0 0.0
.rodata 84295 84295 0 0.0
.text 579040 579040 0 0.0
shell LP_CC2652R7 (read only) 658550 658550 0 0.0
(read/write) 188176 188176 0 0.0
.bss 76420 76420 0 0.0
.data 3360 3360 0 0.0
.rodata 84846 84846 0 0.0
.text 573388 573388 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 579534 579534 0 0.0
.app_xip_area 458304 458304 0 0.0
.bss 64184 64184 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 585470 585462 -8 -0.0
.app_xip_area 459504 459496 -8 -0.0
.bss 68912 68912 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 582590 582590 0 0.0
.app_xip_area 462208 462208 0 0.0
.bss 63392 63392 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1081212 1081316 104 0.0
.bss 132996 132996 0 0.0
.data 2048 2048 0 0.0
.text 946148 946252 104 0.0
BRD4161A+rpc (read/write) 1135516 1135644 128 0.0
.bss 149676 149676 0 0.0
.data 2260 2260 0 0.0
.text 983560 983688 128 0.0
BRD4161A+rs911x (read/write) 947692 947804 112 0.0
.bss 140768 140768 0 0.0
.data 2048 2048 0 0.0
.text 804856 804968 112 0.0
lock-app BRD4161A+wf200 (read/write) 1128496 1128616 120 0.0
.bss 144184 144184 0 0.0
.data 2060 2060 0 0.0
.text 982228 982348 120 0.0
window-app BRD4161A (read/write) 1075012 1075108 96 0.0
.bss 134468 134468 0 0.0
.data 2076 2076 0 0.0
.text 938444 938540 96 0.0
esp32 all-clusters-app c3devkit (read only) 1019958 1019994 36 0.0
(read/write) 1485490 1485570 80 0.0
.dram0.bss 70080 70080 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 215376 215456 80 0.0
.flash.text 1019958 1019994 36 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1073899 1073923 24 0.0
(read/write) 487568 487648 80 0.0
.dram0.bss 75600 75600 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 245828 245908 80 0.0
.flash.text 1068515 1068539 24 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 658592 658704 112 0.0
.bss 69516 69516 0 0.0
.data 1992 1992 0 0.0
.text 581284 581396 112 0.0
lock k32w061+release (read/write) 685348 685468 120 0.0
.bss 69980 69980 0 0.0
.data 2004 2004 0 0.0
.text 607564 607684 120 0.0
linux all-clusters-app debug (read only) 2960497 2960481 -16 -0.0
(read/write) 154744 154744 0 0.0
.bss 61536 61536 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 84968 84968 0 0.0
.dynamic 608 608 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 263581 263549 -32 -0.0
.text 2519730 2519746 16 0.0
all-clusters-minimal-app debug (read only) 2813041 2813025 -16 -0.0
(read/write) 146680 146680 0 0.0
.bss 60864 60864 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 77608 77608 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 265277 265245 -32 -0.0
.text 2372754 2372770 16 0.0
bridge-app debug+rpc (read only) 2315209 2315225 16 0.0
(read/write) 125504 125504 0 0.0
.bss 48928 48928 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 66984 66984 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 197952 197952 0 0.0
.text 1955522 1955538 16 0.0
chip-tool debug (read only) 10303697 10303697 0 0.0
(read/write) 622240 622240 0 0.0
.bss 24728 24728 0 0.0
.data 3234 3234 0 0.0
.data.rel.ro 587888 587888 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 515061 515061 0 0.0
.text 8356948 8356948 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9997684 9997700 16 0.0
(read/write) 684529 684529 0 0.0
.bss 42609 42609 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 623432 623432 0 0.0
.dynamic 528 528 0 0.0
.got 13520 13520 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 477780 477780 0 0.0
.text 7959236 7959252 16 0.0
lighting-app debug+rpc (read only) 2550953 2550969 16 0.0
(read/write) 129528 129528 0 0.0
.bss 49440 49440 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72136 72136 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 213640 213640 0 0.0
.text 2167346 2167362 16 0.0
lock-app debug (read only) 2515553 2515569 16 0.0
(read/write) 124504 124504 0 0.0
.bss 47840 47840 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69096 69096 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 228680 228680 0 0.0
.text 2121730 2121746 16 0.0
ota-provider-app debug (read only) 2322033 2322049 16 0.0
(read/write) 118312 118312 0 0.0
.bss 47488 47488 0 0.0
.data 1944 1944 0 0.0
.data.rel.ro 63096 63096 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 203416 203416 0 0.0
.text 1955842 1955858 16 0.0
ota-requestor-app debug (read only) 2439185 2439169 -16 -0.0
(read/write) 125216 125216 0 0.0
.bss 49856 49856 0 0.0
.data 2232 2232 0 0.0
.data.rel.ro 67288 67288 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 207232 207200 -32 -0.0
.text 2060802 2060818 16 0.0
shell debug (read only) 2550809 2550825 16 0.0
(read/write) 141096 141096 0 0.0
.bss 57448 57448 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76688 76688 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 227698 227698 0 0.0
.text 2166034 2166050 16 0.0
thermostat-no-ble arm64 (read only) 2595044 2595076 32 0.0
(read/write) 158289 158289 0 0.0
.bss 65249 65249 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 83240 83240 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165412 165412 0 0.0
.text 2189856 2189888 32 0.0
tv-app debug (read only) 3101905 3101937 32 0.0
(read/write) 257704 257704 0 0.0
.bss 167016 167016 0 0.0
.data 4848 4848 0 0.0
.data.rel.ro 79392 79392 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 248928 248928 0 0.0
.text 2665074 2665106 32 0.0
tv-casting-app debug (read only) 5565689 5565721 32 0.0
(read/write) 161968 161968 0 0.0
.bss 50248 50248 0 0.0
.data 2416 2416 0 0.0
.data.rel.ro 103048 103048 0 0.0
.dynamic 608 608 0 0.0
.got 4744 4744 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 343273 343273 0 0.0
.text 4944466 4944498 32 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2447912 2447912 0 0.0
.bss 213940 213940 0 0.0
.data 5872 5872 0 0.0
.text 1410556 1410556 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1174935 1174919 -16 -0.0
bss 142900 142900 0 0.0
rodata 141808 141808 0 0.0
text 811332 811328 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1155131 1155131 0 0.0
bss 142136 142136 0 0.0
rodata 133340 133340 0 0.0
text 800776 800776 0 0.0
p6 all-clusters-app default (read/write) 2565152 2565256 104 0.0
.bss 149120 149120 0 0.0
.data 2776 2776 0 0.0
.text 1523416 1523520 104 0.0
all-clusters-minimal-app default (read/write) 2510192 2510320 128 0.0
.bss 148400 148400 0 0.0
.data 2776 2776 0 0.0
.text 1468456 1468584 128 0.0
light-app default (read/write) 2440496 2440600 104 0.0
.bss 140456 140456 0 0.0
.data 2592 2592 0 0.0
.text 1398760 1398864 104 0.0
lock-app default (read/write) 2467760 2467856 96 0.0
.bss 140304 140304 0 0.0
.data 2600 2600 0 0.0
.text 1426024 1426120 96 0.0
telink light-switch-app tlsr9518adk80d (read/write) 797092 797092 0 0.0
bss 70576 70576 0 0.0
noinit 40416 40416 0 0.0
text 565564 565562 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 816916 816916 0 0.0
bss 71420 71420 0 0.0
noinit 40416 40416 0 0.0
text 581886 581888 2 0.0

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.

6 participants