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

Buffered List Chunk Reader #11705

Merged
merged 13 commits into from
Nov 20, 2021

Conversation

mrjerryjohns
Copy link
Contributor

Once list chunking is implemented on the server, clients will need to be updated to deal the the fact that lists will be delivered across separate AttributeDataIBs and potentially, across multiple messages.

To reduce the burden of doing this on clients, this commit creates an adapter class (BufferedReadCallback) that sits in between the application and the ReadClient and buffers up each list chunk before reconstituting them into a contiguous list and dispatching that up to the application.

This buffering is done natively in TLV. This avoids the need to understand the specifics of any data model types that the TLV will be decoded into.

We cannot do this buffering at the next level up (i.e at the cluster object level) since those objects are merely 'view' objects and not proper containers. Consequently, there is no way to 'patch' the state in those objects incrementally. By doing it at the TLV level, we can preserve the existing cluster object APIs, which is a significant win.

This PR does not actually fix the ReadClient to correctly handle AttributeDataIBs that contain list operations other than replace (i.e append). That should happen in a separate PR.

Tests: A TestBufferedReadCallback test that exercises all possible permutations of list and non list data to ensure the state machine is validated.

src/app/BufferedReadCallback.cpp Outdated Show resolved Hide resolved
src/app/BufferedReadCallback.cpp Outdated Show resolved Hide resolved
src/app/BufferedReadCallback.cpp Outdated Show resolved Hide resolved
src/app/BufferedReadCallback.cpp Show resolved Hide resolved
src/app/BufferedReadCallback.h Outdated Show resolved Hide resolved
src/app/ConcreteAttributePath.h Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Nov 19, 2021

PR #11705: Size comparison from ebadd33 to f2d7300

Increases above 0.2%:

platform target config section ebadd33 f2d7300 change % change
linux chip-tool debug (read only) 4986061 5002565 16504 0.3
(read/write) 166888 167592 704 0.4
.data.rel.ro 118672 119360 688 0.6
.text 4407093 4421221 14128 0.3
ota-requestor-app debug (read only) 1354465 1365681 11216 0.8
.data.rel.ro 26280 26408 128 0.5
.rodata 124968 125352 384 0.3
.text 1129522 1139954 10432 0.9
tv-app debug (read only) 1872785 1883865 11080 0.6
.text 1569762 1580146 10384 0.7
Increases (21 builds for efr32, esp32, k32w, linux, p6, qpg, telink)
platform target config section ebadd33 f2d7300 change % change
efr32 lighting-app BRD4161A (read only) 749960 750040 80 0.0
.text 749952 750032 80 0.0
BRD4161A+rpc (read only) 737484 737580 96 0.0
.text 737476 737572 96 0.0
lock-app BRD4161A (read only) 727016 727112 96 0.0
.text 727008 727104 96 0.0
window-app BRD4161A (read only) 728000 728096 96 0.0
.text 727992 728088 96 0.0
esp32 all-clusters-app c3devkit (read only) 828538 828618 80 0.0
.flash.text 828538 828618 80 0.0
m5stack (read only) 899595 899675 80 0.0
.flash.text 894211 894291 80 0.0
k32w lighting-app k32w061+se05x+release (read/write) 706872 706952 80 0.0
.text 621996 622076 80 0.0
lock-app k32w061+debug (read/write) 598312 598392 80 0.0
.text 522956 523036 80 0.0
shell k32w061+debug (read/write) 663656 663736 80 0.0
.text 577204 577284 80 0.0
linux all-clusters-app debug (read only) 1726153 1726681 528 0.0
.text 1455538 1456066 528 0.0
bridge-app debug+rpc (read only) 1321181 1321709 528 0.0
.text 1111845 1112373 528 0.0
chip-tool debug (read only) 4986061 5002565 16504 0.3
(read/write) 166888 167592 704 0.4
.data.rel.ro 118672 119360 688 0.6
.rodata 268458 268842 384 0.1
.text 4407093 4421221 14128 0.3
lighting-app debug+rpc (read only) 1590289 1590817 528 0.0
.text 1325730 1326258 528 0.0
ota-provider-app debug (read only) 1268729 1269273 544 0.0
.text 1057186 1057730 544 0.1
ota-requestor-app debug (read only) 1354465 1365681 11216 0.8
(read/write) 79392 79520 128 0.2
.data.rel.ro 26280 26408 128 0.5
.got 3992 4000 8 0.2
.rodata 124968 125352 384 0.3
.text 1129522 1139954 10432 0.9
tv-app debug (read only) 1872785 1883865 11080 0.6
(read/write) 318968 319096 128 0.0
.data.rel.ro 60144 60264 120 0.2
.rodata 157893 158277 384 0.2
.text 1569762 1580146 10384 0.7
p6 all-clusters-app default (read/write) 2297968 2298064 96 0.0
.text 1256232 1256328 96 0.0
lock-app default (read/write) 2215456 2215552 96 0.0
.text 1173720 1173816 96 0.0
qpg lighting-app qpg6100+debug (read only) 493688 493752 64 0.0
.text 488368 488432 64 0.0
lock-app qpg6100+debug (read only) 468652 468732 80 0.0
.text 463332 463412 80 0.0
telink lighting-app tlsr9518adk80d (read/write) 768010 768082 72 0.0
text 533194 533272 78 0.0
Full report (23 builds for efr32, esp32, k32w, linux, p6, qpg, telink)
platform target config section ebadd33 f2d7300 change % change
efr32 lighting-app BRD4161A (read only) 749960 750040 80 0.0
(read/write) 115540 115540 0 0.0
.bss 113740 113740 0 0.0
.data 1800 1800 0 0.0
.text 749952 750032 80 0.0
BRD4161A+rpc (read only) 737484 737580 96 0.0
(read/write) 132168 132168 0 0.0
.bss 130244 130244 0 0.0
.data 1924 1924 0 0.0
.text 737476 737572 96 0.0
lock-app BRD4161A (read only) 727016 727112 96 0.0
(read/write) 113324 113324 0 0.0
.bss 111564 111564 0 0.0
.data 1756 1756 0 0.0
.text 727008 727104 96 0.0
window-app BRD4161A (read only) 728000 728096 96 0.0
(read/write) 113644 113644 0 0.0
.bss 111884 111884 0 0.0
.data 1760 1760 0 0.0
.text 727992 728088 96 0.0
esp32 all-clusters-app c3devkit (read only) 828538 828618 80 0.0
(read/write) 1220178 1220178 0 0.0
.dram0.bss 56688 56688 0 0.0
.dram0.data 14084 14084 0 0.0
.flash.rodata 164152 164152 0 0.0
.flash.text 828538 828618 80 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 899595 899675 80 0.0
(read/write) 419492 419492 0 0.0
.dram0.bss 62040 62040 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 192116 192116 0 0.0
.flash.text 894211 894291 80 0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 706872 706952 80 0.0
.bss 77164 77164 0 0.0
.data 1912 1912 0 0.0
.text 621996 622076 80 0.0
lock-app k32w061+debug (read/write) 598312 598392 80 0.0
.bss 67676 67676 0 0.0
.data 1880 1880 0 0.0
.text 522956 523036 80 0.0
shell k32w061+debug (read/write) 663656 663736 80 0.0
.bss 78804 78804 0 0.0
.data 1848 1848 0 0.0
.text 577204 577284 80 0.0
linux all-clusters-app debug (read only) 1726153 1726681 528 0.0
(read/write) 126816 126816 0 0.0
.bss 57392 57392 0 0.0
.data 1042 1042 0 0.0
.data.rel.ro 63088 63088 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 136661 136661 0 0.0
.text 1455538 1456066 528 0.0
bridge-app debug+rpc (read only) 1321181 1321709 528 0.0
(read/write) 77008 77008 0 0.0
.bss 42096 42096 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 28352 28352 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 111932 111932 0 0.0
.text 1111845 1112373 528 0.0
chip-tool debug (read only) 4986061 5002565 16504 0.3
(read/write) 166888 167592 704 0.4
.bss 40456 40456 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 118672 119360 688 0.6
.dynamic 592 592 0 0.0
.got 4416 4416 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 268458 268842 384 0.1
.text 4407093 4421221 14128 0.3
lighting-app debug+rpc (read only) 1590289 1590817 528 0.0
(read/write) 110224 110224 0 0.0
.bss 47760 47760 0 0.0
.data 1234 1234 0 0.0
.data.rel.ro 55920 55920 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 129553 129553 0 0.0
.text 1325730 1326258 528 0.0
ota-provider-app debug (read only) 1268729 1269273 544 0.0
(read/write) 75656 75656 0 0.0
.bss 44704 44704 0 0.0
.data 784 784 0 0.0
.data.rel.ro 25080 25080 0 0.0
.dynamic 592 592 0 0.0
.got 4016 4016 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 113951 113951 0 0.0
.text 1057186 1057730 544 0.1
ota-requestor-app debug (read only) 1354465 1365681 11216 0.8
(read/write) 79392 79520 128 0.2
.bss 47168 47168 0 0.0
.data 848 848 0 0.0
.data.rel.ro 26280 26408 128 0.5
.dynamic 592 592 0 0.0
.got 3992 4000 8 0.2
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 124968 125352 384 0.3
.text 1129522 1139954 10432 0.9
shell debug (read only) 798801 798801 0 0.0
(read/write) 66440 66440 0 0.0
.bss 23944 23944 0 0.0
.data 242 242 0 0.0
.data.rel.ro 37752 37752 0 0.0
.dynamic 592 592 0 0.0
.got 3528 3528 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 78703 78703 0 0.0
.text 616082 616082 0 0.0
tv-app debug (read only) 1872785 1883865 11080 0.6
(read/write) 318968 319096 128 0.0
.bss 250376 250376 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 60144 60264 120 0.2
.dynamic 592 592 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 157893 158277 384 0.2
.text 1569762 1580146 10384 0.7
p6 all-clusters-app default (read/write) 2297968 2298064 96 0.0
.bss 112272 112272 0 0.0
.data 2520 2520 0 0.0
.heap 918552 918552 0 0.0
.text 1256232 1256328 96 0.0
lock-app default (read/write) 2215456 2215552 96 0.0
.bss 100896 100896 0 0.0
.data 2400 2400 0 0.0
.heap 930048 930048 0 0.0
.text 1173720 1173816 96 0.0
qpg lighting-app qpg6100+debug (read only) 493688 493752 64 0.0
(read/write) 114144 114144 0 0.0
.bss 50208 50208 0 0.0
.data 1008 1008 0 0.0
.text 488368 488432 64 0.0
lock-app qpg6100+debug (read only) 468652 468732 80 0.0
(read/write) 114140 114140 0 0.0
.bss 49152 49152 0 0.0
.data 964 964 0 0.0
.text 463332 463412 80 0.0
persistent-storage-app qpg6100+debug (read only) 105408 105408 0 0.0
(read/write) 114142 114142 0 0.0
.bss 8978 8978 0 0.0
.data 272 272 0 0.0
.text 100088 100088 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 768010 768082 72 0.0
bss 79072 79072 0 0.0
noinit 37160 37160 0 0.0
text 533194 533272 78 0.0

