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 the Matter stack lock is held while reading/writing attributes #15152

Merged
merged 4 commits into from
Feb 15, 2022

Conversation

bzbarsky-apple
Copy link
Contributor

Several changes here:

  1. Add an assert that when attributes are being read/written the
    Matter stack lock is held, so the read/write does not race with
    interaction model messages touching the attribute store.
  2. Implement the Matter stack lock assertion bits on FreeRTOS.
  3. Add FreeRTOS to the set of configurations that actually enable
    Matter stack lock assertions.
  4. For the configurations that enable the assertions, change the
    default behavior from "log" to "fatal", so we actually notice the

Problem

Too easy to (especially) write attributes without holding the Matter lock.

Change overview

Make it harder to miss when that's happening, at least on Linux/Android/Tizen/FreeRTOS

Testing

Verified that the new assert triggers if I place it in OTARequestor::Init and run the ESP32 ota-requestor app on an m5stack.

It does not trigger in the attribute code, because the ESP32 ota-requestor app never reaches that during its init (because it has not started up the data model yet at that point). But the EFR32 ota-requestor (which I don't have a way to test locally) should absolutely trigger this.

@github-actions
Copy link

github-actions bot commented Feb 14, 2022

PR #15152: Size comparison from 75c7845 to 13e994e

Increases (4 builds for k32w, linux)
platform target config section 75c7845 13e994e change % change
k32w light k32w061+release (read/write) 683252 683764 512 0.1
.text 598892 599404 512 0.1
lock k32w061+release (read/write) 688804 689300 496 0.1
.text 604008 604504 496 0.1
linux chip-tool-ipv6only arm64 (read only) 8245380 8245396 16 0.0
.text 7048004 7048020 16 0.0
thermostat-no-ble arm64 (read only) 2151132 2151212 80 0.0
.rodata 132908 132940 32 0.0
.text 1799968 1800016 48 0.0
Full report (8 builds for cyw30739, k32w, linux, telink)
platform target config section 75c7845 13e994e change % change
cyw30739 light cyw930739m2evb_01 (read/write) 592782 592782 0 0.0
.app_xip_area 498260 498260 0 0.0
.bss 77220 77220 0 0.0
.data 644 644 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 550850 550850 0 0.0
.app_xip_area 457896 457896 0 0.0
.bss 75692 75692 0 0.0
.data 608 608 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 569362 569362 0 0.0
.app_xip_area 467152 467152 0 0.0
.bss 84620 84620 0 0.0
.data 552 552 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
k32w light k32w061+release (read/write) 683252 683764 512 0.1
.bss 76656 76656 0 0.0
.data 1904 1904 0 0.0
.text 598892 599404 512 0.1
lock k32w061+release (read/write) 688804 689300 496 0.1
.bss 77048 77048 0 0.0
.data 1948 1948 0 0.0
.text 604008 604504 496 0.1
linux chip-tool-ipv6only arm64 (read only) 8245380 8245396 16 0.0
(read/write) 353377 353377 0 0.0
.bss 50497 50497 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 248800 248800 0 0.0
.dynamic 560 560 0 0.0
.got 49064 49064 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 436108 436108 0 0.0
.text 7048004 7048020 16 0.0
thermostat-no-ble arm64 (read only) 2151132 2151212 80 0.0
(read/write) 140689 140689 0 0.0
.bss 57521 57521 0 0.0
.data 1032 1032 0 0.0
.data.rel.ro 75024 75024 0 0.0
.dynamic 560 560 0 0.0
.got 4144 4144 0 0.0
.init 24 24 0 0.0
.init_array 328 328 0 0.0
.rodata 132908 132940 32 0.0
.text 1799968 1800016 48 0.0
telink lighting-app tlsr9518adk80d (read/write) 875102 875102 0 0.0
bss 88736 88736 0 0.0
noinit 37160 37160 0 0.0
text 614832 614832 0 0.0

@github-actions
Copy link

github-actions bot commented Feb 14, 2022

PR #15152: Size comparison from 75c7845 to 453b331

Increases (16 builds for efr32, esp32, k32w, linux)
platform target config section 75c7845 453b331 change % change
efr32 lighting-app BRD4161A (read only) 909216 909612 396 0.0
.text 909208 909604 396 0.0
BRD4161A+rpc (read only) 937912 938312 400 0.0
.text 937904 938304 400 0.0
window-app BRD4161A (read only) 844388 844784 396 0.0
(read/write) 125444 125448 4 0.0
.text 844380 844776 396 0.0
esp32 all-clusters-app c3devkit (read only) 944966 945130 164 0.0
(read/write) 1398610 1398850 240 0.0
.flash.rodata 199032 199272 240 0.1
.flash.text 944966 945130 164 0.0
m5stack (read only) 994959 995099 140 0.0
(read/write) 463896 464120 224 0.0
.flash.rodata 226152 226376 224 0.1
.flash.text 989575 989715 140 0.0
k32w light k32w061+release (read/write) 683252 683632 380 0.1
.text 598892 599272 380 0.1
lock k32w061+release (read/write) 688804 689168 364 0.1
.text 604008 604372 364 0.1
linux all-clusters-app debug (read only) 2357313 2357361 48 0.0
.rodata 205797 205829 32 0.0
.text 1989170 1989186 16 0.0
bridge-app debug+rpc (read only) 1726317 1726365 48 0.0
.rodata 141676 141708 32 0.0
.text 1468021 1468037 16 0.0
chip-tool debug .rodata 460085 460117 32 0.0
door-lock-app debug (read only) 1931473 1931521 48 0.0
.rodata 173074 173106 32 0.0
.text 1609810 1609826 16 0.0
lighting-app debug+rpc (read only) 2055121 2055169 48 0.0
.rodata 165393 165425 32 0.0
.text 1734914 1734930 16 0.0
ota-provider-app debug (read only) 1864289 1864337 48 0.0
.rodata 157643 157675 32 0.0
.text 1555986 1556002 16 0.0
ota-requestor-app debug (read only) 1859697 1859777 80 0.0
.rodata 151196 151260 64 0.0
.text 1559586 1559602 16 0.0
shell debug (read only) 2341673 2341721 48 0.0
.rodata 206674 206706 32 0.0
.text 1978146 1978162 16 0.0
thermostat-no-ble arm64 (read only) 2151132 2151148 16 0.0
.rodata 132908 132940 32 0.0
Decreases (16 builds for cyw30739, linux, nrfconnect)
platform target config section 75c7845 453b331 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 592782 592750 -32 -0.0
.app_xip_area 498260 498228 -32 -0.0
lock cyw930739m2evb_01 (read/write) 550850 550810 -40 -0.0
.app_xip_area 457896 457856 -40 -0.0
ota-requestor cyw930739m2evb_01 (read/write) 569362 569322 -40 -0.0
.app_xip_area 467152 467112 -40 -0.0
linux chip-tool debug (read only) 8442845 8442829 -16 -0.0
.text 7467173 7467125 -48 -0.0
chip-tool-ipv6only arm64 (read only) 8245380 8245268 -112 -0.0
.text 7048004 7047892 -112 -0.0
thermostat-no-ble arm64 .text 1799968 1799952 -16 -0.0
tv-app debug (read only) 2529257 2529241 -16 -0.0
(read/write) 139392 139232 -160 -0.1
.bss 57152 56992 -160 -0.3
.text 2158546 2158530 -16 -0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1016131 1016083 -48 -0.0
text 695660 695624 -36 -0.0
nrf52840dk_nrf52840+rpc (read/write) 985407 985359 -48 -0.0
text 675548 675512 -36 -0.0
nrf52840dongle_nrf52840 (read/write) 1031991 1031959 -32 -0.0
text 700280 700244 -36 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 922774 922742 -32 -0.0
text 610684 610648 -36 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 945859 945827 -32 -0.0
text 638692 638656 -36 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853386 853354 -32 -0.0
text 554492 554456 -36 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 944679 944631 -48 -0.0
text 638748 638712 -36 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 940623 940591 -32 -0.0
text 634988 634952 -36 -0.0
shell nrf52840dk_nrf52840 (read/write) 807179 807147 -32 -0.0
text 539280 539244 -36 -0.0
Full report (37 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, telink)
platform target config section 75c7845 453b331 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 592782 592750 -32 -0.0
.app_xip_area 498260 498228 -32 -0.0
.bss 77220 77220 0 0.0
.data 644 644 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 550850 550810 -40 -0.0
.app_xip_area 457896 457856 -40 -0.0
.bss 75692 75692 0 0.0
.data 608 608 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 569362 569322 -40 -0.0
.app_xip_area 467152 467112 -40 -0.0
.bss 84620 84620 0 0.0
.data 552 552 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 909216 909612 396 0.0
(read/write) 127384 127384 0 0.0
.bss 125352 125352 0 0.0
.data 2032 2032 0 0.0
.text 909208 909604 396 0.0
BRD4161A+rpc (read only) 937912 938312 400 0.0
(read/write) 144304 144304 0 0.0
.bss 142128 142128 0 0.0
.data 2172 2172 0 0.0
.text 937904 938304 400 0.0
window-app BRD4161A (read only) 844388 844784 396 0.0
(read/write) 125444 125448 4 0.0
.bss 123544 123544 0 0.0
.data 1900 1900 0 0.0
.text 844380 844776 396 0.0
esp32 all-clusters-app c3devkit (read only) 944966 945130 164 0.0
(read/write) 1398610 1398850 240 0.0
.dram0.bss 66408 66408 0 0.0
.dram0.data 14268 14268 0 0.0
.flash.rodata 199032 199272 240 0.1
.flash.text 944966 945130 164 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 994959 995099 140 0.0
(read/write) 463896 464120 224 0.0
.dram0.bss 71552 71552 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226152 226376 224 0.1
.flash.text 989575 989715 140 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 683252 683632 380 0.1
.bss 76656 76656 0 0.0
.data 1904 1904 0 0.0
.text 598892 599272 380 0.1
lock k32w061+release (read/write) 688804 689168 364 0.1
.bss 77048 77048 0 0.0
.data 1948 1948 0 0.0
.text 604008 604372 364 0.1
linux all-clusters-app debug (read only) 2357313 2357361 48 0.0
(read/write) 140000 140000 0 0.0
.bss 54528 54528 0 0.0
.data 1296 1296 0 0.0
.data.rel.ro 78504 78504 0 0.0
.dynamic 592 592 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205797 205829 32 0.0
.text 1989170 1989186 16 0.0
bridge-app debug+rpc (read only) 1726317 1726365 48 0.0
(read/write) 84200 84200 0 0.0
.bss 38928 38928 0 0.0
.data 2034 2034 0 0.0
.data.rel.ro 38080 38080 0 0.0
.dynamic 592 592 0 0.0
.got 3976 3976 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 141676 141708 32 0.0
.text 1468021 1468037 16 0.0
chip-tool debug (read only) 8442845 8442829 -16 -0.0
(read/write) 245760 245760 0 0.0
.bss 32200 32200 0 0.0
.data 1184 1184 0 0.0
.data.rel.ro 206352 206352 0 0.0
.dynamic 608 608 0 0.0
.got 4784 4784 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 460085 460117 32 0.0
.text 7467173 7467125 -48 -0.0
chip-tool-ipv6only arm64 (read only) 8245380 8245268 -112 -0.0
(read/write) 353377 353377 0 0.0
.bss 50497 50497 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 248800 248800 0 0.0
.dynamic 560 560 0 0.0
.got 49064 49064 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 436108 436108 0 0.0
.text 7048004 7047892 -112 -0.0
door-lock-app debug (read only) 1931473 1931521 48 0.0
(read/write) 110488 110488 0 0.0
.bss 42000 42000 0 0.0
.data 1010 1010 0 0.0
.data.rel.ro 62080 62080 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 173074 173106 32 0.0
.text 1609810 1609826 16 0.0
lighting-app debug+rpc (read only) 2055121 2055169 48 0.0
(read/write) 115736 115736 0 0.0
.bss 43008 43008 0 0.0
.data 1400 1400 0 0.0
.data.rel.ro 65832 65832 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 165393 165425 32 0.0
.text 1734914 1734930 16 0.0
ota-provider-app debug (read only) 1864289 1864337 48 0.0
(read/write) 106200 106200 0 0.0
.bss 41856 41856 0 0.0
.data 1224 1224 0 0.0
.data.rel.ro 57480 57480 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 157643 157675 32 0.0
.text 1555986 1556002 16 0.0
ota-requestor-app debug (read only) 1859697 1859777 80 0.0
(read/write) 107288 107288 0 0.0
.bss 42144 42144 0 0.0
.data 1160 1160 0 0.0
.data.rel.ro 58536 58536 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 151196 151260 64 0.0
.text 1559586 1559602 16 0.0
shell debug (read only) 2341673 2341721 48 0.0
(read/write) 141488 141488 0 0.0
.bss 61792 61792 0 0.0
.data 832 832 0 0.0
.data.rel.ro 73192 73192 0 0.0
.dynamic 592 592 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 206674 206706 32 0.0
.text 1978146 1978162 16 0.0
thermostat-no-ble arm64 (read only) 2151132 2151148 16 0.0
(read/write) 140689 140689 0 0.0
.bss 57521 57521 0 0.0
.data 1032 1032 0 0.0
.data.rel.ro 75024 75024 0 0.0
.dynamic 560 560 0 0.0
.got 4144 4144 0 0.0
.init 24 24 0 0.0
.init_array 328 328 0 0.0
.rodata 132908 132940 32 0.0
.text 1799968 1799952 -16 -0.0
tv-app debug (read only) 2529257 2529241 -16 -0.0
(read/write) 139392 139232 -160 -0.1
.bss 57152 56992 -160 -0.3
.data 3200 3200 0 0.0
.data.rel.ro 73008 73008 0 0.0
.dynamic 592 592 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 197669 197669 0 0.0
.text 2158546 2158530 -16 -0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2398112 2398112 0 0.0
.bss 188476 188476 0 0.0
.data 5320 5320 0 0.0
.text 1360712 1360712 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360344 2360344 0 0.0
.bss 181088 181088 0 0.0
.data 5624 5624 0 0.0
.text 1322944 1322944 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2323872 2323872 0 0.0
.bss 180976 180976 0 0.0
.data 5600 5600 0 0.0
.text 1286472 1286472 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139648 1139648 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103032 103032 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2308900 2308900 0 0.0
.bss 178228 178228 0 0.0
.data 5424 5424 0 0.0
.text 1271472 1271472 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1016131 1016083 -48 -0.0
bss 121412 121412 0 0.0
rodata 120096 120096 0 0.0
text 695660 695624 -36 -0.0
nrf52840dk_nrf52840+rpc (read/write) 985407 985359 -48 -0.0
bss 118600 118600 0 0.0
rodata 111620 111620 0 0.0
text 675548 675512 -36 -0.0
nrf52840dongle_nrf52840 (read/write) 1031991 1031959 -32 -0.0
bss 122800 122800 0 0.0
rodata 118976 118976 0 0.0
text 700280 700244 -36 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 922774 922742 -32 -0.0
bss 117976 117976 0 0.0
rodata 113336 113336 0 0.0
text 610684 610648 -36 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 945859 945827 -32 -0.0
bss 119784 119784 0 0.0
rodata 108856 108856 0 0.0
text 638692 638656 -36 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853386 853354 -32 -0.0
bss 116376 116376 0 0.0
rodata 102028 102028 0 0.0
text 554492 554456 -36 -0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 527595 527595 0 0.0
bss 53632 53632 0 0.0
rodata 49976 49976 0 0.0
text 361016 361016 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 944679 944631 -48 -0.0
bss 119504 119504 0 0.0
rodata 107812 107812 0 0.0
text 638748 638712 -36 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 940623 940591 -32 -0.0
bss 119508 119508 0 0.0
rodata 107508 107508 0 0.0
text 634988 634952 -36 -0.0
shell nrf52840dk_nrf52840 (read/write) 807179 807147 -32 -0.0
bss 111216 111216 0 0.0
rodata 79104 79104 0 0.0
text 539280 539244 -36 -0.0
telink lighting-app tlsr9518adk80d (read/write) 875102 875102 0 0.0
bss 88736 88736 0 0.0
noinit 37160 37160 0 0.0
text 614832 614832 0 0.0

@github-actions
Copy link

github-actions bot commented Feb 14, 2022

PR #15152: Size comparison from 75c7845 to 62ebd2f

Increases above 0.2%:

platform target config section 75c7845 62ebd2f change % change
linux all-clusters-app debug .bss 54528 54656 128 0.2
shell debug .bss 61792 61920 128 0.2
tv-app debug (read/write) 139392 140960 1568 1.1
.bss 57152 58720 1568 2.7
Increases (21 builds for efr32, esp32, k32w, linux, p6)
platform target config section 75c7845 62ebd2f change % change
efr32 lighting-app BRD4161A (read only) 909216 909484 268 0.0
.text 909208 909476 268 0.0
BRD4161A+rpc (read only) 937912 938200 288 0.0
.text 937904 938192 288 0.0
window-app BRD4161A (read only) 844388 844656 268 0.0
.text 844380 844648 268 0.0
esp32 all-clusters-app c3devkit (read only) 944966 945166 200 0.0
.flash.rodata 199032 199272 240 0.1
.flash.text 944966 945166 200 0.0
m5stack (read only) 994959 995159 200 0.0
.flash.rodata 226152 226376 224 0.1
.flash.text 989575 989775 200 0.0
k32w light k32w061+release (read/write) 683252 683392 140 0.0
.text 598892 599256 364 0.1
lock k32w061+release (read/write) 688804 688928 124 0.0
.text 604008 604356 348 0.1
linux all-clusters-app debug (read only) 2357313 2357393 80 0.0
(read/write) 140000 140128 128 0.1
.bss 54528 54656 128 0.2
.text 1989170 1989378 208 0.0
bridge-app debug+rpc (read only) 1726317 1726477 160 0.0
.rodata 141676 141708 32 0.0
.text 1468021 1468149 128 0.0
chip-tool debug (read only) 8442845 8443389 544 0.0
.text 7467173 7468453 1280 0.0
chip-tool-ipv6only arm64 (read only) 8245380 8245588 208 0.0
.text 7048004 7049044 1040 0.0
door-lock-app debug (read only) 1931473 1931729 256 0.0
.rodata 173074 173106 32 0.0
.text 1609810 1610034 224 0.0
lighting-app debug+rpc (read only) 2055121 2055377 256 0.0
.rodata 165393 165425 32 0.0
.text 1734914 1735138 224 0.0
ota-provider-app debug (read only) 1864289 1864529 240 0.0
.rodata 157643 157675 32 0.0
.text 1555986 1556194 208 0.0
ota-requestor-app debug (read only) 1859697 1859985 288 0.0
.rodata 151196 151260 64 0.0
.text 1559586 1559810 224 0.0
shell debug (read/write) 141488 141616 128 0.1
.bss 61792 61920 128 0.2
.text 1978146 1978274 128 0.0
thermostat-no-ble arm64 (read only) 2151132 2151228 96 0.0
.rodata 132908 132940 32 0.0
.text 1799968 1800032 64 0.0
tv-app debug (read/write) 139392 140960 1568 1.1
.bss 57152 58720 1568 2.7
.text 2158546 2158738 192 0.0
p6 all-clusters-app default (read/write) 2483136 2483200 64 0.0
.text 1441400 1441464 64 0.0
light-app default (read/write) 2389952 2390016 64 0.0
.text 1348216 1348280 64 0.0
lock-app default (read/write) 2353416 2353480 64 0.0
.text 1311680 1311744 64 0.0
Decreases (37 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 75c7845 62ebd2f change % change
cyw30739 light cyw930739m2evb_01 (read/write) 592782 592462 -320 -0.1
.app_xip_area 498260 498164 -96 -0.0
.bss 77220 76996 -224 -0.3
lock cyw930739m2evb_01 (read/write) 550850 550522 -328 -0.1
.app_xip_area 457896 457792 -104 -0.0
.bss 75692 75468 -224 -0.3
ota-requestor cyw930739m2evb_01 (read/write) 569362 569034 -328 -0.1
.app_xip_area 467152 467048 -104 -0.0
.bss 84620 84396 -224 -0.3
efr32 lighting-app BRD4161A (read/write) 127384 127160 -224 -0.2
.bss 125352 125128 -224 -0.2
BRD4161A+rpc (read/write) 144304 144080 -224 -0.2
.bss 142128 141904 -224 -0.2
window-app BRD4161A (read/write) 125444 125224 -220 -0.2
.bss 123544 123320 -224 -0.2
esp32 all-clusters-app c3devkit .dram0.bss 66408 66168 -240 -0.4
m5stack (read/write) 463896 463880 -16 -0.0
.dram0.bss 71552 71312 -240 -0.3
k32w light k32w061+release .bss 76656 76432 -224 -0.3
lock k32w061+release .bss 77048 76824 -224 -0.3
linux all-clusters-app debug .rodata 205797 205669 -128 -0.1
chip-tool debug (read/write) 245760 245376 -384 -0.2
.bss 32200 31816 -384 -1.2
.rodata 460085 459349 -736 -0.2
chip-tool-ipv6only arm64 (read/write) 353377 352993 -384 -0.1
.bss 50497 50113 -384 -0.8
.rodata 436108 435276 -832 -0.2
door-lock-app debug (read/write) 110488 110104 -384 -0.3
.bss 42000 41616 -384 -0.9
lighting-app debug+rpc (read/write) 115736 115448 -288 -0.2
.bss 43008 42720 -288 -0.7
ota-provider-app debug (read/write) 106200 105848 -352 -0.3
.bss 41856 41504 -352 -0.8
ota-requestor-app debug (read/write) 107288 106904 -384 -0.4
.bss 42144 41760 -384 -0.9
shell debug (read only) 2341673 2341641 -32 -0.0
.rodata 206674 206514 -160 -0.1
thermostat-no-ble arm64 (read/write) 140689 140337 -352 -0.3
.bss 57521 57169 -352 -0.6
tv-app debug .rodata 197669 197477 -192 -0.1
mbed all-clusters-app CY8CPROTO_062_4343W+release .bss 188476 188252 -224 -0.1
lighting-app CY8CPROTO_062_4343W+release .bss 181088 180864 -224 -0.1
lock-app CY8CPROTO_062_4343W+release .bss 180976 180752 -224 -0.1
shell CY8CPROTO_062_4343W+release .bss 178228 178004 -224 -0.1
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1016131 1015827 -304 -0.0
bss 121412 121188 -224 -0.2
text 695660 695616 -44 -0.0
nrf52840dk_nrf52840+rpc (read/write) 985407 985103 -304 -0.0
bss 118600 118376 -224 -0.2
text 675548 675508 -40 -0.0
nrf52840dongle_nrf52840 (read/write) 1031991 1031687 -304 -0.0
bss 122800 122576 -224 -0.2
text 700280 700236 -44 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 922774 922502 -272 -0.0
bss 117976 117752 -224 -0.2
text 610684 610636 -48 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 945859 945683 -176 -0.0
bss 119784 119560 -224 -0.2
text 638692 638652 -40 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853386 853114 -272 -0.0
bss 116376 116152 -224 -0.2
text 554492 554444 -48 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 944679 944375 -304 -0.0
bss 119504 119280 -224 -0.2
text 638748 638708 -40 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 940623 940335 -288 -0.0
bss 119508 119284 -224 -0.2
text 634988 634948 -40 -0.0
shell nrf52840dk_nrf52840 (read/write) 807179 807147 -32 -0.0
text 539280 539244 -36 -0.0
p6 all-clusters-app default .bss 117744 117520 -224 -0.2
light-app default .bss 107392 107168 -224 -0.2
lock-app default .bss 107112 106888 -224 -0.2
telink lighting-app tlsr9518adk80d (read/write) 875102 874782 -320 -0.0
bss 88736 88496 -240 -0.3
text 614832 614746 -86 -0.0
Full report (40 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 75c7845 62ebd2f change % change
cyw30739 light cyw930739m2evb_01 (read/write) 592782 592462 -320 -0.1
.app_xip_area 498260 498164 -96 -0.0
.bss 77220 76996 -224 -0.3
.data 644 644 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 550850 550522 -328 -0.1
.app_xip_area 457896 457792 -104 -0.0
.bss 75692 75468 -224 -0.3
.data 608 608 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 569362 569034 -328 -0.1
.app_xip_area 467152 467048 -104 -0.0
.bss 84620 84396 -224 -0.3
.data 552 552 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 909216 909484 268 0.0
(read/write) 127384 127160 -224 -0.2
.bss 125352 125128 -224 -0.2
.data 2032 2032 0 0.0
.text 909208 909476 268 0.0
BRD4161A+rpc (read only) 937912 938200 288 0.0
(read/write) 144304 144080 -224 -0.2
.bss 142128 141904 -224 -0.2
.data 2172 2172 0 0.0
.text 937904 938192 288 0.0
window-app BRD4161A (read only) 844388 844656 268 0.0
(read/write) 125444 125224 -220 -0.2
.bss 123544 123320 -224 -0.2
.data 1900 1900 0 0.0
.text 844380 844648 268 0.0
esp32 all-clusters-app c3devkit (read only) 944966 945166 200 0.0
(read/write) 1398610 1398610 0 0.0
.dram0.bss 66408 66168 -240 -0.4
.dram0.data 14268 14268 0 0.0
.flash.rodata 199032 199272 240 0.1
.flash.text 944966 945166 200 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 994959 995159 200 0.0
(read/write) 463896 463880 -16 -0.0
.dram0.bss 71552 71312 -240 -0.3
.dram0.data 34064 34064 0 0.0
.flash.rodata 226152 226376 224 0.1
.flash.text 989575 989775 200 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 683252 683392 140 0.0
.bss 76656 76432 -224 -0.3
.data 1904 1904 0 0.0
.text 598892 599256 364 0.1
lock k32w061+release (read/write) 688804 688928 124 0.0
.bss 77048 76824 -224 -0.3
.data 1948 1948 0 0.0
.text 604008 604356 348 0.1
linux all-clusters-app debug (read only) 2357313 2357393 80 0.0
(read/write) 140000 140128 128 0.1
.bss 54528 54656 128 0.2
.data 1296 1296 0 0.0
.data.rel.ro 78504 78504 0 0.0
.dynamic 592 592 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205797 205669 -128 -0.1
.text 1989170 1989378 208 0.0
bridge-app debug+rpc (read only) 1726317 1726477 160 0.0
(read/write) 84200 84200 0 0.0
.bss 38928 38928 0 0.0
.data 2034 2034 0 0.0
.data.rel.ro 38080 38080 0 0.0
.dynamic 592 592 0 0.0
.got 3976 3976 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 141676 141708 32 0.0
.text 1468021 1468149 128 0.0
chip-tool debug (read only) 8442845 8443389 544 0.0
(read/write) 245760 245376 -384 -0.2
.bss 32200 31816 -384 -1.2
.data 1184 1184 0 0.0
.data.rel.ro 206352 206352 0 0.0
.dynamic 608 608 0 0.0
.got 4784 4784 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 460085 459349 -736 -0.2
.text 7467173 7468453 1280 0.0
chip-tool-ipv6only arm64 (read only) 8245380 8245588 208 0.0
(read/write) 353377 352993 -384 -0.1
.bss 50497 50113 -384 -0.8
.data 1216 1216 0 0.0
.data.rel.ro 248800 248800 0 0.0
.dynamic 560 560 0 0.0
.got 49064 49064 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 436108 435276 -832 -0.2
.text 7048004 7049044 1040 0.0
door-lock-app debug (read only) 1931473 1931729 256 0.0
(read/write) 110488 110104 -384 -0.3
.bss 42000 41616 -384 -0.9
.data 1010 1010 0 0.0
.data.rel.ro 62080 62080 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 173074 173106 32 0.0
.text 1609810 1610034 224 0.0
lighting-app debug+rpc (read only) 2055121 2055377 256 0.0
(read/write) 115736 115448 -288 -0.2
.bss 43008 42720 -288 -0.7
.data 1400 1400 0 0.0
.data.rel.ro 65832 65832 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 165393 165425 32 0.0
.text 1734914 1735138 224 0.0
ota-provider-app debug (read only) 1864289 1864529 240 0.0
(read/write) 106200 105848 -352 -0.3
.bss 41856 41504 -352 -0.8
.data 1224 1224 0 0.0
.data.rel.ro 57480 57480 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 157643 157675 32 0.0
.text 1555986 1556194 208 0.0
ota-requestor-app debug (read only) 1859697 1859985 288 0.0
(read/write) 107288 106904 -384 -0.4
.bss 42144 41760 -384 -0.9
.data 1160 1160 0 0.0
.data.rel.ro 58536 58536 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 151196 151260 64 0.0
.text 1559586 1559810 224 0.0
shell debug (read only) 2341673 2341641 -32 -0.0
(read/write) 141488 141616 128 0.1
.bss 61792 61920 128 0.2
.data 832 832 0 0.0
.data.rel.ro 73192 73192 0 0.0
.dynamic 592 592 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 206674 206514 -160 -0.1
.text 1978146 1978274 128 0.0
thermostat-no-ble arm64 (read only) 2151132 2151228 96 0.0
(read/write) 140689 140337 -352 -0.3
.bss 57521 57169 -352 -0.6
.data 1032 1032 0 0.0
.data.rel.ro 75024 75024 0 0.0
.dynamic 560 560 0 0.0
.got 4144 4144 0 0.0
.init 24 24 0 0.0
.init_array 328 328 0 0.0
.rodata 132908 132940 32 0.0
.text 1799968 1800032 64 0.0
tv-app debug (read only) 2529257 2529257 0 0.0
(read/write) 139392 140960 1568 1.1
.bss 57152 58720 1568 2.7
.data 3200 3200 0 0.0
.data.rel.ro 73008 73008 0 0.0
.dynamic 592 592 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 197669 197477 -192 -0.1
.text 2158546 2158738 192 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2398112 2398112 0 0.0
.bss 188476 188252 -224 -0.1
.data 5320 5320 0 0.0
.text 1360712 1360712 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360344 2360344 0 0.0
.bss 181088 180864 -224 -0.1
.data 5624 5624 0 0.0
.text 1322944 1322944 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2323872 2323872 0 0.0
.bss 180976 180752 -224 -0.1
.data 5600 5600 0 0.0
.text 1286472 1286472 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139648 1139648 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103032 103032 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2308900 2308900 0 0.0
.bss 178228 178004 -224 -0.1
.data 5424 5424 0 0.0
.text 1271472 1271472 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1016131 1015827 -304 -0.0
bss 121412 121188 -224 -0.2
rodata 120096 120096 0 0.0
text 695660 695616 -44 -0.0
nrf52840dk_nrf52840+rpc (read/write) 985407 985103 -304 -0.0
bss 118600 118376 -224 -0.2
rodata 111620 111620 0 0.0
text 675548 675508 -40 -0.0
nrf52840dongle_nrf52840 (read/write) 1031991 1031687 -304 -0.0
bss 122800 122576 -224 -0.2
rodata 118976 118976 0 0.0
text 700280 700236 -44 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 922774 922502 -272 -0.0
bss 117976 117752 -224 -0.2
rodata 113336 113336 0 0.0
text 610684 610636 -48 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 945859 945683 -176 -0.0
bss 119784 119560 -224 -0.2
rodata 108856 108856 0 0.0
text 638692 638652 -40 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853386 853114 -272 -0.0
bss 116376 116152 -224 -0.2
rodata 102028 102028 0 0.0
text 554492 554444 -48 -0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 527595 527595 0 0.0
bss 53632 53632 0 0.0
rodata 49976 49976 0 0.0
text 361016 361016 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 944679 944375 -304 -0.0
bss 119504 119280 -224 -0.2
rodata 107812 107812 0 0.0
text 638748 638708 -40 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 940623 940335 -288 -0.0
bss 119508 119284 -224 -0.2
rodata 107508 107508 0 0.0
text 634988 634948 -40 -0.0
shell nrf52840dk_nrf52840 (read/write) 807179 807147 -32 -0.0
bss 111216 111216 0 0.0
rodata 79104 79104 0 0.0
text 539280 539244 -36 -0.0
p6 all-clusters-app default (read/write) 2483136 2483200 64 0.0
.bss 117744 117520 -224 -0.2
.data 2672 2672 0 0.0
.text 1441400 1441464 64 0.0
light-app default (read/write) 2389952 2390016 64 0.0
.bss 107392 107168 -224 -0.2
.data 2520 2520 0 0.0
.text 1348216 1348280 64 0.0
lock-app default (read/write) 2353416 2353480 64 0.0
.bss 107112 106888 -224 -0.2
.data 2480 2480 0 0.0
.text 1311680 1311744 64 0.0
telink lighting-app tlsr9518adk80d (read/write) 875102 874782 -320 -0.0
bss 88736 88496 -240 -0.3
noinit 37160 37160 0 0.0
text 614832 614746 -86 -0.0

@github-actions
Copy link

github-actions bot commented Feb 14, 2022

PR #15152: Size comparison from d1c7e85 to 29c87a5

Increases (18 builds for efr32, esp32, k32w, linux)
platform target config section d1c7e85 29c87a5 change % change
efr32 lighting-app BRD4161A (read only) 909056 909612 556 0.1
.text 909048 909604 556 0.1
BRD4161A+rpc (read only) 937752 938312 560 0.1
.text 937744 938304 560 0.1
window-app BRD4161A (read only) 844244 844784 540 0.1
(read/write) 125220 125224 4 0.0
.text 844236 844776 540 0.1
esp32 all-clusters-app c3devkit (read only) 944980 945194 214 0.0
(read/write) 1398370 1398690 320 0.0
.flash.rodata 199032 199352 320 0.2
.flash.text 944980 945194 214 0.0
m5stack (read only) 994991 995175 184 0.0
(read/write) 463656 463960 304 0.1
.flash.rodata 226152 226456 304 0.1
.flash.text 989607 989791 184 0.0
k32w light k32w061+release (read/write) 682980 683524 544 0.1
.text 598844 599388 544 0.1
lock k32w061+release (read/write) 688532 689056 524 0.1
.text 603960 604484 524 0.1
linux all-clusters-app debug (read only) 2357297 2357409 112 0.0
.rodata 205637 205669 32 0.0
.text 1989314 1989394 80 0.0
bridge-app debug+rpc (read only) 1726381 1726493 112 0.0
.rodata 141676 141708 32 0.0
.text 1468085 1468165 80 0.0
chip-tool debug (read only) 8541269 8541349 80 0.0
.rodata 459317 459349 32 0.0
.text 7565653 7565701 48 0.0
chip-tool-ipv6only arm64 (read only) 8302276 8302308 32 0.0
.text 7104788 7104820 32 0.0
door-lock-app debug (read only) 1931633 1931745 112 0.0
.rodata 173074 173106 32 0.0
.text 1609970 1610050 80 0.0
lighting-app debug+rpc (read only) 2055281 2055393 112 0.0
.rodata 165393 165425 32 0.0
.text 1735074 1735154 80 0.0
ota-provider-app debug (read only) 1864433 1864545 112 0.0
.rodata 157643 157675 32 0.0
.text 1556130 1556210 80 0.0
ota-requestor-app debug (read only) 1859857 1860001 144 0.0
.rodata 151196 151260 64 0.0
.text 1559746 1559826 80 0.0
shell debug (read only) 2341545 2341657 112 0.0
.rodata 206482 206514 32 0.0
.text 1978210 1978290 80 0.0
thermostat-no-ble arm64 (read only) 2151148 2151244 96 0.0
.rodata 132908 132940 32 0.0
.text 1799984 1800048 64 0.0
tv-app debug (read only) 2529193 2529273 80 0.0
.text 2158674 2158754 80 0.0
Full report (40 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section d1c7e85 29c87a5 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 592462 592462 0 0.0
.app_xip_area 498164 498164 0 0.0
.bss 76996 76996 0 0.0
.data 644 644 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 550522 550522 0 0.0
.app_xip_area 457792 457792 0 0.0
.bss 75468 75468 0 0.0
.data 608 608 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 569034 569034 0 0.0
.app_xip_area 467048 467048 0 0.0
.bss 84396 84396 0 0.0
.data 552 552 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 909056 909612 556 0.1
(read/write) 127160 127160 0 0.0
.bss 125128 125128 0 0.0
.data 2032 2032 0 0.0
.text 909048 909604 556 0.1
BRD4161A+rpc (read only) 937752 938312 560 0.1
(read/write) 144080 144080 0 0.0
.bss 141904 141904 0 0.0
.data 2172 2172 0 0.0
.text 937744 938304 560 0.1
window-app BRD4161A (read only) 844244 844784 540 0.1
(read/write) 125220 125224 4 0.0
.bss 123320 123320 0 0.0
.data 1900 1900 0 0.0
.text 844236 844776 540 0.1
esp32 all-clusters-app c3devkit (read only) 944980 945194 214 0.0
(read/write) 1398370 1398690 320 0.0
.dram0.bss 66168 66168 0 0.0
.dram0.data 14268 14268 0 0.0
.flash.rodata 199032 199352 320 0.2
.flash.text 944980 945194 214 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 994991 995175 184 0.0
(read/write) 463656 463960 304 0.1
.dram0.bss 71312 71312 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226152 226456 304 0.1
.flash.text 989607 989791 184 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 682980 683524 544 0.1
.bss 76432 76432 0 0.0
.data 1904 1904 0 0.0
.text 598844 599388 544 0.1
lock k32w061+release (read/write) 688532 689056 524 0.1
.bss 76824 76824 0 0.0
.data 1948 1948 0 0.0
.text 603960 604484 524 0.1
linux all-clusters-app debug (read only) 2357297 2357409 112 0.0
(read/write) 140128 140128 0 0.0
.bss 54656 54656 0 0.0
.data 1296 1296 0 0.0
.data.rel.ro 78504 78504 0 0.0
.dynamic 592 592 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205637 205669 32 0.0
.text 1989314 1989394 80 0.0
bridge-app debug+rpc (read only) 1726381 1726493 112 0.0
(read/write) 84200 84200 0 0.0
.bss 38928 38928 0 0.0
.data 2034 2034 0 0.0
.data.rel.ro 38080 38080 0 0.0
.dynamic 592 592 0 0.0
.got 3976 3976 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 141676 141708 32 0.0
.text 1468085 1468165 80 0.0
chip-tool debug (read only) 8541269 8541349 80 0.0
(read/write) 245824 245824 0 0.0
.bss 31816 31816 0 0.0
.data 1184 1184 0 0.0
.data.rel.ro 206768 206768 0 0.0
.dynamic 608 608 0 0.0
.got 4792 4792 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 459317 459349 32 0.0
.text 7565653 7565701 48 0.0
chip-tool-ipv6only arm64 (read only) 8302276 8302308 32 0.0
(read/write) 353505 353505 0 0.0
.bss 50113 50113 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 249216 249216 0 0.0
.dynamic 560 560 0 0.0
.got 49168 49168 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 435292 435292 0 0.0
.text 7104788 7104820 32 0.0
door-lock-app debug (read only) 1931633 1931745 112 0.0
(read/write) 110104 110104 0 0.0
.bss 41616 41616 0 0.0
.data 1010 1010 0 0.0
.data.rel.ro 62080 62080 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 173074 173106 32 0.0
.text 1609970 1610050 80 0.0
lighting-app debug+rpc (read only) 2055281 2055393 112 0.0
(read/write) 115448 115448 0 0.0
.bss 42720 42720 0 0.0
.data 1400 1400 0 0.0
.data.rel.ro 65832 65832 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 165393 165425 32 0.0
.text 1735074 1735154 80 0.0
ota-provider-app debug (read only) 1864433 1864545 112 0.0
(read/write) 105848 105848 0 0.0
.bss 41504 41504 0 0.0
.data 1224 1224 0 0.0
.data.rel.ro 57480 57480 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 157643 157675 32 0.0
.text 1556130 1556210 80 0.0
ota-requestor-app debug (read only) 1859857 1860001 144 0.0
(read/write) 106904 106904 0 0.0
.bss 41760 41760 0 0.0
.data 1160 1160 0 0.0
.data.rel.ro 58536 58536 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 151196 151260 64 0.0
.text 1559746 1559826 80 0.0
shell debug (read only) 2341545 2341657 112 0.0
(read/write) 141616 141616 0 0.0
.bss 61920 61920 0 0.0
.data 832 832 0 0.0
.data.rel.ro 73192 73192 0 0.0
.dynamic 592 592 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 206482 206514 32 0.0
.text 1978210 1978290 80 0.0
thermostat-no-ble arm64 (read only) 2151148 2151244 96 0.0
(read/write) 140337 140337 0 0.0
.bss 57169 57169 0 0.0
.data 1032 1032 0 0.0
.data.rel.ro 75024 75024 0 0.0
.dynamic 560 560 0 0.0
.got 4144 4144 0 0.0
.init 24 24 0 0.0
.init_array 328 328 0 0.0
.rodata 132908 132940 32 0.0
.text 1799984 1800048 64 0.0
tv-app debug (read only) 2529193 2529273 80 0.0
(read/write) 140960 140960 0 0.0
.bss 58720 58720 0 0.0
.data 3200 3200 0 0.0
.data.rel.ro 73008 73008 0 0.0
.dynamic 592 592 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 197477 197477 0 0.0
.text 2158674 2158754 80 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2398112 2398112 0 0.0
.bss 188252 188252 0 0.0
.data 5320 5320 0 0.0
.text 1360712 1360712 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360344 2360344 0 0.0
.bss 180864 180864 0 0.0
.data 5624 5624 0 0.0
.text 1322944 1322944 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2323872 2323872 0 0.0
.bss 180752 180752 0 0.0
.data 5600 5600 0 0.0
.text 1286472 1286472 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139648 1139648 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103032 103032 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2308900 2308900 0 0.0
.bss 178004 178004 0 0.0
.data 5424 5424 0 0.0
.text 1271472 1271472 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1015827 1015827 0 0.0
bss 121188 121188 0 0.0
rodata 120096 120096 0 0.0
text 695616 695616 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 985103 985103 0 0.0
bss 118376 118376 0 0.0
rodata 111620 111620 0 0.0
text 675508 675508 0 0.0
nrf52840dongle_nrf52840 (read/write) 1031687 1031687 0 0.0
bss 122576 122576 0 0.0
rodata 118976 118976 0 0.0
text 700236 700236 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 922502 922502 0 0.0
bss 117752 117752 0 0.0
rodata 113336 113336 0 0.0
text 610636 610636 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 945683 945683 0 0.0
bss 119560 119560 0 0.0
rodata 108856 108856 0 0.0
text 638652 638652 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853114 853114 0 0.0
bss 116152 116152 0 0.0
rodata 102028 102028 0 0.0
text 554444 554444 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 527595 527595 0 0.0
bss 53632 53632 0 0.0
rodata 49976 49976 0 0.0
text 361016 361016 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 944375 944375 0 0.0
bss 119280 119280 0 0.0
rodata 107812 107812 0 0.0
text 638708 638708 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 940335 940335 0 0.0
bss 119284 119284 0 0.0
rodata 107508 107508 0 0.0
text 634948 634948 0 0.0
shell nrf52840dk_nrf52840 (read/write) 807147 807147 0 0.0
bss 111216 111216 0 0.0
rodata 79104 79104 0 0.0
text 539244 539244 0 0.0
p6 all-clusters-app default (read/write) 2483200 2483200 0 0.0
.bss 117520 117520 0 0.0
.data 2672 2672 0 0.0
.text 1441464 1441464 0 0.0
light-app default (read/write) 2390016 2390016 0 0.0
.bss 107168 107168 0 0.0
.data 2520 2520 0 0.0
.text 1348280 1348280 0 0.0
lock-app default (read/write) 2353480 2353480 0 0.0
.bss 106888 106888 0 0.0
.data 2480 2480 0 0.0
.text 1311744 1311744 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 874782 874782 0 0.0
bss 88496 88496 0 0.0
noinit 37160 37160 0 0.0
text 614746 614746 0 0.0

@github-actions
Copy link

github-actions bot commented Feb 15, 2022

PR #15152: Size comparison from 6ad78e2 to e5e1a80

Increases (18 builds for efr32, esp32, k32w, linux)
platform target config section 6ad78e2 e5e1a80 change % change
efr32 lighting-app BRD4161A (read only) 909912 910468 556 0.1
.text 909904 910460 556 0.1
BRD4161A+rpc (read only) 938632 939192 560 0.1
.text 938624 939184 560 0.1
window-app BRD4161A (read only) 845156 845680 524 0.1
(read/write) 125300 125304 4 0.0
.text 845148 845672 524 0.1
esp32 all-clusters-app c3devkit (read only) 945792 946006 214 0.0
(read/write) 1398562 1398882 320 0.0
.flash.rodata 199144 199464 320 0.2
.flash.text 945792 946006 214 0.0
m5stack (read only) 995651 995839 188 0.0
(read/write) 463840 464144 304 0.1
.flash.rodata 226256 226560 304 0.1
.flash.text 990267 990455 188 0.0
k32w light k32w061+release (read/write) 683848 684376 528 0.1
.text 599632 600160 528 0.1
lock k32w061+release (read/write) 689396 689904 508 0.1
.text 604744 605252 508 0.1
linux all-clusters-app debug (read only) 2361649 2361761 112 0.0
.rodata 205861 205893 32 0.0
.text 1993442 1993522 80 0.0
bridge-app debug+rpc (read only) 1727965 1728077 112 0.0
.rodata 141836 141868 32 0.0
.text 1469509 1469589 80 0.0
chip-tool debug (read only) 8550773 8550837 64 0.0
.rodata 459509 459541 32 0.0
.text 7574869 7574901 32 0.0
chip-tool-ipv6only arm64 (read only) 8311060 8311092 32 0.0
.text 7113076 7113108 32 0.0
door-lock-app debug (read only) 1933265 1933377 112 0.0
.rodata 173298 173330 32 0.0
.text 1611378 1611458 80 0.0
lighting-app debug+rpc (read only) 2056945 2057025 80 0.0
.text 1736482 1736562 80 0.0
ota-provider-app debug (read only) 1866049 1866161 112 0.0
.rodata 157835 157867 32 0.0
.text 1557554 1557634 80 0.0
ota-requestor-app debug (read only) 1861489 1861601 112 0.0
.rodata 151420 151452 32 0.0
.text 1561154 1561234 80 0.0
shell debug (read only) 2343209 2343321 112 0.0
.rodata 206738 206770 32 0.0
.text 1979618 1979698 80 0.0
thermostat-no-ble arm64 (read only) 2152684 2152780 96 0.0
.rodata 133020 133052 32 0.0
.text 1801408 1801472 64 0.0
tv-app debug (read only) 2530809 2530873 64 0.0
.text 2160098 2160162 64 0.0
Full report (43 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 6ad78e2 e5e1a80 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 593150 593150 0 0.0
.app_xip_area 498772 498772 0 0.0
.bss 77076 77076 0 0.0
.data 644 644 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 551210 551210 0 0.0
.app_xip_area 458400 458400 0 0.0
.bss 75548 75548 0 0.0
.data 608 608 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 569726 569726 0 0.0
.app_xip_area 467660 467660 0 0.0
.bss 84476 84476 0 0.0
.data 552 552 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 909912 910468 556 0.1
(read/write) 127240 127240 0 0.0
.bss 125208 125208 0 0.0
.data 2032 2032 0 0.0
.text 909904 910460 556 0.1
BRD4161A+rpc (read only) 938632 939192 560 0.1
(read/write) 144160 144160 0 0.0
.bss 141984 141984 0 0.0
.data 2172 2172 0 0.0
.text 938624 939184 560 0.1
window-app BRD4161A (read only) 845156 845680 524 0.1
(read/write) 125300 125304 4 0.0
.bss 123400 123400 0 0.0
.data 1900 1900 0 0.0
.text 845148 845672 524 0.1
esp32 all-clusters-app c3devkit (read only) 945792 946006 214 0.0
(read/write) 1398562 1398882 320 0.0
.dram0.bss 66248 66248 0 0.0
.dram0.data 14268 14268 0 0.0
.flash.rodata 199144 199464 320 0.2
.flash.text 945792 946006 214 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 995651 995839 188 0.0
(read/write) 463840 464144 304 0.1
.dram0.bss 71392 71392 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226256 226560 304 0.1
.flash.text 990267 990455 188 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 683848 684376 528 0.1
.bss 76512 76512 0 0.0
.data 1904 1904 0 0.0
.text 599632 600160 528 0.1
lock k32w061+release (read/write) 689396 689904 508 0.1
.bss 76904 76904 0 0.0
.data 1948 1948 0 0.0
.text 604744 605252 508 0.1
linux all-clusters-app debug (read only) 2361649 2361761 112 0.0
(read/write) 140288 140288 0 0.0
.bss 54816 54816 0 0.0
.data 1296 1296 0 0.0
.data.rel.ro 78504 78504 0 0.0
.dynamic 592 592 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205861 205893 32 0.0
.text 1993442 1993522 80 0.0
bridge-app debug+rpc (read only) 1727965 1728077 112 0.0
(read/write) 84200 84200 0 0.0
.bss 38928 38928 0 0.0
.data 2034 2034 0 0.0
.data.rel.ro 38080 38080 0 0.0
.dynamic 592 592 0 0.0
.got 3976 3976 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 141836 141868 32 0.0
.text 1469509 1469589 80 0.0
chip-tool debug (read only) 8550773 8550837 64 0.0
(read/write) 245888 245888 0 0.0
.bss 31816 31816 0 0.0
.data 1184 1184 0 0.0
.data.rel.ro 206832 206832 0 0.0
.dynamic 608 608 0 0.0
.got 4792 4792 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 459509 459541 32 0.0
.text 7574869 7574901 32 0.0
chip-tool-ipv6only arm64 (read only) 8311060 8311092 32 0.0
(read/write) 353649 353649 0 0.0
.bss 50113 50113 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 249304 249304 0 0.0
.dynamic 560 560 0 0.0
.got 49224 49224 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 435500 435500 0 0.0
.text 7113076 7113108 32 0.0
door-lock-app debug (read only) 1933265 1933377 112 0.0
(read/write) 110104 110104 0 0.0
.bss 41616 41616 0 0.0
.data 1010 1010 0 0.0
.data.rel.ro 62080 62080 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 173298 173330 32 0.0
.text 1611378 1611458 80 0.0
lighting-app debug+rpc (read only) 2056945 2057025 80 0.0
(read/write) 115448 115448 0 0.0
.bss 42720 42720 0 0.0
.data 1400 1400 0 0.0
.data.rel.ro 65832 65832 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 165649 165649 0 0.0
.text 1736482 1736562 80 0.0
ota-provider-app debug (read only) 1866049 1866161 112 0.0
(read/write) 105848 105848 0 0.0
.bss 41504 41504 0 0.0
.data 1224 1224 0 0.0
.data.rel.ro 57480 57480 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 157835 157867 32 0.0
.text 1557554 1557634 80 0.0
ota-requestor-app debug (read only) 1861489 1861601 112 0.0
(read/write) 106904 106904 0 0.0
.bss 41760 41760 0 0.0
.data 1160 1160 0 0.0
.data.rel.ro 58536 58536 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 151420 151452 32 0.0
.text 1561154 1561234 80 0.0
shell debug (read only) 2343209 2343321 112 0.0
(read/write) 141616 141616 0 0.0
.bss 61920 61920 0 0.0
.data 832 832 0 0.0
.data.rel.ro 73192 73192 0 0.0
.dynamic 592 592 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 206738 206770 32 0.0
.text 1979618 1979698 80 0.0
thermostat-no-ble arm64 (read only) 2152684 2152780 96 0.0
(read/write) 140337 140337 0 0.0
.bss 57169 57169 0 0.0
.data 1032 1032 0 0.0
.data.rel.ro 75024 75024 0 0.0
.dynamic 560 560 0 0.0
.got 4144 4144 0 0.0
.init 24 24 0 0.0
.init_array 328 328 0 0.0
.rodata 133020 133052 32 0.0
.text 1801408 1801472 64 0.0
tv-app debug (read only) 2530809 2530873 64 0.0
(read/write) 140960 140960 0 0.0
.bss 58720 58720 0 0.0
.data 3200 3200 0 0.0
.data.rel.ro 73008 73008 0 0.0
.dynamic 592 592 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 197669 197669 0 0.0
.text 2160098 2160162 64 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2398544 2398544 0 0.0
.bss 188252 188252 0 0.0
.data 5320 5320 0 0.0
.text 1361144 1361144 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360768 2360768 0 0.0
.bss 180864 180864 0 0.0
.data 5624 5624 0 0.0
.text 1323368 1323368 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2324368 2324368 0 0.0
.bss 180752 180752 0 0.0
.data 5600 5600 0 0.0
.text 1286968 1286968 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139648 1139648 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103032 103032 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2309324 2309324 0 0.0
.bss 178004 178004 0 0.0
.data 5424 5424 0 0.0
.text 1271896 1271896 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1016735 1016735 0 0.0
bss 121272 121272 0 0.0
rodata 120204 120204 0 0.0
text 696284 696284 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 986011 986011 0 0.0
bss 118460 118460 0 0.0
rodata 111728 111728 0 0.0
text 676172 676172 0 0.0
nrf52840dongle_nrf52840 (read/write) 1032595 1032595 0 0.0
bss 122660 122660 0 0.0
rodata 119084 119084 0 0.0
text 700904 700904 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 923378 923378 0 0.0
bss 117836 117836 0 0.0
rodata 113444 113444 0 0.0
text 611300 611300 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 946463 946463 0 0.0
bss 119644 119644 0 0.0
rodata 108964 108964 0 0.0
text 639316 639316 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853990 853990 0 0.0
bss 116236 116236 0 0.0
rodata 102136 102136 0 0.0
text 555108 555108 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 527595 527595 0 0.0
bss 53632 53632 0 0.0
rodata 49976 49976 0 0.0
text 361016 361016 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 945279 945279 0 0.0
bss 119364 119364 0 0.0
rodata 107916 107916 0 0.0
text 639372 639372 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 941227 941227 0 0.0
bss 119368 119368 0 0.0
rodata 107616 107616 0 0.0
text 635612 635612 0 0.0
shell nrf52840dk_nrf52840 (read/write) 807147 807147 0 0.0
bss 111216 111216 0 0.0
rodata 79104 79104 0 0.0
text 539244 539244 0 0.0
p6 all-clusters-app default (read/write) 2484072 2484072 0 0.0
.bss 117608 117608 0 0.0
.data 2672 2672 0 0.0
.text 1442336 1442336 0 0.0
light-app default (read/write) 2390920 2390920 0 0.0
.bss 107248 107248 0 0.0
.data 2520 2520 0 0.0
.text 1349184 1349184 0 0.0
lock-app default (read/write) 2354384 2354384 0 0.0
.bss 106976 106976 0 0.0
.data 2480 2480 0 0.0
.text 1312648 1312648 0 0.0
qpg lighting-app qpg6105+debug (read only) 595624 595624 0 0.0
(read/write) 146936 146936 0 0.0
.bss 88904 88904 0 0.0
.data 1108 1108 0 0.0
.text 590304 590304 0 0.0
lock-app qpg6105+debug (read only) 561360 561360 0 0.0
(read/write) 146936 146936 0 0.0
.bss 88888 88888 0 0.0
.data 1060 1060 0 0.0
.text 556040 556040 0 0.0
persistent-storage-app qpg6105+debug (read only) 99520 99520 0 0.0
(read/write) 146940 146940 0 0.0
.bss 24004 24004 0 0.0
.data 176 176 0 0.0
.text 94200 94200 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 875938 875938 0 0.0
bss 88580 88580 0 0.0
noinit 37160 37160 0 0.0
text 615704 615704 0 0.0

…butes.

Several changes here:

1) Add an assert that when attributes are being read/written the
   Matter stack lock is held, so the read/write does not race with
   interaction model messages touching the attribute store.
2) Implement the Matter stack lock assertion bits on FreeRTOS.
3) Add FreeRTOS to the set of configurations that actually enable
   Matter stack lock assertions.
4) For the configurations that enable the assertions, change the
   default behavior from "log" to "fatal", so we actually notice the
@github-actions
Copy link

github-actions bot commented Feb 15, 2022

PR #15152: Size comparison from a35b95a to 939cc1a

Increases (18 builds for efr32, esp32, k32w, linux)
platform target config section a35b95a 939cc1a change % change
efr32 lighting-app BRD4161A (read only) 909912 910468 556 0.1
.text 909904 910460 556 0.1
BRD4161A+rpc (read only) 938632 939192 560 0.1
.text 938624 939184 560 0.1
window-app BRD4161A (read only) 845156 845680 524 0.1
(read/write) 125300 125304 4 0.0
.text 845148 845672 524 0.1
esp32 all-clusters-app c3devkit (read only) 945792 946006 214 0.0
(read/write) 1398562 1398882 320 0.0
.flash.rodata 199144 199464 320 0.2
.flash.text 945792 946006 214 0.0
m5stack (read only) 995651 995839 188 0.0
(read/write) 463840 464144 304 0.1
.flash.rodata 226256 226560 304 0.1
.flash.text 990267 990455 188 0.0
k32w light k32w061+release (read/write) 683848 684376 528 0.1
.text 599632 600160 528 0.1
lock k32w061+release (read/write) 689396 689904 508 0.1
.text 604744 605252 508 0.1
linux all-clusters-app debug (read only) 2361649 2361761 112 0.0
.rodata 205861 205893 32 0.0
.text 1993442 1993522 80 0.0
bridge-app debug+rpc (read only) 1727965 1728077 112 0.0
.rodata 141836 141868 32 0.0
.text 1469509 1469589 80 0.0
chip-tool debug (read only) 8552101 8552181 80 0.0
.rodata 459509 459541 32 0.0
.text 7576101 7576149 48 0.0
chip-tool-ipv6only arm64 (read only) 8312388 8312420 32 0.0
.text 7114260 7114292 32 0.0
door-lock-app debug (read only) 1933265 1933377 112 0.0
.rodata 173298 173330 32 0.0
.text 1611378 1611458 80 0.0
lighting-app debug+rpc (read only) 2056945 2057025 80 0.0
.text 1736482 1736562 80 0.0
ota-provider-app debug (read only) 1866049 1866161 112 0.0
.rodata 157835 157867 32 0.0
.text 1557554 1557634 80 0.0
ota-requestor-app debug (read only) 1861489 1861601 112 0.0
.rodata 151420 151452 32 0.0
.text 1561154 1561234 80 0.0
shell debug (read only) 2343209 2343321 112 0.0
.rodata 206738 206770 32 0.0
.text 1979618 1979698 80 0.0
thermostat-no-ble arm64 (read only) 2152684 2152780 96 0.0
.rodata 133020 133052 32 0.0
.text 1801408 1801472 64 0.0
tv-app debug (read only) 2530809 2530873 64 0.0
.text 2160098 2160162 64 0.0
Full report (43 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section a35b95a 939cc1a change % change
cyw30739 light cyw930739m2evb_01 (read/write) 593150 593150 0 0.0
.app_xip_area 498772 498772 0 0.0
.bss 77076 77076 0 0.0
.data 644 644 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 551210 551210 0 0.0
.app_xip_area 458400 458400 0 0.0
.bss 75548 75548 0 0.0
.data 608 608 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 569726 569726 0 0.0
.app_xip_area 467660 467660 0 0.0
.bss 84476 84476 0 0.0
.data 552 552 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 909912 910468 556 0.1
(read/write) 127240 127240 0 0.0
.bss 125208 125208 0 0.0
.data 2032 2032 0 0.0
.text 909904 910460 556 0.1
BRD4161A+rpc (read only) 938632 939192 560 0.1
(read/write) 144160 144160 0 0.0
.bss 141984 141984 0 0.0
.data 2172 2172 0 0.0
.text 938624 939184 560 0.1
window-app BRD4161A (read only) 845156 845680 524 0.1
(read/write) 125300 125304 4 0.0
.bss 123400 123400 0 0.0
.data 1900 1900 0 0.0
.text 845148 845672 524 0.1
esp32 all-clusters-app c3devkit (read only) 945792 946006 214 0.0
(read/write) 1398562 1398882 320 0.0
.dram0.bss 66248 66248 0 0.0
.dram0.data 14268 14268 0 0.0
.flash.rodata 199144 199464 320 0.2
.flash.text 945792 946006 214 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 995651 995839 188 0.0
(read/write) 463840 464144 304 0.1
.dram0.bss 71392 71392 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226256 226560 304 0.1
.flash.text 990267 990455 188 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 683848 684376 528 0.1
.bss 76512 76512 0 0.0
.data 1904 1904 0 0.0
.text 599632 600160 528 0.1
lock k32w061+release (read/write) 689396 689904 508 0.1
.bss 76904 76904 0 0.0
.data 1948 1948 0 0.0
.text 604744 605252 508 0.1
linux all-clusters-app debug (read only) 2361649 2361761 112 0.0
(read/write) 140288 140288 0 0.0
.bss 54816 54816 0 0.0
.data 1296 1296 0 0.0
.data.rel.ro 78504 78504 0 0.0
.dynamic 592 592 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205861 205893 32 0.0
.text 1993442 1993522 80 0.0
bridge-app debug+rpc (read only) 1727965 1728077 112 0.0
(read/write) 84200 84200 0 0.0
.bss 38928 38928 0 0.0
.data 2034 2034 0 0.0
.data.rel.ro 38080 38080 0 0.0
.dynamic 592 592 0 0.0
.got 3976 3976 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 141836 141868 32 0.0
.text 1469509 1469589 80 0.0
chip-tool debug (read only) 8552101 8552181 80 0.0
(read/write) 245952 245952 0 0.0
.bss 31816 31816 0 0.0
.data 1184 1184 0 0.0
.data.rel.ro 206896 206896 0 0.0
.dynamic 608 608 0 0.0
.got 4792 4792 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 459509 459541 32 0.0
.text 7576101 7576149 48 0.0
chip-tool-ipv6only arm64 (read only) 8312388 8312420 32 0.0
(read/write) 353729 353729 0 0.0
.bss 50113 50113 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 249368 249368 0 0.0
.dynamic 560 560 0 0.0
.got 49240 49240 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 435500 435500 0 0.0
.text 7114260 7114292 32 0.0
door-lock-app debug (read only) 1933265 1933377 112 0.0
(read/write) 110104 110104 0 0.0
.bss 41616 41616 0 0.0
.data 1010 1010 0 0.0
.data.rel.ro 62080 62080 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 173298 173330 32 0.0
.text 1611378 1611458 80 0.0
lighting-app debug+rpc (read only) 2056945 2057025 80 0.0
(read/write) 115448 115448 0 0.0
.bss 42720 42720 0 0.0
.data 1400 1400 0 0.0
.data.rel.ro 65832 65832 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 165649 165649 0 0.0
.text 1736482 1736562 80 0.0
ota-provider-app debug (read only) 1866049 1866161 112 0.0
(read/write) 105848 105848 0 0.0
.bss 41504 41504 0 0.0
.data 1224 1224 0 0.0
.data.rel.ro 57480 57480 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 157835 157867 32 0.0
.text 1557554 1557634 80 0.0
ota-requestor-app debug (read only) 1861489 1861601 112 0.0
(read/write) 106904 106904 0 0.0
.bss 41760 41760 0 0.0
.data 1160 1160 0 0.0
.data.rel.ro 58536 58536 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 151420 151452 32 0.0
.text 1561154 1561234 80 0.0
shell debug (read only) 2343209 2343321 112 0.0
(read/write) 141616 141616 0 0.0
.bss 61920 61920 0 0.0
.data 832 832 0 0.0
.data.rel.ro 73192 73192 0 0.0
.dynamic 592 592 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 206738 206770 32 0.0
.text 1979618 1979698 80 0.0
thermostat-no-ble arm64 (read only) 2152684 2152780 96 0.0
(read/write) 140337 140337 0 0.0
.bss 57169 57169 0 0.0
.data 1032 1032 0 0.0
.data.rel.ro 75024 75024 0 0.0
.dynamic 560 560 0 0.0
.got 4144 4144 0 0.0
.init 24 24 0 0.0
.init_array 328 328 0 0.0
.rodata 133020 133052 32 0.0
.text 1801408 1801472 64 0.0
tv-app debug (read only) 2530809 2530873 64 0.0
(read/write) 140960 140960 0 0.0
.bss 58720 58720 0 0.0
.data 3200 3200 0 0.0
.data.rel.ro 73008 73008 0 0.0
.dynamic 592 592 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 197669 197669 0 0.0
.text 2160098 2160162 64 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2398544 2398544 0 0.0
.bss 188252 188252 0 0.0
.data 5320 5320 0 0.0
.text 1361144 1361144 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360768 2360768 0 0.0
.bss 180864 180864 0 0.0
.data 5624 5624 0 0.0
.text 1323368 1323368 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2324368 2324368 0 0.0
.bss 180752 180752 0 0.0
.data 5600 5600 0 0.0
.text 1286968 1286968 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139648 1139648 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103032 103032 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2309324 2309324 0 0.0
.bss 178004 178004 0 0.0
.data 5424 5424 0 0.0
.text 1271896 1271896 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1016735 1016735 0 0.0
bss 121272 121272 0 0.0
rodata 120204 120204 0 0.0
text 696284 696284 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 986011 986011 0 0.0
bss 118460 118460 0 0.0
rodata 111728 111728 0 0.0
text 676172 676172 0 0.0
nrf52840dongle_nrf52840 (read/write) 1032595 1032595 0 0.0
bss 122660 122660 0 0.0
rodata 119084 119084 0 0.0
text 700904 700904 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 923378 923378 0 0.0
bss 117836 117836 0 0.0
rodata 113444 113444 0 0.0
text 611300 611300 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 946463 946463 0 0.0
bss 119644 119644 0 0.0
rodata 108964 108964 0 0.0
text 639316 639316 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853990 853990 0 0.0
bss 116236 116236 0 0.0
rodata 102136 102136 0 0.0
text 555108 555108 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 527595 527595 0 0.0
bss 53632 53632 0 0.0
rodata 49976 49976 0 0.0
text 361016 361016 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 945279 945279 0 0.0
bss 119364 119364 0 0.0
rodata 107916 107916 0 0.0
text 639372 639372 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 941227 941227 0 0.0
bss 119368 119368 0 0.0
rodata 107616 107616 0 0.0
text 635612 635612 0 0.0
shell nrf52840dk_nrf52840 (read/write) 807147 807147 0 0.0
bss 111216 111216 0 0.0
rodata 79104 79104 0 0.0
text 539244 539244 0 0.0
p6 all-clusters-app default (read/write) 2484072 2484072 0 0.0
.bss 117608 117608 0 0.0
.data 2672 2672 0 0.0
.text 1442336 1442336 0 0.0
light-app default (read/write) 2390920 2390920 0 0.0
.bss 107248 107248 0 0.0
.data 2520 2520 0 0.0
.text 1349184 1349184 0 0.0
lock-app default (read/write) 2354384 2354384 0 0.0
.bss 106976 106976 0 0.0
.data 2480 2480 0 0.0
.text 1312648 1312648 0 0.0
qpg lighting-app qpg6105+debug (read only) 595624 595624 0 0.0
(read/write) 146936 146936 0 0.0
.bss 88904 88904 0 0.0
.data 1108 1108 0 0.0
.text 590304 590304 0 0.0
lock-app qpg6105+debug (read only) 561360 561360 0 0.0
(read/write) 146936 146936 0 0.0
.bss 88888 88888 0 0.0
.data 1060 1060 0 0.0
.text 556040 556040 0 0.0
persistent-storage-app qpg6105+debug (read only) 99520 99520 0 0.0
(read/write) 146940 146940 0 0.0
.bss 24004 24004 0 0.0
.data 176 176 0 0.0
.text 94200 94200 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 875938 875938 0 0.0
bss 88580 88580 0 0.0
noinit 37160 37160 0 0.0
text 615704 615704 0 0.0

@andy31415 andy31415 merged commit 17dc4b0 into project-chip:master Feb 15, 2022
@bzbarsky-apple bzbarsky-apple deleted the chip-stack-locks branch February 15, 2022 14:53
jamesluo11 pushed a commit to jamesluo11/connectedhomeip that referenced this pull request Apr 26, 2022
…butes (project-chip#15152)

* Assert that the Matter stack lock is held while reading/writing attributes.

Several changes here:

1) Add an assert that when attributes are being read/written the
   Matter stack lock is held, so the read/write does not race with
   interaction model messages touching the attribute store.
2) Implement the Matter stack lock assertion bits on FreeRTOS.
3) Add FreeRTOS to the set of configurations that actually enable
   Matter stack lock assertions.
4) For the configurations that enable the assertions, change the
   default behavior from "log" to "fatal", so we actually notice the

* Remove stray debugging log.

* Make p6 and qpg CI compile.

* Also assert in MatterReportingAttributeChangeCallback.
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