@github-actions
Copy link

github-actions bot commented Nov 19, 2021

PR #11705: Size comparison from a5636fa to 4e6af09

Increases above 0.2%:

platform target config section a5636fa 4e6af09 change % change
linux chip-tool debug (read only) 4986061 5002565 16504 0.3
(read/write) 166888 167592 704 0.4
.data.rel.ro 118672 119360 688 0.6
.text 4407093 4421221 14128 0.3
ota-requestor-app debug (read only) 1354465 1365681 11216 0.8
.data.rel.ro 26280 26408 128 0.5
.rodata 124968 125352 384 0.3
.text 1129522 1139954 10432 0.9
tv-app debug (read only) 1872785 1883865 11080 0.6
.text 1569762 1580146 10384 0.7
Increases (24 builds for efr32, esp32, k32w, linux, mbed, p6, qpg, telink)
platform target config section a5636fa 4e6af09 change % change
efr32 lighting-app BRD4161A (read only) 749944 750040 96 0.0
.text 749936 750032 96 0.0
BRD4161A+rpc (read only) 737484 737580 96 0.0
.text 737476 737572 96 0.0
lock-app BRD4161A (read only) 727000 727112 112 0.0
.text 726992 727104 112 0.0
window-app BRD4161A (read only) 727984 728096 112 0.0
.text 727976 728088 112 0.0
esp32 all-clusters-app c3devkit (read only) 828538 828618 80 0.0
.flash.text 828538 828618 80 0.0
m5stack (read only) 899595 899675 80 0.0
.flash.text 894211 894291 80 0.0
k32w lighting-app k32w061+se05x+release (read/write) 706872 706952 80 0.0
.text 621996 622076 80 0.0
lock-app k32w061+debug (read/write) 598312 598392 80 0.0
.text 522956 523036 80 0.0
shell k32w061+debug (read/write) 663656 663736 80 0.0
.text 577204 577284 80 0.0
linux all-clusters-app debug (read only) 1726153 1726681 528 0.0
.text 1455538 1456066 528 0.0
bridge-app debug+rpc (read only) 1321181 1321709 528 0.0
.text 1111845 1112373 528 0.0
chip-tool debug (read only) 4986061 5002565 16504 0.3
(read/write) 166888 167592 704 0.4
.data.rel.ro 118672 119360 688 0.6
.rodata 268458 268842 384 0.1
.text 4407093 4421221 14128 0.3
lighting-app debug+rpc (read only) 1590289 1590817 528 0.0
.text 1325730 1326258 528 0.0
ota-provider-app debug (read only) 1268729 1269273 544 0.0
.text 1057186 1057730 544 0.1
ota-requestor-app debug (read only) 1354465 1365681 11216 0.8
(read/write) 79392 79520 128 0.2
.data.rel.ro 26280 26408 128 0.5
.got 3992 4000 8 0.2
.rodata 124968 125352 384 0.3
.text 1129522 1139954 10432 0.9
tv-app debug (read only) 1872785 1883865 11080 0.6
(read/write) 318968 319096 128 0.0
.data.rel.ro 60144 60264 120 0.2
.rodata 157893 158277 384 0.2
.text 1569762 1580146 10384 0.7
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2287616 2287680 64 0.0
.text 1250216 1250280 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2273552 2273680 128 0.0
.text 1236152 1236280 128 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2249456 2249520 64 0.0
.text 1212056 1212120 64 0.0
p6 all-clusters-app default (read/write) 2297968 2298064 96 0.0
.text 1256232 1256328 96 0.0
lock-app default (read/write) 2215456 2215552 96 0.0
.text 1173720 1173816 96 0.0
qpg lighting-app qpg6100+debug (read only) 493688 493752 64 0.0
.text 488368 488432 64 0.0
lock-app qpg6100+debug (read only) 468652 468732 80 0.0
.text 463332 463412 80 0.0
telink lighting-app tlsr9518adk80d (read/write) 768010 768082 72 0.0
text 533194 533272 78 0.0
Full report (28 builds for efr32, esp32, k32w, linux, mbed, p6, qpg, telink)
platform target config section a5636fa 4e6af09 change % change
efr32 lighting-app BRD4161A (read only) 749944 750040 96 0.0
(read/write) 119644 119644 0 0.0
.bss 117844 117844 0 0.0
.data 1800 1800 0 0.0
.text 749936 750032 96 0.0
BRD4161A+rpc (read only) 737484 737580 96 0.0
(read/write) 136272 136272 0 0.0
.bss 134348 134348 0 0.0
.data 1924 1924 0 0.0
.text 737476 737572 96 0.0
lock-app BRD4161A (read only) 727000 727112 112 0.0
(read/write) 113332 113332 0 0.0
.bss 111572 111572 0 0.0
.data 1756 1756 0 0.0
.text 726992 727104 112 0.0
window-app BRD4161A (read only) 727984 728096 112 0.0
(read/write) 113652 113652 0 0.0
.bss 111892 111892 0 0.0
.data 1760 1760 0 0.0
.text 727976 728088 112 0.0
esp32 all-clusters-app c3devkit (read only) 828538 828618 80 0.0
(read/write) 1220178 1220178 0 0.0
.dram0.bss 56688 56688 0 0.0
.dram0.data 14084 14084 0 0.0
.flash.rodata 164152 164152 0 0.0
.flash.text 828538 828618 80 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 899595 899675 80 0.0
(read/write) 419492 419492 0 0.0
.dram0.bss 62040 62040 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 192116 192116 0 0.0
.flash.text 894211 894291 80 0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 706872 706952 80 0.0
.bss 77164 77164 0 0.0
.data 1912 1912 0 0.0
.text 621996 622076 80 0.0
lock-app k32w061+debug (read/write) 598312 598392 80 0.0
.bss 67676 67676 0 0.0
.data 1880 1880 0 0.0
.text 522956 523036 80 0.0
shell k32w061+debug (read/write) 663656 663736 80 0.0
.bss 78804 78804 0 0.0
.data 1848 1848 0 0.0
.text 577204 577284 80 0.0
linux all-clusters-app debug (read only) 1726153 1726681 528 0.0
(read/write) 126816 126816 0 0.0
.bss 57392 57392 0 0.0
.data 1042 1042 0 0.0
.data.rel.ro 63088 63088 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 136661 136661 0 0.0
.text 1455538 1456066 528 0.0
bridge-app debug+rpc (read only) 1321181 1321709 528 0.0
(read/write) 77008 77008 0 0.0
.bss 42096 42096 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 28352 28352 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 111932 111932 0 0.0
.text 1111845 1112373 528 0.0
chip-tool debug (read only) 4986061 5002565 16504 0.3
(read/write) 166888 167592 704 0.4
.bss 40456 40456 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 118672 119360 688 0.6
.dynamic 592 592 0 0.0
.got 4416 4416 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 268458 268842 384 0.1
.text 4407093 4421221 14128 0.3
lighting-app debug+rpc (read only) 1590289 1590817 528 0.0
(read/write) 110224 110224 0 0.0
.bss 47760 47760 0 0.0
.data 1234 1234 0 0.0
.data.rel.ro 55920 55920 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 129553 129553 0 0.0
.text 1325730 1326258 528 0.0
ota-provider-app debug (read only) 1268729 1269273 544 0.0
(read/write) 75656 75656 0 0.0
.bss 44704 44704 0 0.0
.data 784 784 0 0.0
.data.rel.ro 25080 25080 0 0.0
.dynamic 592 592 0 0.0
.got 4016 4016 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 113951 113951 0 0.0
.text 1057186 1057730 544 0.1
ota-requestor-app debug (read only) 1354465 1365681 11216 0.8
(read/write) 79392 79520 128 0.2
.bss 47168 47168 0 0.0
.data 848 848 0 0.0
.data.rel.ro 26280 26408 128 0.5
.dynamic 592 592 0 0.0
.got 3992 4000 8 0.2
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 124968 125352 384 0.3
.text 1129522 1139954 10432 0.9
shell debug (read only) 798801 798801 0 0.0
(read/write) 66440 66440 0 0.0
.bss 23944 23944 0 0.0
.data 242 242 0 0.0
.data.rel.ro 37752 37752 0 0.0
.dynamic 592 592 0 0.0
.got 3528 3528 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 78703 78703 0 0.0
.text 616082 616082 0 0.0
tv-app debug (read only) 1872785 1883865 11080 0.6
(read/write) 318968 319096 128 0.0
.bss 250376 250376 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 60144 60264 120 0.2
.dynamic 592 592 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 157893 158277 384 0.2
.text 1569762 1580146 10384 0.7
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2287616 2287680 64 0.0
.bss 179284 179284 0 0.0
.data 5216 5216 0 0.0
.heap 851944 851944 0 0.0
.text 1250216 1250280 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2273552 2273680 128 0.0
.bss 172148 172148 0 0.0
.data 5576 5576 0 0.0
.heap 858720 858720 0 0.0
.text 1236152 1236280 128 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2249456 2249520 64 0.0
.bss 171036 171036 0 0.0
.data 5568 5568 0 0.0
.heap 859840 859840 0 0.0
.text 1212056 1212120 64 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139744 1139744 0 0.0
.bss 11752 11752 0 0.0
.data 4368 4368 0 0.0
.heap 1020328 1020328 0 0.0
.text 103128 103128 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2050480 2050480 0 0.0
.bss 156224 156224 0 0.0
.data 4968 4968 0 0.0
.heap 875256 875256 0 0.0
.text 1013080 1013080 0 0.0
p6 all-clusters-app default (read/write) 2297968 2298064 96 0.0
.bss 112272 112272 0 0.0
.data 2520 2520 0 0.0
.heap 918552 918552 0 0.0
.text 1256232 1256328 96 0.0
lock-app default (read/write) 2215456 2215552 96 0.0
.bss 100896 100896 0 0.0
.data 2400 2400 0 0.0
.heap 930048 930048 0 0.0
.text 1173720 1173816 96 0.0
qpg lighting-app qpg6100+debug (read only) 493688 493752 64 0.0
(read/write) 114144 114144 0 0.0
.bss 50208 50208 0 0.0
.data 1008 1008 0 0.0
.text 488368 488432 64 0.0
lock-app qpg6100+debug (read only) 468652 468732 80 0.0
(read/write) 114140 114140 0 0.0
.bss 49152 49152 0 0.0
.data 964 964 0 0.0
.text 463332 463412 80 0.0
persistent-storage-app qpg6100+debug (read only) 105408 105408 0 0.0
(read/write) 114142 114142 0 0.0
.bss 8978 8978 0 0.0
.data 272 272 0 0.0
.text 100088 100088 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 768010 768082 72 0.0
bss 79072 79072 0 0.0
noinit 37160 37160 0 0.0
text 533194 533272 78 0.0

@github-actions
Copy link

github-actions bot commented Nov 19, 2021

PR #11705: Size comparison from 1adaf7a to 08922da

Increases above 0.2%:

platform target config section 1adaf7a 08922da change % change
linux chip-tool debug (read only) 4986237 5002773 16536 0.3
(read/write) 166280 166984 704 0.4
.data.rel.ro 118672 119360 688 0.6
.text 4407269 4421397 14128 0.3
ota-requestor-app debug (read only) 1358113 1369329 11216 0.8
.data.rel.ro 26280 26408 128 0.5
.rodata 125064 125448 384 0.3
.text 1133074 1143506 10432 0.9
tv-app debug (read only) 1876257 1887289 11032 0.6
.text 1573106 1583474 10368 0.7
Increases (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1adaf7a 08922da change % change
efr32 lighting-app BRD4161A (read only) 750448 750544 96 0.0
.text 750440 750536 96 0.0
BRD4161A+rpc (read only) 737972 738068 96 0.0
.text 737964 738060 96 0.0
lock-app BRD4161A (read only) 727504 727600 96 0.0
.text 727496 727592 96 0.0
window-app BRD4161A (read only) 728488 728584 96 0.0
.text 728480 728576 96 0.0
esp32 all-clusters-app c3devkit (read only) 828884 828964 80 0.0
.flash.text 828884 828964 80 0.0
m5stack (read only) 899907 899987 80 0.0
.flash.text 894523 894603 80 0.0
k32w lighting-app k32w061+se05x+release (read/write) 707304 707384 80 0.0
.text 622380 622460 80 0.0
lock-app k32w061+debug (read/write) 598736 598816 80 0.0
.text 523340 523420 80 0.0
shell k32w061+debug (read/write) 664112 664192 80 0.0
.text 577588 577668 80 0.0
linux all-clusters-app debug (read only) 1729833 1730361 528 0.0
.text 1459090 1459618 528 0.0
bridge-app debug+rpc (read only) 1324829 1325357 528 0.0
.text 1115397 1115925 528 0.0
chip-tool debug (read only) 4986237 5002773 16536 0.3
(read/write) 166280 166984 704 0.4
.data.rel.ro 118672 119360 688 0.6
.rodata 268458 268874 416 0.2
.text 4407269 4421397 14128 0.3
lighting-app debug+rpc (read only) 1593937 1594465 528 0.0
.text 1329282 1329810 528 0.0
ota-provider-app debug (read only) 1272377 1272905 528 0.0
.text 1060738 1061266 528 0.0
ota-requestor-app debug (read only) 1358113 1369329 11216 0.8
(read/write) 78784 78912 128 0.2
.data.rel.ro 26280 26408 128 0.5
.got 3992 4000 8 0.2
.rodata 125064 125448 384 0.3
.text 1133074 1143506 10432 0.9
tv-app debug (read only) 1876257 1887289 11032 0.6
(read/write) 318392 318520 128 0.0
.data.rel.ro 60144 60264 120 0.2
.rodata 158021 158373 352 0.2
.text 1573106 1583474 10368 0.7
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2288000 2288128 128 0.0
.text 1250600 1250728 128 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2273936 2274064 128 0.0
.text 1236536 1236664 128 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2249840 2249904 64 0.0
.text 1212440 1212504 64 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 865027 865107 80 0.0
text 582972 583048 76 0.0
nrf52840dk_nrf52840+rpc (read/write) 827395 827475 80 0.0
text 557140 557216 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 790082 790162 80 0.0
text 512444 512520 76 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840427 840507 80 0.0
text 563064 563144 80 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765730 765810 80 0.0
text 492628 492708 80 0.0
pump-app nrf52840dk_nrf52840 (read/write) 846567 846647 80 0.0
text 567248 567324 76 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840127 840207 80 0.0
text 562684 562764 80 0.0
p6 all-clusters-app default (read/write) 2298456 2298552 96 0.0
.text 1256720 1256816 96 0.0
lock-app default (read/write) 2215944 2216040 96 0.0
.text 1174208 1174304 96 0.0
qpg lighting-app qpg6100+debug (read only) 494080 494152 72 0.0
.text 488760 488832 72 0.0
lock-app qpg6100+debug (read only) 469044 469108 64 0.0
.text 463724 463788 64 0.0
telink lighting-app tlsr9518adk80d (read/write) 768410 768482 72 0.0
text 533546 533624 78 0.0
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1adaf7a 08922da change % change
efr32 lighting-app BRD4161A (read only) 750448 750544 96 0.0
(read/write) 119692 119692 0 0.0
.bss 117892 117892 0 0.0
.data 1800 1800 0 0.0
.text 750440 750536 96 0.0
BRD4161A+rpc (read only) 737972 738068 96 0.0
(read/write) 136320 136320 0 0.0
.bss 134396 134396 0 0.0
.data 1924 1924 0 0.0
.text 737964 738060 96 0.0
lock-app BRD4161A (read only) 727504 727600 96 0.0
(read/write) 113380 113380 0 0.0
.bss 111620 111620 0 0.0
.data 1756 1756 0 0.0
.text 727496 727592 96 0.0
window-app BRD4161A (read only) 728488 728584 96 0.0
(read/write) 113700 113700 0 0.0
.bss 111940 111940 0 0.0
.data 1760 1760 0 0.0
.text 728480 728576 96 0.0
esp32 all-clusters-app c3devkit (read only) 828884 828964 80 0.0
(read/write) 1220250 1220250 0 0.0
.dram0.bss 56736 56736 0 0.0
.dram0.data 14084 14084 0 0.0
.flash.rodata 164176 164176 0 0.0
.flash.text 828884 828964 80 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 899907 899987 80 0.0
(read/write) 419564 419564 0 0.0
.dram0.bss 62088 62088 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 192140 192140 0 0.0
.flash.text 894523 894603 80 0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 707304 707384 80 0.0
.bss 77212 77212 0 0.0
.data 1912 1912 0 0.0
.text 622380 622460 80 0.0
lock-app k32w061+debug (read/write) 598736 598816 80 0.0
.bss 67716 67716 0 0.0
.data 1880 1880 0 0.0
.text 523340 523420 80 0.0
shell k32w061+debug (read/write) 664112 664192 80 0.0
.bss 78876 78876 0 0.0
.data 1848 1848 0 0.0
.text 577588 577668 80 0.0
linux all-clusters-app debug (read only) 1729833 1730361 528 0.0
(read/write) 126240 126240 0 0.0
.bss 56816 56816 0 0.0
.data 1042 1042 0 0.0
.data.rel.ro 63088 63088 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 136789 136789 0 0.0
.text 1459090 1459618 528 0.0
bridge-app debug+rpc (read only) 1324829 1325357 528 0.0
(read/write) 76432 76432 0 0.0
.bss 41520 41520 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 28352 28352 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 112028 112028 0 0.0
.text 1115397 1115925 528 0.0
chip-tool debug (read only) 4986237 5002773 16536 0.3
(read/write) 166280 166984 704 0.4
.bss 39848 39848 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 118672 119360 688 0.6
.dynamic 592 592 0 0.0
.got 4416 4416 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 268458 268874 416 0.2
.text 4407269 4421397 14128 0.3
lighting-app debug+rpc (read only) 1593937 1594465 528 0.0
(read/write) 109616 109616 0 0.0
.bss 47152 47152 0 0.0
.data 1234 1234 0 0.0
.data.rel.ro 55920 55920 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 129649 129649 0 0.0
.text 1329282 1329810 528 0.0
ota-provider-app debug (read only) 1272377 1272905 528 0.0
(read/write) 75048 75048 0 0.0
.bss 44096 44096 0 0.0
.data 784 784 0 0.0
.data.rel.ro 25080 25080 0 0.0
.dynamic 592 592 0 0.0
.got 4016 4016 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 114047 114047 0 0.0
.text 1060738 1061266 528 0.0
ota-requestor-app debug (read only) 1358113 1369329 11216 0.8
(read/write) 78784 78912 128 0.2
.bss 46560 46560 0 0.0
.data 848 848 0 0.0
.data.rel.ro 26280 26408 128 0.5
.dynamic 592 592 0 0.0
.got 3992 4000 8 0.2
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 125064 125448 384 0.3
.text 1133074 1143506 10432 0.9
shell debug (read only) 799185 799185 0 0.0
(read/write) 65832 65832 0 0.0
.bss 23336 23336 0 0.0
.data 242 242 0 0.0
.data.rel.ro 37752 37752 0 0.0
.dynamic 592 592 0 0.0
.got 3528 3528 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 78703 78703 0 0.0
.text 616466 616466 0 0.0
tv-app debug (read only) 1876257 1887289 11032 0.6
(read/write) 318392 318520 128 0.0
.bss 249800 249800 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 60144 60264 120 0.2
.dynamic 592 592 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 158021 158373 352 0.2
.text 1573106 1583474 10368 0.7
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2288000 2288128 128 0.0
.bss 179332 179332 0 0.0
.data 5216 5216 0 0.0
.heap 851896 851896 0 0.0
.text 1250600 1250728 128 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2273936 2274064 128 0.0
.bss 172196 172196 0 0.0
.data 5576 5576 0 0.0
.heap 858672 858672 0 0.0
.text 1236536 1236664 128 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2249840 2249904 64 0.0
.bss 171084 171084 0 0.0
.data 5568 5568 0 0.0
.heap 859792 859792 0 0.0
.text 1212440 1212504 64 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139744 1139744 0 0.0
.bss 11752 11752 0 0.0
.data 4368 4368 0 0.0
.heap 1020328 1020328 0 0.0
.text 103128 103128 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2050480 2050480 0 0.0
.bss 156272 156272 0 0.0
.data 4968 4968 0 0.0
.heap 875208 875208 0 0.0
.text 1013080 1013080 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 865027 865107 80 0.0
bss 110604 110604 0 0.0
rodata 95828 95828 0 0.0
text 582972 583048 76 0.0
nrf52840dk_nrf52840+rpc (read/write) 827395 827475 80 0.0
bss 106960 106960 0 0.0
rodata 87012 87012 0 0.0
text 557140 557216 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 790082 790162 80 0.0
bss 111980 111980 0 0.0
rodata 91084 91084 0 0.0
text 512444 512520 76 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840427 840507 80 0.0
bss 109628 109628 0 0.0
rodata 92300 92300 0 0.0
text 563064 563144 80 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765730 765810 80 0.0
bss 111040 111040 0 0.0
rodata 87604 87604 0 0.0
text 492628 492708 80 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497327 497327 0 0.0
bss 51824 51824 0 0.0
rodata 45780 45780 0 0.0
text 339436 339436 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 846567 846647 80 0.0
bss 109768 109768 0 0.0
rodata 94008 94008 0 0.0
text 567248 567324 76 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840127 840207 80 0.0
bss 109664 109664 0 0.0
rodata 92256 92256 0 0.0
text 562684 562764 80 0.0
shell nrf52840dk_nrf52840 (read/write) 778003 778003 0 0.0
bss 109112 109112 0 0.0
rodata 73064 73064 0 0.0
text 521244 521244 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 693058 693058 0 0.0
bss 110096 110096 0 0.0
rodata 67708 67708 0 0.0
text 441856 441856 0 0.0
p6 all-clusters-app default (read/write) 2298456 2298552 96 0.0
.bss 112320 112320 0 0.0
.data 2520 2520 0 0.0
.heap 918504 918504 0 0.0
.text 1256720 1256816 96 0.0
lock-app default (read/write) 2215944 2216040 96 0.0
.bss 100944 100944 0 0.0
.data 2400 2400 0 0.0
.heap 930000 930000 0 0.0
.text 1174208 1174304 96 0.0
qpg lighting-app qpg6100+debug (read only) 494080 494152 72 0.0
(read/write) 114144 114144 0 0.0
.bss 50256 50256 0 0.0
.data 1008 1008 0 0.0
.text 488760 488832 72 0.0
lock-app qpg6100+debug (read only) 469044 469108 64 0.0
(read/write) 114140 114140 0 0.0
.bss 49200 49200 0 0.0
.data 964 964 0 0.0
.text 463724 463788 64 0.0
persistent-storage-app qpg6100+debug (read only) 105416 105416 0 0.0
(read/write) 114142 114142 0 0.0
.bss 8994 8994 0 0.0
.data 272 272 0 0.0
.text 100096 100096 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 768410 768482 72 0.0
bss 79116 79116 0 0.0
noinit 37160 37160 0 0.0
text 533546 533624 78 0.0

src/app/BufferedReadCallback.cpp Outdated Show resolved Hide resolved
src/app/BufferedReadCallback.cpp Outdated Show resolved Hide resolved
src/app/BufferedReadCallback.cpp Show resolved Hide resolved
src/app/BufferedReadCallback.cpp Outdated Show resolved Hide resolved
src/app/BufferedReadCallback.cpp Show resolved Hide resolved
src/app/BufferedReadCallback.h Outdated Show resolved Hide resolved
src/app/BufferedReadCallback.cpp Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Nov 19, 2021

PR #11705: Size comparison from 1adaf7a to 48594ad

Increases above 0.2%:

platform target config section 1adaf7a 48594ad change % change
linux chip-tool debug (read only) 4986237 5002597 16360 0.3
(read/write) 166280 166984 704 0.4
.data.rel.ro 118672 119360 688 0.6
.text 4407269 4421221 13952 0.3
ota-requestor-app debug (read only) 1358113 1369153 11040 0.8
.data.rel.ro 26280 26408 128 0.5
.rodata 125064 125448 384 0.3
.text 1133074 1143330 10256 0.9
tv-app debug (read only) 1876257 1887129 10872 0.6
.text 1573106 1583314 10208 0.6
Increases (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1adaf7a 48594ad change % change
efr32 lighting-app BRD4161A (read only) 750448 750544 96 0.0
.text 750440 750536 96 0.0
BRD4161A+rpc (read only) 737972 738068 96 0.0
.text 737964 738060 96 0.0
lock-app BRD4161A (read only) 727504 727600 96 0.0
.text 727496 727592 96 0.0
window-app BRD4161A (read only) 728488 728584 96 0.0
.text 728480 728576 96 0.0
esp32 all-clusters-app c3devkit (read only) 828884 828964 80 0.0
.flash.text 828884 828964 80 0.0
m5stack (read only) 899907 899987 80 0.0
.flash.text 894523 894603 80 0.0
k32w lighting-app k32w061+se05x+release (read/write) 707304 707384 80 0.0
.text 622380 622460 80 0.0
lock-app k32w061+debug (read/write) 598736 598816 80 0.0
.text 523340 523420 80 0.0
shell k32w061+debug (read/write) 664112 664192 80 0.0
.text 577588 577668 80 0.0
linux all-clusters-app debug (read only) 1729833 1730361 528 0.0
.text 1459090 1459618 528 0.0
bridge-app debug+rpc (read only) 1324829 1325357 528 0.0
.text 1115397 1115925 528 0.0
chip-tool debug (read only) 4986237 5002597 16360 0.3
(read/write) 166280 166984 704 0.4
.data.rel.ro 118672 119360 688 0.6
.rodata 268458 268874 416 0.2
.text 4407269 4421221 13952 0.3
lighting-app debug+rpc (read only) 1593937 1594465 528 0.0
.text 1329282 1329810 528 0.0
ota-provider-app debug (read only) 1272377 1272905 528 0.0
.text 1060738 1061266 528 0.0
ota-requestor-app debug (read only) 1358113 1369153 11040 0.8
(read/write) 78784 78912 128 0.2
.data.rel.ro 26280 26408 128 0.5
.got 3992 4000 8 0.2
.rodata 125064 125448 384 0.3
.text 1133074 1143330 10256 0.9
tv-app debug (read only) 1876257 1887129 10872 0.6
(read/write) 318392 318520 128 0.0
.data.rel.ro 60144 60264 120 0.2
.rodata 158021 158373 352 0.2
.text 1573106 1583314 10208 0.6
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2288000 2288128 128 0.0
.text 1250600 1250728 128 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2273936 2274064 128 0.0
.text 1236536 1236664 128 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2249840 2249904 64 0.0
.text 1212440 1212504 64 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 865027 865107 80 0.0
text 582972 583048 76 0.0
nrf52840dk_nrf52840+rpc (read/write) 827395 827475 80 0.0
text 557140 557216 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 790082 790162 80 0.0
text 512444 512520 76 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840427 840507 80 0.0
text 563064 563144 80 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765730 765810 80 0.0
text 492628 492708 80 0.0
pump-app nrf52840dk_nrf52840 (read/write) 846567 846647 80 0.0
text 567248 567324 76 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840127 840207 80 0.0
text 562684 562764 80 0.0
p6 all-clusters-app default (read/write) 2298456 2298552 96 0.0
.text 1256720 1256816 96 0.0
lock-app default (read/write) 2215944 2216040 96 0.0
.text 1174208 1174304 96 0.0
qpg lighting-app qpg6100+debug (read only) 494080 494152 72 0.0
.text 488760 488832 72 0.0
lock-app qpg6100+debug (read only) 469044 469108 64 0.0
.text 463724 463788 64 0.0
telink lighting-app tlsr9518adk80d (read/write) 768410 768482 72 0.0
text 533546 533624 78 0.0
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1adaf7a 48594ad change % change
efr32 lighting-app BRD4161A (read only) 750448 750544 96 0.0
(read/write) 119692 119692 0 0.0
.bss 117892 117892 0 0.0
.data 1800 1800 0 0.0
.text 750440 750536 96 0.0
BRD4161A+rpc (read only) 737972 738068 96 0.0
(read/write) 136320 136320 0 0.0
.bss 134396 134396 0 0.0
.data 1924 1924 0 0.0
.text 737964 738060 96 0.0
lock-app BRD4161A (read only) 727504 727600 96 0.0
(read/write) 113380 113380 0 0.0
.bss 111620 111620 0 0.0
.data 1756 1756 0 0.0
.text 727496 727592 96 0.0
window-app BRD4161A (read only) 728488 728584 96 0.0
(read/write) 113700 113700 0 0.0
.bss 111940 111940 0 0.0
.data 1760 1760 0 0.0
.text 728480 728576 96 0.0
esp32 all-clusters-app c3devkit (read only) 828884 828964 80 0.0
(read/write) 1220250 1220250 0 0.0
.dram0.bss 56736 56736 0 0.0
.dram0.data 14084 14084 0 0.0
.flash.rodata 164176 164176 0 0.0
.flash.text 828884 828964 80 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 899907 899987 80 0.0
(read/write) 419564 419564 0 0.0
.dram0.bss 62088 62088 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 192140 192140 0 0.0
.flash.text 894523 894603 80 0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 707304 707384 80 0.0
.bss 77212 77212 0 0.0
.data 1912 1912 0 0.0
.text 622380 622460 80 0.0
lock-app k32w061+debug (read/write) 598736 598816 80 0.0
.bss 67716 67716 0 0.0
.data 1880 1880 0 0.0
.text 523340 523420 80 0.0
shell k32w061+debug (read/write) 664112 664192 80 0.0
.bss 78876 78876 0 0.0
.data 1848 1848 0 0.0
.text 577588 577668 80 0.0
linux all-clusters-app debug (read only) 1729833 1730361 528 0.0
(read/write) 126240 126240 0 0.0
.bss 56816 56816 0 0.0
.data 1042 1042 0 0.0
.data.rel.ro 63088 63088 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 136789 136789 0 0.0
.text 1459090 1459618 528 0.0
bridge-app debug+rpc (read only) 1324829 1325357 528 0.0
(read/write) 76432 76432 0 0.0
.bss 41520 41520 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 28352 28352 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 112028 112028 0 0.0
.text 1115397 1115925 528 0.0
chip-tool debug (read only) 4986237 5002597 16360 0.3
(read/write) 166280 166984 704 0.4
.bss 39848 39848 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 118672 119360 688 0.6
.dynamic 592 592 0 0.0
.got 4416 4416 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 268458 268874 416 0.2
.text 4407269 4421221 13952 0.3
lighting-app debug+rpc (read only) 1593937 1594465 528 0.0
(read/write) 109616 109616 0 0.0
.bss 47152 47152 0 0.0
.data 1234 1234 0 0.0
.data.rel.ro 55920 55920 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 129649 129649 0 0.0
.text 1329282 1329810 528 0.0
ota-provider-app debug (read only) 1272377 1272905 528 0.0
(read/write) 75048 75048 0 0.0
.bss 44096 44096 0 0.0
.data 784 784 0 0.0
.data.rel.ro 25080 25080 0 0.0
.dynamic 592 592 0 0.0
.got 4016 4016 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 114047 114047 0 0.0
.text 1060738 1061266 528 0.0
ota-requestor-app debug (read only) 1358113 1369153 11040 0.8
(read/write) 78784 78912 128 0.2
.bss 46560 46560 0 0.0
.data 848 848 0 0.0
.data.rel.ro 26280 26408 128 0.5
.dynamic 592 592 0 0.0
.got 3992 4000 8 0.2
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 125064 125448 384 0.3
.text 1133074 1143330 10256 0.9
shell debug (read only) 799185 799185 0 0.0
(read/write) 65832 65832 0 0.0
.bss 23336 23336 0 0.0
.data 242 242 0 0.0
.data.rel.ro 37752 37752 0 0.0
.dynamic 592 592 0 0.0
.got 3528 3528 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 78703 78703 0 0.0
.text 616466 616466 0 0.0
tv-app debug (read only) 1876257 1887129 10872 0.6
(read/write) 318392 318520 128 0.0
.bss 249800 249800 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 60144 60264 120 0.2
.dynamic 592 592 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 158021 158373 352 0.2
.text 1573106 1583314 10208 0.6
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2288000 2288128 128 0.0
.bss 179332 179332 0 0.0
.data 5216 5216 0 0.0
.heap 851896 851896 0 0.0
.text 1250600 1250728 128 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2273936 2274064 128 0.0
.bss 172196 172196 0 0.0
.data 5576 5576 0 0.0
.heap 858672 858672 0 0.0
.text 1236536 1236664 128 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2249840 2249904 64 0.0
.bss 171084 171084 0 0.0
.data 5568 5568 0 0.0
.heap 859792 859792 0 0.0
.text 1212440 1212504 64 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139744 1139744 0 0.0
.bss 11752 11752 0 0.0
.data 4368 4368 0 0.0
.heap 1020328 1020328 0 0.0
.text 103128 103128 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2050480 2050480 0 0.0
.bss 156272 156272 0 0.0
.data 4968 4968 0 0.0
.heap 875208 875208 0 0.0
.text 1013080 1013080 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 865027 865107 80 0.0
bss 110604 110604 0 0.0
rodata 95828 95828 0 0.0
text 582972 583048 76 0.0
nrf52840dk_nrf52840+rpc (read/write) 827395 827475 80 0.0
bss 106960 106960 0 0.0
rodata 87012 87012 0 0.0
text 557140 557216 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 790082 790162 80 0.0
bss 111980 111980 0 0.0
rodata 91084 91084 0 0.0
text 512444 512520 76 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840427 840507 80 0.0
bss 109628 109628 0 0.0
rodata 92300 92300 0 0.0
text 563064 563144 80 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765730 765810 80 0.0
bss 111040 111040 0 0.0
rodata 87604 87604 0 0.0
text 492628 492708 80 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497327 497327 0 0.0
bss 51824 51824 0 0.0
rodata 45780 45780 0 0.0
text 339436 339436 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 846567 846647 80 0.0
bss 109768 109768 0 0.0
rodata 94008 94008 0 0.0
text 567248 567324 76 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840127 840207 80 0.0
bss 109664 109664 0 0.0
rodata 92256 92256 0 0.0
text 562684 562764 80 0.0
shell nrf52840dk_nrf52840 (read/write) 778003 778003 0 0.0
bss 109112 109112 0 0.0
rodata 73064 73064 0 0.0
text 521244 521244 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 693058 693058 0 0.0
bss 110096 110096 0 0.0
rodata 67708 67708 0 0.0
text 441856 441856 0 0.0
p6 all-clusters-app default (read/write) 2298456 2298552 96 0.0
.bss 112320 112320 0 0.0
.data 2520 2520 0 0.0
.heap 918504 918504 0 0.0
.text 1256720 1256816 96 0.0
lock-app default (read/write) 2215944 2216040 96 0.0
.bss 100944 100944 0 0.0
.data 2400 2400 0 0.0
.heap 930000 930000 0 0.0
.text 1174208 1174304 96 0.0
qpg lighting-app qpg6100+debug (read only) 494080 494152 72 0.0
(read/write) 114144 114144 0 0.0
.bss 50256 50256 0 0.0
.data 1008 1008 0 0.0
.text 488760 488832 72 0.0
lock-app qpg6100+debug (read only) 469044 469108 64 0.0
(read/write) 114140 114140 0 0.0
.bss 49200 49200 0 0.0
.data 964 964 0 0.0
.text 463724 463788 64 0.0
persistent-storage-app qpg6100+debug (read only) 105416 105416 0 0.0
(read/write) 114142 114142 0 0.0
.bss 8994 8994 0 0.0
.data 272 272 0 0.0
.text 100096 100096 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 768410 768482 72 0.0
bss 79116 79116 0 0.0
noinit 37160 37160 0 0.0
text 533546 533624 78 0.0

@bzbarsky-apple
Copy link
Contributor

The Darwin test failure reproduces for me locally, and is due to a bug in this PR.

We are getting a crash with the following stack:

hread 2 Crashed:: Dispatch queue: com.zigbee.chip.framework.controller.workqueue
0   com.chip.CHIP                 	0x000000011519382c chip::app::ReadClient::IsSubscriptionType() const + 12 (ReadClient.h:198)
1   com.chip.CHIP                 	0x00000001150935d0 IMReadReportAttributesResponseCallback(chip::app::ReadClient const*, chip::app::ConcreteAttributePath const*, chip::TLV::TLVReader*, chip::Protocols::InteractionModel::Status) + 176 (im-client-callbacks.cpp:379)
2   com.chip.CHIP                 	0x0000000115192a2d chip::Controller::DeviceControllerInteractionModelDelegate::OnAttributeData(chip::app::ReadClient const*, chip::app::ConcreteDataAttributePath const&, chip::TLV::TLVReader*, chip::app::StatusIB const&) + 141 (DeviceControllerInteractionModelDelegate.h:90)
3   com.chip.CHIP                 	0x000000011512e36f chip::app::BufferedReadCallback::DispatchBufferedData(chip::app::ReadClient const*, chip::app::ConcreteAttributePath const&, chip::app::StatusIB const&, bool) + 607 (BufferedReadCallback.cpp:218)
4   com.chip.CHIP                 	0x000000011512e06e chip::app::BufferedReadCallback::OnReportEnd(chip::app::ReadClient const*) + 110 (BufferedReadCallback.cpp:39)
5   com.chip.CHIP                 	0x0000000115161beb chip::app::ReadClient::ProcessReportData(chip::System::PacketBufferHandle&&) + 3115 (ReadClient.cpp:402)
6   com.chip.CHIP                 	0x0000000115160af1 chip::app::ReadClient::OnMessageReceived(chip::Messaging::ExchangeContext*, chip::PayloadHeader const&, chip::System::PacketBufferHandle&&) + 353 (ReadClient.cpp:245)

and indeed BufferedReadCallback::OnReportEnd does this:

    CHIP_ERROR err = DispatchBufferedData(nullptr, mBufferedPath, StatusIB(), true);

which is wrong: it should pass apReadClient for that first arg.

@github-actions
Copy link

github-actions bot commented Nov 20, 2021

PR #11705: Size comparison from 5f847e0 to 70835d2

Increases above 0.2%:

platform target config section 5f847e0 70835d2 change % change
linux chip-tool debug (read only) 4982909 4999237 16328 0.3
(read/write) 165288 165960 672 0.4
.data.rel.ro 117664 118352 688 0.6
.text 4405397 4419349 13952 0.3
ota-requestor-app debug (read only) 1358113 1369153 11040 0.8
.data.rel.ro 26280 26408 128 0.5
.got 3992 4000 8 0.2
.rodata 125064 125448 384 0.3
.text 1133074 1143330 10256 0.9
tv-app debug (read only) 1876257 1887129 10872 0.6
.rodata 158021 158373 352 0.2
.text 1573106 1583314 10208 0.6
Increases (15 builds for k32w, linux, p6, qpg, telink)
platform target config section 5f847e0 70835d2 change % change
k32w lighting-app k32w061+se05x+release (read/write) 707304 707384 80 0.0
.text 622380 622460 80 0.0
lock-app k32w061+debug (read/write) 598736 598816 80 0.0
.text 523340 523420 80 0.0
shell k32w061+debug (read/write) 664112 664192 80 0.0
.text 577588 577668 80 0.0
linux all-clusters-app debug (read only) 1745017 1745561 544 0.0
.text 1471890 1472434 544 0.0
bridge-app debug+rpc (read only) 1324829 1325357 528 0.0
.text 1115397 1115925 528 0.0
chip-tool debug (read only) 4982909 4999237 16328 0.3
(read/write) 165288 165960 672 0.4
.data.rel.ro 117664 118352 688 0.6
.rodata 269354 269738 384 0.1
.text 4405397 4419349 13952 0.3
lighting-app debug+rpc (read only) 1593937 1594465 528 0.0
.text 1329282 1329810 528 0.0
ota-provider-app debug (read only) 1272377 1272905 528 0.0
.text 1060738 1061266 528 0.0
ota-requestor-app debug (read only) 1358113 1369153 11040 0.8
(read/write) 78784 78912 128 0.2
.data.rel.ro 26280 26408 128 0.5
.got 3992 4000 8 0.2
.rodata 125064 125448 384 0.3
.text 1133074 1143330 10256 0.9
tv-app debug (read only) 1876257 1887129 10872 0.6
(read/write) 318392 318520 128 0.0
.data.rel.ro 60144 60264 120 0.2
.rodata 158021 158373 352 0.2
.text 1573106 1583314 10208 0.6
p6 all-clusters-app default (read/write) 2302744 2302824 80 0.0
.text 1261008 1261088 80 0.0
lock-app default (read/write) 2215944 2216040 96 0.0
.text 1174208 1174304 96 0.0
qpg lighting-app qpg6100+debug (read only) 494080 494152 72 0.0
.text 488760 488832 72 0.0
lock-app qpg6100+debug (read only) 469044 469108 64 0.0
.text 463724 463788 64 0.0
telink lighting-app tlsr9518adk80d (read/write) 768410 768482 72 0.0
text 533546 533624 78 0.0
Full report (17 builds for k32w, linux, p6, qpg, telink)
platform target config section 5f847e0 70835d2 change % change
k32w lighting-app k32w061+se05x+release (read/write) 707304 707384 80 0.0
.bss 77212 77212 0 0.0
.data 1912 1912 0 0.0
.text 622380 622460 80 0.0
lock-app k32w061+debug (read/write) 598736 598816 80 0.0
.bss 67716 67716 0 0.0
.data 1880 1880 0 0.0
.text 523340 523420 80 0.0
shell k32w061+debug (read/write) 664112 664192 80 0.0
.bss 78876 78876 0 0.0
.data 1848 1848 0 0.0
.text 577588 577668 80 0.0
linux all-clusters-app debug (read only) 1745017 1745561 544 0.0
(read/write) 128392 128392 0 0.0
.bss 58544 58544 0 0.0
.data 1042 1042 0 0.0
.data.rel.ro 63504 63504 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 137493 137493 0 0.0
.text 1471890 1472434 544 0.0
bridge-app debug+rpc (read only) 1324829 1325357 528 0.0
(read/write) 76432 76432 0 0.0
.bss 41520 41520 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 28352 28352 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 112028 112028 0 0.0
.text 1115397 1115925 528 0.0
chip-tool debug (read only) 4982909 4999237 16328 0.3
(read/write) 165288 165960 672 0.4
.bss 39848 39848 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 117664 118352 688 0.6
.dynamic 592 592 0 0.0
.got 4416 4416 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 269354 269738 384 0.1
.text 4405397 4419349 13952 0.3
lighting-app debug+rpc (read only) 1593937 1594465 528 0.0
(read/write) 109616 109616 0 0.0
.bss 47152 47152 0 0.0
.data 1234 1234 0 0.0
.data.rel.ro 55920 55920 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 129649 129649 0 0.0
.text 1329282 1329810 528 0.0
ota-provider-app debug (read only) 1272377 1272905 528 0.0
(read/write) 75048 75048 0 0.0
.bss 44096 44096 0 0.0
.data 784 784 0 0.0
.data.rel.ro 25080 25080 0 0.0
.dynamic 592 592 0 0.0
.got 4016 4016 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 114047 114047 0 0.0
.text 1060738 1061266 528 0.0
ota-requestor-app debug (read only) 1358113 1369153 11040 0.8
(read/write) 78784 78912 128 0.2
.bss 46560 46560 0 0.0
.data 848 848 0 0.0
.data.rel.ro 26280 26408 128 0.5
.dynamic 592 592 0 0.0
.got 3992 4000 8 0.2
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 125064 125448 384 0.3
.text 1133074 1143330 10256 0.9
shell debug (read only) 799185 799185 0 0.0
(read/write) 65832 65832 0 0.0
.bss 23336 23336 0 0.0
.data 242 242 0 0.0
.data.rel.ro 37752 37752 0 0.0
.dynamic 592 592 0 0.0
.got 3528 3528 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 78703 78703 0 0.0
.text 616466 616466 0 0.0
tv-app debug (read only) 1876257 1887129 10872 0.6
(read/write) 318392 318520 128 0.0
.bss 249800 249800 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 60144 60264 120 0.2
.dynamic 592 592 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 158021 158373 352 0.2
.text 1573106 1583314 10208 0.6
p6 all-clusters-app default (read/write) 2302744 2302824 80 0.0
.bss 113280 113280 0 0.0
.data 2528 2528 0 0.0
.heap 917536 917536 0 0.0
.text 1261008 1261088 80 0.0
lock-app default (read/write) 2215944 2216040 96 0.0
.bss 100944 100944 0 0.0
.data 2400 2400 0 0.0
.heap 930000 930000 0 0.0
.text 1174208 1174304 96 0.0
qpg lighting-app qpg6100+debug (read only) 494080 494152 72 0.0
(read/write) 114144 114144 0 0.0
.bss 50256 50256 0 0.0
.data 1008 1008 0 0.0
.text 488760 488832 72 0.0
lock-app qpg6100+debug (read only) 469044 469108 64 0.0
(read/write) 114140 114140 0 0.0
.bss 49200 49200 0 0.0
.data 964 964 0 0.0
.text 463724 463788 64 0.0
persistent-storage-app qpg6100+debug (read only) 105416 105416 0 0.0
(read/write) 114142 114142 0 0.0
.bss 8994 8994 0 0.0
.data 272 272 0 0.0
.text 100096 100096 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 768410 768482 72 0.0
bss 79116 79116 0 0.0
noinit 37160 37160 0 0.0
text 533546 533624 78 0.0

@github-actions
Copy link

github-actions bot commented Nov 20, 2021

PR #11705: Size comparison from 6cb75f4 to e2a05c0

Increases above 0.2%:

platform target config section 6cb75f4 e2a05c0 change % change
linux chip-tool debug (read only) 4982909 4999237 16328 0.3
(read/write) 165288 165960 672 0.4
.data.rel.ro 117664 118352 688 0.6
.text 4405397 4419349 13952 0.3
ota-requestor-app debug (read only) 1358113 1369153 11040 0.8
.data.rel.ro 26280 26408 128 0.5
.rodata 125064 125448 384 0.3
.text 1133074 1143330 10256 0.9
tv-app debug (read only) 1876257 1887129 10872 0.6
.text 1573106 1583314 10208 0.6
Increases (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 6cb75f4 e2a05c0 change % change
efr32 lighting-app BRD4161A (read only) 750448 750544 96 0.0
.text 750440 750536 96 0.0
BRD4161A+rpc (read only) 737972 738068 96 0.0
.text 737964 738060 96 0.0
lock-app BRD4161A (read only) 727504 727600 96 0.0
.text 727496 727592 96 0.0
window-app BRD4161A (read only) 728488 728584 96 0.0
.text 728480 728576 96 0.0
esp32 all-clusters-app c3devkit (read only) 831588 831668 80 0.0
.flash.text 831588 831668 80 0.0
m5stack (read only) 902619 902739 120 0.0
.flash.text 897235 897355 120 0.0
k32w lighting-app k32w061+se05x+release (read/write) 707304 707384 80 0.0
.text 622380 622460 80 0.0
lock-app k32w061+debug (read/write) 598736 598816 80 0.0
.text 523340 523420 80 0.0
shell k32w061+debug (read/write) 664112 664192 80 0.0
.text 577588 577668 80 0.0
linux all-clusters-app debug (read only) 1745017 1745561 544 0.0
.text 1471890 1472434 544 0.0
bridge-app debug+rpc (read only) 1324829 1325357 528 0.0
.text 1115397 1115925 528 0.0
chip-tool debug (read only) 4982909 4999237 16328 0.3
(read/write) 165288 165960 672 0.4
.data.rel.ro 117664 118352 688 0.6
.rodata 269354 269738 384 0.1
.text 4405397 4419349 13952 0.3
lighting-app debug+rpc (read only) 1593937 1594465 528 0.0
.text 1329282 1329810 528 0.0
ota-provider-app debug (read only) 1272377 1272905 528 0.0
.text 1060738 1061266 528 0.0
ota-requestor-app debug (read only) 1358113 1369153 11040 0.8
(read/write) 78784 78912 128 0.2
.data.rel.ro 26280 26408 128 0.5
.got 3992 4000 8 0.2
.rodata 125064 125448 384 0.3
.text 1133074 1143330 10256 0.9
tv-app debug (read only) 1876257 1887129 10872 0.6
(read/write) 318392 318520 128 0.0
.data.rel.ro 60144 60264 120 0.2
.rodata 158021 158373 352 0.2
.text 1573106 1583314 10208 0.6
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2289808 2289872 64 0.0
.text 1252408 1252472 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2273936 2274064 128 0.0
.text 1236536 1236664 128 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2249840 2249904 64 0.0
.text 1212440 1212504 64 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 865027 865107 80 0.0
text 582972 583048 76 0.0
nrf52840dk_nrf52840+rpc (read/write) 827395 827475 80 0.0
text 557140 557216 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 790082 790162 80 0.0
text 512444 512520 76 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840427 840507 80 0.0
text 563064 563144 80 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765730 765810 80 0.0
text 492628 492708 80 0.0
pump-app nrf52840dk_nrf52840 (read/write) 846567 846647 80 0.0
text 567248 567324 76 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840127 840207 80 0.0
text 562684 562764 80 0.0
p6 all-clusters-app default (read/write) 2302744 2302824 80 0.0
.text 1261008 1261088 80 0.0
lock-app default (read/write) 2215944 2216040 96 0.0
.text 1174208 1174304 96 0.0
qpg lighting-app qpg6100+debug (read only) 494080 494152 72 0.0
.text 488760 488832 72 0.0
lock-app qpg6100+debug (read only) 469044 469108 64 0.0
.text 463724 463788 64 0.0
telink lighting-app tlsr9518adk80d (read/write) 768410 768482 72 0.0
text 533546 533624 78 0.0
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 6cb75f4 e2a05c0 change % change
efr32 lighting-app BRD4161A (read only) 750448 750544 96 0.0
(read/write) 119692 119692 0 0.0
.bss 117892 117892 0 0.0
.data 1800 1800 0 0.0
.text 750440 750536 96 0.0
BRD4161A+rpc (read only) 737972 738068 96 0.0
(read/write) 136320 136320 0 0.0
.bss 134396 134396 0 0.0
.data 1924 1924 0 0.0
.text 737964 738060 96 0.0
lock-app BRD4161A (read only) 727504 727600 96 0.0
(read/write) 113380 113380 0 0.0
.bss 111620 111620 0 0.0
.data 1756 1756 0 0.0
.text 727496 727592 96 0.0
window-app BRD4161A (read only) 728488 728584 96 0.0
(read/write) 113700 113700 0 0.0
.bss 111940 111940 0 0.0
.data 1760 1760 0 0.0
.text 728480 728576 96 0.0
esp32 all-clusters-app c3devkit (read only) 831588 831668 80 0.0
(read/write) 1221210 1221210 0 0.0
.dram0.bss 57696 57696 0 0.0
.dram0.data 14092 14092 0 0.0
.flash.rodata 164176 164176 0 0.0
.flash.text 831588 831668 80 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 902619 902739 120 0.0
(read/write) 420536 420536 0 0.0
.dram0.bss 63056 63056 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 192144 192144 0 0.0
.flash.text 897235 897355 120 0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 707304 707384 80 0.0
.bss 77212 77212 0 0.0
.data 1912 1912 0 0.0
.text 622380 622460 80 0.0
lock-app k32w061+debug (read/write) 598736 598816 80 0.0
.bss 67716 67716 0 0.0
.data 1880 1880 0 0.0
.text 523340 523420 80 0.0
shell k32w061+debug (read/write) 664112 664192 80 0.0
.bss 78876 78876 0 0.0
.data 1848 1848 0 0.0
.text 577588 577668 80 0.0
linux all-clusters-app debug (read only) 1745017 1745561 544 0.0
(read/write) 128392 128392 0 0.0
.bss 58544 58544 0 0.0
.data 1042 1042 0 0.0
.data.rel.ro 63504 63504 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 137493 137493 0 0.0
.text 1471890 1472434 544 0.0
bridge-app debug+rpc (read only) 1324829 1325357 528 0.0
(read/write) 76432 76432 0 0.0
.bss 41520 41520 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 28352 28352 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 112028 112028 0 0.0
.text 1115397 1115925 528 0.0
chip-tool debug (read only) 4982909 4999237 16328 0.3
(read/write) 165288 165960 672 0.4
.bss 39848 39848 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 117664 118352 688 0.6
.dynamic 592 592 0 0.0
.got 4416 4416 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 269354 269738 384 0.1
.text 4405397 4419349 13952 0.3
lighting-app debug+rpc (read only) 1593937 1594465 528 0.0
(read/write) 109616 109616 0 0.0
.bss 47152 47152 0 0.0
.data 1234 1234 0 0.0
.data.rel.ro 55920 55920 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 129649 129649 0 0.0
.text 1329282 1329810 528 0.0
ota-provider-app debug (read only) 1272377 1272905 528 0.0
(read/write) 75048 75048 0 0.0
.bss 44096 44096 0 0.0
.data 784 784 0 0.0
.data.rel.ro 25080 25080 0 0.0
.dynamic 592 592 0 0.0
.got 4016 4016 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 114047 114047 0 0.0
.text 1060738 1061266 528 0.0
ota-requestor-app debug (read only) 1358113 1369153 11040 0.8
(read/write) 78784 78912 128 0.2
.bss 46560 46560 0 0.0
.data 848 848 0 0.0
.data.rel.ro 26280 26408 128 0.5
.dynamic 592 592 0 0.0
.got 3992 4000 8 0.2
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 125064 125448 384 0.3
.text 1133074 1143330 10256 0.9
shell debug (read only) 799185 799185 0 0.0
(read/write) 65832 65832 0 0.0
.bss 23336 23336 0 0.0
.data 242 242 0 0.0
.data.rel.ro 37752 37752 0 0.0
.dynamic 592 592 0 0.0
.got 3528 3528 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 78703 78703 0 0.0
.text 616466 616466 0 0.0
tv-app debug (read only) 1876257 1887129 10872 0.6
(read/write) 318392 318520 128 0.0
.bss 249800 249800 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 60144 60264 120 0.2
.dynamic 592 592 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 158021 158373 352 0.2
.text 1573106 1583314 10208 0.6
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2289808 2289872 64 0.0
.bss 180300 180300 0 0.0
.data 5224 5224 0 0.0
.heap 850920 850920 0 0.0
.text 1252408 1252472 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2273936 2274064 128 0.0
.bss 172196 172196 0 0.0
.data 5576 5576 0 0.0
.heap 858672 858672 0 0.0
.text 1236536 1236664 128 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2249840 2249904 64 0.0
.bss 171084 171084 0 0.0
.data 5568 5568 0 0.0
.heap 859792 859792 0 0.0
.text 1212440 1212504 64 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139744 1139744 0 0.0
.bss 11752 11752 0 0.0
.data 4368 4368 0 0.0
.heap 1020328 1020328 0 0.0
.text 103128 103128 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2050480 2050480 0 0.0
.bss 156272 156272 0 0.0
.data 4968 4968 0 0.0
.heap 875208 875208 0 0.0
.text 1013080 1013080 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 865027 865107 80 0.0
bss 110604 110604 0 0.0
rodata 95828 95828 0 0.0
text 582972 583048 76 0.0
nrf52840dk_nrf52840+rpc (read/write) 827395 827475 80 0.0
bss 106960 106960 0 0.0
rodata 87012 87012 0 0.0
text 557140 557216 76 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 790082 790162 80 0.0
bss 111980 111980 0 0.0
rodata 91084 91084 0 0.0
text 512444 512520 76 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840427 840507 80 0.0
bss 109628 109628 0 0.0
rodata 92300 92300 0 0.0
text 563064 563144 80 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765730 765810 80 0.0
bss 111040 111040 0 0.0
rodata 87604 87604 0 0.0
text 492628 492708 80 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497327 497327 0 0.0
bss 51824 51824 0 0.0
rodata 45780 45780 0 0.0
text 339436 339436 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 846567 846647 80 0.0
bss 109768 109768 0 0.0
rodata 94008 94008 0 0.0
text 567248 567324 76 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840127 840207 80 0.0
bss 109664 109664 0 0.0
rodata 92256 92256 0 0.0
text 562684 562764 80 0.0
shell nrf52840dk_nrf52840 (read/write) 778003 778003 0 0.0
bss 109112 109112 0 0.0
rodata 73064 73064 0 0.0
text 521244 521244 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 693058 693058 0 0.0
bss 110096 110096 0 0.0
rodata 67708 67708 0 0.0
text 441856 441856 0 0.0
p6 all-clusters-app default (read/write) 2302744 2302824 80 0.0
.bss 113280 113280 0 0.0
.data 2528 2528 0 0.0
.heap 917536 917536 0 0.0
.text 1261008 1261088 80 0.0
lock-app default (read/write) 2215944 2216040 96 0.0
.bss 100944 100944 0 0.0
.data 2400 2400 0 0.0
.heap 930000 930000 0 0.0
.text 1174208 1174304 96 0.0
qpg lighting-app qpg6100+debug (read only) 494080 494152 72 0.0
(read/write) 114144 114144 0 0.0
.bss 50256 50256 0 0.0
.data 1008 1008 0 0.0
.text 488760 488832 72 0.0
lock-app qpg6100+debug (read only) 469044 469108 64 0.0
(read/write) 114140 114140 0 0.0
.bss 49200 49200 0 0.0
.data 964 964 0 0.0
.text 463724 463788 64 0.0
persistent-storage-app qpg6100+debug (read only) 105416 105416 0 0.0
(read/write) 114142 114142 0 0.0
.bss 8994 8994 0 0.0
.data 272 272 0 0.0
.text 100096 100096 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 768410 768482 72 0.0
bss 79116 79116 0 0.0
noinit 37160 37160 0 0.0
text 533546 533624 78 0.0

@bzbarsky-apple bzbarsky-apple merged commit 55349a5 into project-chip:master Nov 20, 2021
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.

Handle chunking of reads on the client side
4 participants