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

[OperationalCredentials]: Reporting change for the attributes not managed by the attribute store. #11155

Merged
merged 4 commits into from
Oct 29, 2021
Merged

Conversation

yufengwangca
Copy link
Contributor

Problem

What is being fixed? Examples:

  • For the attribute not managed by the attribute store, there is no logic to mark them dirty and notify the report engine when those attributes change. We need to call notify the report engine in such case with the affected paths.

Change overview

Reporting change for the attributes not managed by the attribute store.

Testing

How was this tested? (at least one bullet point required)

  • Remove fabriclist from client: "./chip-tool operationalcredentials remove-fabric 0 12344321 0"
  • Confirm the change is notified to the reporting engine from the server side log
[1635450586.589869][70791:70791] CHIP:ZCL: OpCreds: Fabric 0x1 was retrieved from storage. FabricId 0x0000000000000000, NodeId 0x0000000000BC5C01, VendorId 0x4C38
[1635450586.589872][70791:70791] CHIP:ZCL: OpCreds: Call to writeFabricsIntoFabricsListAttribute
[1635450586.589908][70791:70791] CHIP:DMG: Engine::ScheduleRun
[1635450586.589933][70791:70791] CHIP:DMG: Engine::ScheduleRun
[1635450586.589936][70791:70791] CHIP:DMG: Engine::ScheduleRun
[1635450586.589978][70791:70791] CHIP:ZCL: OpCreds: Fabric 0x1 was retrieved from storage. FabricId 0x0000000000000000, NodeId 0x0000000000BC5C01, VendorId 0x4C38
[1635450586.589981][70791:70791] CHIP:ZCL: OpCreds: Call to writeFabricsIntoFabricsListAttribute
[1635450586.590028][70791:70791] CHIP:DMG: Engine::ScheduleRun
[1635450586.590051][70791:70791] CHIP:DMG: Engine::ScheduleRun
[1635450586.590054][70791:70791] CHIP:DMG: Engine::ScheduleRun
[1635450586.590363][70791:70791] CHIP:DMG: Engine::Run
[1635450586.592092][70791:70791] CHIP:ZCL: OpCreds: RemoveFabric
[1635450586.623815][70791:70791] CHIP:ZCL: OpCreds: Call to writeFabricsIntoFabricsListAttribute
[1635450586.623877][70791:70791] CHIP:DMG: Engine::ScheduleRun
[1635450586.623885][70791:70791] CHIP:DMG: Engine::ScheduleRun
[1635450586.623902][70791:70791] CHIP:DMG: Engine::ScheduleRun
[1635450586.624016][70791:70791] CHIP:DMG: Engine::Run

@github-actions
Copy link

github-actions bot commented Oct 28, 2021

PR #11155: Size comparison from e7c1d2b to 1ca9059

Increases (29 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section e7c1d2b 1ca9059 change % change
efr32 lighting-app BRD4161A (read only) 738120 738168 48 0.0
.text 738112 738160 48 0.0
BRD4161A+rpc (read only) 725560 725608 48 0.0
.text 725552 725600 48 0.0
lock-app BRD4161A (read only) 717400 717464 64 0.0
.text 717392 717456 64 0.0
window-app BRD4161A (read only) 718304 718368 64 0.0
.text 718296 718360 64 0.0
esp32 all-clusters-app c3devkit (read only) 876382 876470 88 0.0
.flash.text 876382 876470 88 0.0
m5stack (read only) 907659 907791 132 0.0
.flash.text 907659 907791 132 0.0
k32w lighting-app k32w061+se05x+release (read/write) 701656 701720 64 0.0
.text 615268 615332 64 0.0
lock-app k32w061+debug (read/write) 593612 593676 64 0.0
.text 516776 516840 64 0.0
linux all-clusters-app debug (read only) 1655073 1655249 176 0.0
.text 1384738 1384914 176 0.0
bridge-app debug+rpc (read only) 1283341 1283517 176 0.0
.text 1076981 1077157 176 0.0
chip-tool debug (read only) 4266101 4266197 96 0.0
.text 3788725 3788821 96 0.0
lighting-app debug+rpc (read only) 1542281 1542457 176 0.0
.text 1280658 1280834 176 0.0
ota-provider-app debug (read only) 1239849 1239993 144 0.0
.text 1032466 1032610 144 0.0
ota-requestor-app debug (read only) 1301945 1302121 176 0.0
.text 1076226 1076402 176 0.0
tv-app debug (read only) 1775441 1775617 176 0.0
.text 1478178 1478354 176 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2291400 2291464 64 0.0
.text 1254000 1254064 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2275608 2275672 64 0.0
.text 1238208 1238272 64 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2253328 2253392 64 0.0
.text 1215928 1215992 64 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 863535 863599 64 0.0
text 577960 578024 64 0.0
nrf52840dk_nrf52840+rpc (read/write) 824363 824427 64 0.0
text 551136 551200 64 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 788526 788590 64 0.0
text 507428 507492 64 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840211 840275 64 0.0
text 559444 559508 64 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765506 765570 64 0.0
text 489004 489068 64 0.0
pump-app nrf52840dk_nrf52840 (read/write) 844911 844975 64 0.0
text 562656 562720 64 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840199 840263 64 0.0
text 559288 559352 64 0.0
p6 lock-app default (read/write) 2169744 2169808 64 0.0
.text 1128008 1128072 64 0.0
qpg lighting-app qpg6100+debug (read only) 491224 491288 64 0.0
.text 485904 485968 64 0.0
lock-app qpg6100+debug (read only) 467556 467620 64 0.0
.text 462236 462300 64 0.0
telink lighting-app tlsr9518adk80d (read/write) 665202 665290 88 0.0
text 458454 458542 88 0.0
Full report (37 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section e7c1d2b 1ca9059 change % change
efr32 lighting-app BRD4161A (read only) 738120 738168 48 0.0
(read/write) 115428 115428 0 0.0
.bss 113676 113676 0 0.0
.data 1752 1752 0 0.0
.text 738112 738160 48 0.0
BRD4161A+rpc (read only) 725560 725608 48 0.0
(read/write) 132036 132036 0 0.0
.bss 130180 130180 0 0.0
.data 1852 1852 0 0.0
.text 725552 725600 48 0.0
lock-app BRD4161A (read only) 717400 717464 64 0.0
(read/write) 113244 113244 0 0.0
.bss 111532 111532 0 0.0
.data 1712 1712 0 0.0
.text 717392 717456 64 0.0
window-app BRD4161A (read only) 718304 718368 64 0.0
(read/write) 113572 113572 0 0.0
.bss 111852 111852 0 0.0
.data 1716 1716 0 0.0
.text 718296 718360 64 0.0
esp32 all-clusters-app c3devkit (read only) 876382 876470 88 0.0
(read/write) 1308944 1308944 0 0.0
.dram0.bss 59248 59248 0 0.0
.dram0.data 16448 16448 0 0.0
.flash.rodata 200016 200016 0 0.0
.flash.text 876382 876470 88 0.0
.iram0.text 57554 57554 0 0.0
m5stack (read only) 907659 907791 132 0.0
(read/write) 428724 428724 0 0.0
.dram0.bss 61744 61744 0 0.0
.dram0.data 32084 32084 0 0.0
.flash.rodata 208732 208732 0 0.0
.flash.text 907659 907791 132 0.0
.iram0.text 125115 125115 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 701656 701720 64 0.0
.bss 78688 78688 0 0.0
.data 1900 1900 0 0.0
.text 615268 615332 64 0.0
lock-app k32w061+debug (read/write) 593612 593676 64 0.0
.bss 69172 69172 0 0.0
.data 1864 1864 0 0.0
.text 516776 516840 64 0.0
shell k32w061+debug (read/write) 425252 425252 0 0.0
.bss 63256 63256 0 0.0
.data 672 672 0 0.0
.text 359620 359620 0 0.0
linux all-clusters-app debug (read only) 1655073 1655249 176 0.0
(read/write) 119104 119104 0 0.0
.bss 51376 51376 0 0.0
.data 978 978 0 0.0
.data.rel.ro 61504 61504 0 0.0
.dynamic 592 592 0 0.0
.got 4088 4088 0 0.0
.init 27 27 0 0.0
.init_array 520 520 0 0.0
.rodata 138069 138069 0 0.0
.text 1384738 1384914 176 0.0
bridge-app debug+rpc (read only) 1283341 1283517 176 0.0
(read/write) 85160 85160 0 0.0
.bss 51856 51856 0 0.0
.data 976 976 0 0.0
.data.rel.ro 27336 27336 0 0.0
.dynamic 592 592 0 0.0
.got 3952 3952 0 0.0
.init 27 27 0 0.0
.init_array 400 400 0 0.0
.rodata 111044 111044 0 0.0
.text 1076981 1077157 176 0.0
chip-tool debug (read only) 4266101 4266197 96 0.0
(read/write) 122176 122176 0 0.0
.bss 17680 17680 0 0.0
.data 1584 1584 0 0.0
.data.rel.ro 97504 97504 0 0.0
.dynamic 592 592 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 424 424 0 0.0
.rodata 214576 214576 0 0.0
.text 3788725 3788821 96 0.0
lighting-app debug+rpc (read only) 1542281 1542457 176 0.0
(read/write) 102000 102000 0 0.0
.bss 41208 41208 0 0.0
.data 1106 1106 0 0.0
.data.rel.ro 54416 54416 0 0.0
.dynamic 608 608 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 528 528 0 0.0
.rodata 129169 129169 0 0.0
.text 1280658 1280834 176 0.0
ota-provider-app debug (read only) 1239849 1239993 144 0.0
(read/write) 67872 67872 0 0.0
.bss 37440 37440 0 0.0
.data 752 752 0 0.0
.data.rel.ro 24584 24584 0 0.0
.dynamic 592 592 0 0.0
.got 4016 4016 0 0.0
.init 27 27 0 0.0
.init_array 440 440 0 0.0
.rodata 111208 111208 0 0.0
.text 1032466 1032610 144 0.0
ota-requestor-app debug (read only) 1301945 1302121 176 0.0
(read/write) 76616 76616 0 0.0
.bss 45216 45216 0 0.0
.data 816 816 0 0.0
.data.rel.ro 25464 25464 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 512 512 0 0.0
.rodata 127904 127904 0 0.0
.text 1076226 1076402 176 0.0
shell debug (read only) 787153 787153 0 0.0
(read/write) 57760 57760 0 0.0
.bss 16168 16168 0 0.0
.data 242 242 0 0.0
.data.rel.ro 36848 36848 0 0.0
.dynamic 592 592 0 0.0
.got 3528 3528 0 0.0
.init 27 27 0 0.0
.init_array 336 336 0 0.0
.rodata 77519 77519 0 0.0
.text 608098 608098 0 0.0
tv-app debug (read only) 1775441 1775617 176 0.0
(read/write) 289624 289624 0 0.0
.bss 223280 223280 0 0.0
.data 2032 2032 0 0.0
.data.rel.ro 58672 58672 0 0.0
.dynamic 592 592 0 0.0
.got 4408 4408 0 0.0
.init 27 27 0 0.0
.init_array 608 608 0 0.0
.rodata 155000 155000 0 0.0
.text 1478178 1478354 176 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2291400 2291464 64 0.0
.bss 180620 180620 0 0.0
.data 5192 5192 0 0.0
.heap 850632 850632 0 0.0
.text 1254000 1254064 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2275608 2275672 64 0.0
.bss 172820 172820 0 0.0
.data 5568 5568 0 0.0
.heap 858056 858056 0 0.0
.text 1238208 1238272 64 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2253328 2253392 64 0.0
.bss 171724 171724 0 0.0
.data 5552 5552 0 0.0
.heap 859168 859168 0 0.0
.text 1215928 1215992 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) 2048976 2048976 0 0.0
.bss 156208 156208 0 0.0
.data 4968 4968 0 0.0
.heap 875272 875272 0 0.0
.text 1011576 1011576 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 863535 863599 64 0.0
bss 112132 112132 0 0.0
rodata 97816 97816 0 0.0
text 577960 578024 64 0.0
nrf52840dk_nrf52840+rpc (read/write) 824363 824427 64 0.0
bss 108372 108372 0 0.0
rodata 88596 88596 0 0.0
text 551136 551200 64 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 788526 788590 64 0.0
bss 113504 113504 0 0.0
rodata 93056 93056 0 0.0
text 507428 507492 64 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840211 840275 64 0.0
bss 111168 111168 0 0.0
rodata 94172 94172 0 0.0
text 559444 559508 64 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765506 765570 64 0.0
bss 112576 112576 0 0.0
rodata 89476 89476 0 0.0
text 489004 489068 64 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497323 497323 0 0.0
bss 51824 51824 0 0.0
rodata 45776 45776 0 0.0
text 339436 339436 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 844911 844975 64 0.0
bss 111304 111304 0 0.0
rodata 95416 95416 0 0.0
text 562656 562720 64 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840199 840263 64 0.0
bss 111200 111200 0 0.0
rodata 94192 94192 0 0.0
text 559288 559352 64 0.0
shell nrf52840dk_nrf52840 (read/write) 776435 776435 0 0.0
bss 109072 109072 0 0.0
rodata 72536 72536 0 0.0
text 520236 520236 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 691490 691490 0 0.0
bss 110056 110056 0 0.0
rodata 67180 67180 0 0.0
text 440848 440848 0 0.0
p6 lock-app default (read/write) 2169744 2169808 64 0.0
.bss 67168 67168 0 0.0
.data 2416 2416 0 0.0
.heap 963760 963760 0 0.0
.text 1128008 1128072 64 0.0
qpg lighting-app qpg6100+debug (read only) 491224 491288 64 0.0
(read/write) 114144 114144 0 0.0
.bss 51288 51288 0 0.0
.data 1000 1000 0 0.0
.text 485904 485968 64 0.0
lock-app qpg6100+debug (read only) 467556 467620 64 0.0
(read/write) 114140 114140 0 0.0
.bss 50240 50240 0 0.0
.data 956 956 0 0.0
.text 462236 462300 64 0.0
persistent-storage-app qpg6100+debug (read only) 155236 155236 0 0.0
(read/write) 114140 114140 0 0.0
.bss 27752 27752 0 0.0
.data 372 372 0 0.0
.text 149916 149916 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 665202 665290 88 0.0
bss 69944 69944 0 0.0
noinit 33216 33216 0 0.0
text 458454 458542 88 0.0

@mrjerryjohns
Copy link
Contributor

LGTM.

Side-note: I notice that this cluster is still writing to the Ember global attribute store for the fabrics list. That should be deleted right? Please file an issue to do so.

@github-actions
Copy link

github-actions bot commented Oct 28, 2021

PR #11155: Size comparison from 1e27d92 to ac89fb2

Increases (28 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1e27d92 ac89fb2 change % change
efr32 lighting-app BRD4161A (read only) 738120 738168 48 0.0
.text 738112 738160 48 0.0
BRD4161A+rpc (read only) 725560 725608 48 0.0
.text 725552 725600 48 0.0
lock-app BRD4161A (read only) 717400 717464 64 0.0
.text 717392 717456 64 0.0
window-app BRD4161A (read only) 718304 718368 64 0.0
.text 718296 718360 64 0.0
esp32 all-clusters-app c3devkit (read only) 876382 876470 88 0.0
.flash.text 876382 876470 88 0.0
k32w lighting-app k32w061+se05x+release (read/write) 701656 701720 64 0.0
.text 615268 615332 64 0.0
lock-app k32w061+debug (read/write) 593612 593676 64 0.0
.text 516776 516840 64 0.0
linux all-clusters-app debug (read only) 1655073 1655249 176 0.0
.text 1384738 1384914 176 0.0
bridge-app debug+rpc (read only) 1283341 1283517 176 0.0
.text 1076981 1077157 176 0.0
chip-tool debug (read only) 4266229 4266325 96 0.0
.text 3788725 3788821 96 0.0
lighting-app debug+rpc (read only) 1542281 1542457 176 0.0
.text 1280658 1280834 176 0.0
ota-provider-app debug (read only) 1239849 1239993 144 0.0
.text 1032466 1032610 144 0.0
ota-requestor-app debug (read only) 1301465 1301641 176 0.0
.text 1076226 1076402 176 0.0
tv-app debug (read only) 1774929 1775105 176 0.0
.text 1478178 1478354 176 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2291400 2291464 64 0.0
.text 1254000 1254064 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2275608 2275672 64 0.0
.text 1238208 1238272 64 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2253328 2253392 64 0.0
.text 1215928 1215992 64 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 863535 863599 64 0.0
text 577960 578024 64 0.0
nrf52840dk_nrf52840+rpc (read/write) 824363 824427 64 0.0
text 551136 551200 64 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 788526 788590 64 0.0
text 507428 507492 64 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840211 840275 64 0.0
text 559444 559508 64 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765506 765570 64 0.0
text 489004 489068 64 0.0
pump-app nrf52840dk_nrf52840 (read/write) 844911 844975 64 0.0
text 562656 562720 64 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840199 840263 64 0.0
text 559288 559352 64 0.0
p6 lock-app default (read/write) 2169744 2169808 64 0.0
.text 1128008 1128072 64 0.0
qpg lighting-app qpg6100+debug (read only) 491224 491288 64 0.0
.text 485904 485968 64 0.0
lock-app qpg6100+debug (read only) 467556 467620 64 0.0
.text 462236 462300 64 0.0
telink lighting-app tlsr9518adk80d (read/write) 665202 665290 88 0.0
text 458454 458542 88 0.0
Decreases (1 build for esp32)
platform target config section 1e27d92 ac89fb2 change % change
esp32 all-clusters-app m5stack (read only) 907747 907703 -44 -0.0
.flash.text 907747 907703 -44 -0.0
Full report (37 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1e27d92 ac89fb2 change % change
efr32 lighting-app BRD4161A (read only) 738120 738168 48 0.0
(read/write) 115428 115428 0 0.0
.bss 113676 113676 0 0.0
.data 1752 1752 0 0.0
.text 738112 738160 48 0.0
BRD4161A+rpc (read only) 725560 725608 48 0.0
(read/write) 132036 132036 0 0.0
.bss 130180 130180 0 0.0
.data 1852 1852 0 0.0
.text 725552 725600 48 0.0
lock-app BRD4161A (read only) 717400 717464 64 0.0
(read/write) 113244 113244 0 0.0
.bss 111532 111532 0 0.0
.data 1712 1712 0 0.0
.text 717392 717456 64 0.0
window-app BRD4161A (read only) 718304 718368 64 0.0
(read/write) 113572 113572 0 0.0
.bss 111852 111852 0 0.0
.data 1716 1716 0 0.0
.text 718296 718360 64 0.0
esp32 all-clusters-app c3devkit (read only) 876382 876470 88 0.0
(read/write) 1308944 1308944 0 0.0
.dram0.bss 59248 59248 0 0.0
.dram0.data 16448 16448 0 0.0
.flash.rodata 200016 200016 0 0.0
.flash.text 876382 876470 88 0.0
.iram0.text 57554 57554 0 0.0
m5stack (read only) 907747 907703 -44 -0.0
(read/write) 428724 428724 0 0.0
.dram0.bss 61744 61744 0 0.0
.dram0.data 32084 32084 0 0.0
.flash.rodata 208732 208732 0 0.0
.flash.text 907747 907703 -44 -0.0
.iram0.text 125115 125115 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 701656 701720 64 0.0
.bss 78688 78688 0 0.0
.data 1900 1900 0 0.0
.text 615268 615332 64 0.0
lock-app k32w061+debug (read/write) 593612 593676 64 0.0
.bss 69172 69172 0 0.0
.data 1864 1864 0 0.0
.text 516776 516840 64 0.0
shell k32w061+debug (read/write) 425252 425252 0 0.0
.bss 63256 63256 0 0.0
.data 672 672 0 0.0
.text 359620 359620 0 0.0
linux all-clusters-app debug (read only) 1655073 1655249 176 0.0
(read/write) 119104 119104 0 0.0
.bss 51376 51376 0 0.0
.data 978 978 0 0.0
.data.rel.ro 61504 61504 0 0.0
.dynamic 592 592 0 0.0
.got 4088 4088 0 0.0
.init 27 27 0 0.0
.init_array 520 520 0 0.0
.rodata 138069 138069 0 0.0
.text 1384738 1384914 176 0.0
bridge-app debug+rpc (read only) 1283341 1283517 176 0.0
(read/write) 85160 85160 0 0.0
.bss 51856 51856 0 0.0
.data 976 976 0 0.0
.data.rel.ro 27336 27336 0 0.0
.dynamic 592 592 0 0.0
.got 3952 3952 0 0.0
.init 27 27 0 0.0
.init_array 400 400 0 0.0
.rodata 111044 111044 0 0.0
.text 1076981 1077157 176 0.0
chip-tool debug (read only) 4266229 4266325 96 0.0
(read/write) 122176 122176 0 0.0
.bss 17680 17680 0 0.0
.data 1584 1584 0 0.0
.data.rel.ro 97504 97504 0 0.0
.dynamic 592 592 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 424 424 0 0.0
.rodata 214704 214704 0 0.0
.text 3788725 3788821 96 0.0
lighting-app debug+rpc (read only) 1542281 1542457 176 0.0
(read/write) 102000 102000 0 0.0
.bss 41208 41208 0 0.0
.data 1106 1106 0 0.0
.data.rel.ro 54416 54416 0 0.0
.dynamic 608 608 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 528 528 0 0.0
.rodata 129169 129169 0 0.0
.text 1280658 1280834 176 0.0
ota-provider-app debug (read only) 1239849 1239993 144 0.0
(read/write) 67872 67872 0 0.0
.bss 37440 37440 0 0.0
.data 752 752 0 0.0
.data.rel.ro 24584 24584 0 0.0
.dynamic 592 592 0 0.0
.got 4016 4016 0 0.0
.init 27 27 0 0.0
.init_array 440 440 0 0.0
.rodata 111208 111208 0 0.0
.text 1032466 1032610 144 0.0
ota-requestor-app debug (read only) 1301465 1301641 176 0.0
(read/write) 76616 76616 0 0.0
.bss 45216 45216 0 0.0
.data 816 816 0 0.0
.data.rel.ro 25464 25464 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 512 512 0 0.0
.rodata 127424 127424 0 0.0
.text 1076226 1076402 176 0.0
shell debug (read only) 787153 787153 0 0.0
(read/write) 57760 57760 0 0.0
.bss 16168 16168 0 0.0
.data 242 242 0 0.0
.data.rel.ro 36848 36848 0 0.0
.dynamic 592 592 0 0.0
.got 3528 3528 0 0.0
.init 27 27 0 0.0
.init_array 336 336 0 0.0
.rodata 77519 77519 0 0.0
.text 608098 608098 0 0.0
tv-app debug (read only) 1774929 1775105 176 0.0
(read/write) 289624 289624 0 0.0
.bss 223280 223280 0 0.0
.data 2032 2032 0 0.0
.data.rel.ro 58672 58672 0 0.0
.dynamic 592 592 0 0.0
.got 4408 4408 0 0.0
.init 27 27 0 0.0
.init_array 608 608 0 0.0
.rodata 154488 154488 0 0.0
.text 1478178 1478354 176 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2291400 2291464 64 0.0
.bss 180620 180620 0 0.0
.data 5192 5192 0 0.0
.heap 850632 850632 0 0.0
.text 1254000 1254064 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2275608 2275672 64 0.0
.bss 172820 172820 0 0.0
.data 5568 5568 0 0.0
.heap 858056 858056 0 0.0
.text 1238208 1238272 64 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2253328 2253392 64 0.0
.bss 171724 171724 0 0.0
.data 5552 5552 0 0.0
.heap 859168 859168 0 0.0
.text 1215928 1215992 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) 2048976 2048976 0 0.0
.bss 156208 156208 0 0.0
.data 4968 4968 0 0.0
.heap 875272 875272 0 0.0
.text 1011576 1011576 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 863535 863599 64 0.0
bss 112132 112132 0 0.0
rodata 97816 97816 0 0.0
text 577960 578024 64 0.0
nrf52840dk_nrf52840+rpc (read/write) 824363 824427 64 0.0
bss 108372 108372 0 0.0
rodata 88596 88596 0 0.0
text 551136 551200 64 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 788526 788590 64 0.0
bss 113504 113504 0 0.0
rodata 93056 93056 0 0.0
text 507428 507492 64 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840211 840275 64 0.0
bss 111168 111168 0 0.0
rodata 94172 94172 0 0.0
text 559444 559508 64 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765506 765570 64 0.0
bss 112576 112576 0 0.0
rodata 89476 89476 0 0.0
text 489004 489068 64 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497323 497323 0 0.0
bss 51824 51824 0 0.0
rodata 45776 45776 0 0.0
text 339436 339436 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 844911 844975 64 0.0
bss 111304 111304 0 0.0
rodata 95416 95416 0 0.0
text 562656 562720 64 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840199 840263 64 0.0
bss 111200 111200 0 0.0
rodata 94192 94192 0 0.0
text 559288 559352 64 0.0
shell nrf52840dk_nrf52840 (read/write) 776435 776435 0 0.0
bss 109072 109072 0 0.0
rodata 72536 72536 0 0.0
text 520236 520236 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 691490 691490 0 0.0
bss 110056 110056 0 0.0
rodata 67180 67180 0 0.0
text 440848 440848 0 0.0
p6 lock-app default (read/write) 2169744 2169808 64 0.0
.bss 67168 67168 0 0.0
.data 2416 2416 0 0.0
.heap 963760 963760 0 0.0
.text 1128008 1128072 64 0.0
qpg lighting-app qpg6100+debug (read only) 491224 491288 64 0.0
(read/write) 114144 114144 0 0.0
.bss 51288 51288 0 0.0
.data 1000 1000 0 0.0
.text 485904 485968 64 0.0
lock-app qpg6100+debug (read only) 467556 467620 64 0.0
(read/write) 114140 114140 0 0.0
.bss 50240 50240 0 0.0
.data 956 956 0 0.0
.text 462236 462300 64 0.0
persistent-storage-app qpg6100+debug (read only) 155236 155236 0 0.0
(read/write) 114140 114140 0 0.0
.bss 27752 27752 0 0.0
.data 372 372 0 0.0
.text 149916 149916 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 665202 665290 88 0.0
bss 69944 69944 0 0.0
noinit 33216 33216 0 0.0
text 458454 458542 88 0.0

@yufengwangca
Copy link
Contributor Author

Side-note: I notice that this cluster is still writing to the Ember global attribute store for the fabrics list. That should be deleted right? Please file an issue to do so.

Per @pan-apple this part of logic will be refactored. #11165

Copy link
Contributor

@bzbarsky-apple bzbarsky-apple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

src/app/reporting/Engine.h Outdated Show resolved Hide resolved
src/app/util/ember-compatibility-functions.cpp Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Oct 29, 2021

PR #11155: Size comparison from 1e27d92 to 08495ad

Increases (28 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1e27d92 08495ad change % change
efr32 lighting-app BRD4161A (read only) 738120 738168 48 0.0
.text 738112 738160 48 0.0
BRD4161A+rpc (read only) 725560 725608 48 0.0
.text 725552 725600 48 0.0
lock-app BRD4161A (read only) 717400 717464 64 0.0
.text 717392 717456 64 0.0
window-app BRD4161A (read only) 718304 718368 64 0.0
.text 718296 718360 64 0.0
esp32 all-clusters-app c3devkit (read only) 876382 876470 88 0.0
.flash.text 876382 876470 88 0.0
k32w lighting-app k32w061+se05x+release (read/write) 701656 701720 64 0.0
.text 615268 615332 64 0.0
lock-app k32w061+debug (read/write) 593612 593676 64 0.0
.text 516776 516840 64 0.0
linux all-clusters-app debug (read only) 1655073 1655249 176 0.0
.text 1384738 1384914 176 0.0
bridge-app debug+rpc (read only) 1283341 1283517 176 0.0
.text 1076981 1077157 176 0.0
chip-tool debug (read only) 4266229 4266325 96 0.0
.text 3788725 3788821 96 0.0
lighting-app debug+rpc (read only) 1542281 1542457 176 0.0
.text 1280658 1280834 176 0.0
ota-provider-app debug (read only) 1239849 1239993 144 0.0
.text 1032466 1032610 144 0.0
ota-requestor-app debug (read only) 1301465 1301641 176 0.0
.text 1076226 1076402 176 0.0
tv-app debug (read only) 1774929 1775105 176 0.0
.text 1478178 1478354 176 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2291400 2291464 64 0.0
.text 1254000 1254064 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2275608 2275672 64 0.0
.text 1238208 1238272 64 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2253328 2253392 64 0.0
.text 1215928 1215992 64 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 863535 863599 64 0.0
text 577960 578024 64 0.0
nrf52840dk_nrf52840+rpc (read/write) 824363 824427 64 0.0
text 551136 551200 64 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 788526 788590 64 0.0
text 507428 507492 64 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840211 840275 64 0.0
text 559444 559508 64 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765506 765570 64 0.0
text 489004 489068 64 0.0
pump-app nrf52840dk_nrf52840 (read/write) 844911 844975 64 0.0
text 562656 562720 64 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840199 840263 64 0.0
text 559288 559352 64 0.0
p6 lock-app default (read/write) 2169744 2169808 64 0.0
.text 1128008 1128072 64 0.0
qpg lighting-app qpg6100+debug (read only) 491224 491288 64 0.0
.text 485904 485968 64 0.0
lock-app qpg6100+debug (read only) 467556 467620 64 0.0
.text 462236 462300 64 0.0
telink lighting-app tlsr9518adk80d (read/write) 665202 665290 88 0.0
text 458454 458542 88 0.0
Decreases (1 build for esp32)
platform target config section 1e27d92 08495ad change % change
esp32 all-clusters-app m5stack (read only) 907747 907703 -44 -0.0
.flash.text 907747 907703 -44 -0.0
Full report (37 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1e27d92 08495ad change % change
efr32 lighting-app BRD4161A (read only) 738120 738168 48 0.0
(read/write) 115428 115428 0 0.0
.bss 113676 113676 0 0.0
.data 1752 1752 0 0.0
.text 738112 738160 48 0.0
BRD4161A+rpc (read only) 725560 725608 48 0.0
(read/write) 132036 132036 0 0.0
.bss 130180 130180 0 0.0
.data 1852 1852 0 0.0
.text 725552 725600 48 0.0
lock-app BRD4161A (read only) 717400 717464 64 0.0
(read/write) 113244 113244 0 0.0
.bss 111532 111532 0 0.0
.data 1712 1712 0 0.0
.text 717392 717456 64 0.0
window-app BRD4161A (read only) 718304 718368 64 0.0
(read/write) 113572 113572 0 0.0
.bss 111852 111852 0 0.0
.data 1716 1716 0 0.0
.text 718296 718360 64 0.0
esp32 all-clusters-app c3devkit (read only) 876382 876470 88 0.0
(read/write) 1308944 1308944 0 0.0
.dram0.bss 59248 59248 0 0.0
.dram0.data 16448 16448 0 0.0
.flash.rodata 200016 200016 0 0.0
.flash.text 876382 876470 88 0.0
.iram0.text 57554 57554 0 0.0
m5stack (read only) 907747 907703 -44 -0.0
(read/write) 428724 428724 0 0.0
.dram0.bss 61744 61744 0 0.0
.dram0.data 32084 32084 0 0.0
.flash.rodata 208732 208732 0 0.0
.flash.text 907747 907703 -44 -0.0
.iram0.text 125115 125115 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 701656 701720 64 0.0
.bss 78688 78688 0 0.0
.data 1900 1900 0 0.0
.text 615268 615332 64 0.0
lock-app k32w061+debug (read/write) 593612 593676 64 0.0
.bss 69172 69172 0 0.0
.data 1864 1864 0 0.0
.text 516776 516840 64 0.0
shell k32w061+debug (read/write) 425252 425252 0 0.0
.bss 63256 63256 0 0.0
.data 672 672 0 0.0
.text 359620 359620 0 0.0
linux all-clusters-app debug (read only) 1655073 1655249 176 0.0
(read/write) 119104 119104 0 0.0
.bss 51376 51376 0 0.0
.data 978 978 0 0.0
.data.rel.ro 61504 61504 0 0.0
.dynamic 592 592 0 0.0
.got 4088 4088 0 0.0
.init 27 27 0 0.0
.init_array 520 520 0 0.0
.rodata 138069 138069 0 0.0
.text 1384738 1384914 176 0.0
bridge-app debug+rpc (read only) 1283341 1283517 176 0.0
(read/write) 85160 85160 0 0.0
.bss 51856 51856 0 0.0
.data 976 976 0 0.0
.data.rel.ro 27336 27336 0 0.0
.dynamic 592 592 0 0.0
.got 3952 3952 0 0.0
.init 27 27 0 0.0
.init_array 400 400 0 0.0
.rodata 111044 111044 0 0.0
.text 1076981 1077157 176 0.0
chip-tool debug (read only) 4266229 4266325 96 0.0
(read/write) 122176 122176 0 0.0
.bss 17680 17680 0 0.0
.data 1584 1584 0 0.0
.data.rel.ro 97504 97504 0 0.0
.dynamic 592 592 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 424 424 0 0.0
.rodata 214704 214704 0 0.0
.text 3788725 3788821 96 0.0
lighting-app debug+rpc (read only) 1542281 1542457 176 0.0
(read/write) 102000 102000 0 0.0
.bss 41208 41208 0 0.0
.data 1106 1106 0 0.0
.data.rel.ro 54416 54416 0 0.0
.dynamic 608 608 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 528 528 0 0.0
.rodata 129169 129169 0 0.0
.text 1280658 1280834 176 0.0
ota-provider-app debug (read only) 1239849 1239993 144 0.0
(read/write) 67872 67872 0 0.0
.bss 37440 37440 0 0.0
.data 752 752 0 0.0
.data.rel.ro 24584 24584 0 0.0
.dynamic 592 592 0 0.0
.got 4016 4016 0 0.0
.init 27 27 0 0.0
.init_array 440 440 0 0.0
.rodata 111208 111208 0 0.0
.text 1032466 1032610 144 0.0
ota-requestor-app debug (read only) 1301465 1301641 176 0.0
(read/write) 76616 76616 0 0.0
.bss 45216 45216 0 0.0
.data 816 816 0 0.0
.data.rel.ro 25464 25464 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 512 512 0 0.0
.rodata 127424 127424 0 0.0
.text 1076226 1076402 176 0.0
shell debug (read only) 787153 787153 0 0.0
(read/write) 57760 57760 0 0.0
.bss 16168 16168 0 0.0
.data 242 242 0 0.0
.data.rel.ro 36848 36848 0 0.0
.dynamic 592 592 0 0.0
.got 3528 3528 0 0.0
.init 27 27 0 0.0
.init_array 336 336 0 0.0
.rodata 77519 77519 0 0.0
.text 608098 608098 0 0.0
tv-app debug (read only) 1774929 1775105 176 0.0
(read/write) 289624 289624 0 0.0
.bss 223280 223280 0 0.0
.data 2032 2032 0 0.0
.data.rel.ro 58672 58672 0 0.0
.dynamic 592 592 0 0.0
.got 4408 4408 0 0.0
.init 27 27 0 0.0
.init_array 608 608 0 0.0
.rodata 154488 154488 0 0.0
.text 1478178 1478354 176 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2291400 2291464 64 0.0
.bss 180620 180620 0 0.0
.data 5192 5192 0 0.0
.heap 850632 850632 0 0.0
.text 1254000 1254064 64 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2275608 2275672 64 0.0
.bss 172820 172820 0 0.0
.data 5568 5568 0 0.0
.heap 858056 858056 0 0.0
.text 1238208 1238272 64 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2253328 2253392 64 0.0
.bss 171724 171724 0 0.0
.data 5552 5552 0 0.0
.heap 859168 859168 0 0.0
.text 1215928 1215992 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) 2048976 2048976 0 0.0
.bss 156208 156208 0 0.0
.data 4968 4968 0 0.0
.heap 875272 875272 0 0.0
.text 1011576 1011576 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 863535 863599 64 0.0
bss 112132 112132 0 0.0
rodata 97816 97816 0 0.0
text 577960 578024 64 0.0
nrf52840dk_nrf52840+rpc (read/write) 824363 824427 64 0.0
bss 108372 108372 0 0.0
rodata 88596 88596 0 0.0
text 551136 551200 64 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 788526 788590 64 0.0
bss 113504 113504 0 0.0
rodata 93056 93056 0 0.0
text 507428 507492 64 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840211 840275 64 0.0
bss 111168 111168 0 0.0
rodata 94172 94172 0 0.0
text 559444 559508 64 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765506 765570 64 0.0
bss 112576 112576 0 0.0
rodata 89476 89476 0 0.0
text 489004 489068 64 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497323 497323 0 0.0
bss 51824 51824 0 0.0
rodata 45776 45776 0 0.0
text 339436 339436 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 844911 844975 64 0.0
bss 111304 111304 0 0.0
rodata 95416 95416 0 0.0
text 562656 562720 64 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840199 840263 64 0.0
bss 111200 111200 0 0.0
rodata 94192 94192 0 0.0
text 559288 559352 64 0.0
shell nrf52840dk_nrf52840 (read/write) 776435 776435 0 0.0
bss 109072 109072 0 0.0
rodata 72536 72536 0 0.0
text 520236 520236 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 691490 691490 0 0.0
bss 110056 110056 0 0.0
rodata 67180 67180 0 0.0
text 440848 440848 0 0.0
p6 lock-app default (read/write) 2169744 2169808 64 0.0
.bss 67168 67168 0 0.0
.data 2416 2416 0 0.0
.heap 963760 963760 0 0.0
.text 1128008 1128072 64 0.0
qpg lighting-app qpg6100+debug (read only) 491224 491288 64 0.0
(read/write) 114144 114144 0 0.0
.bss 51288 51288 0 0.0
.data 1000 1000 0 0.0
.text 485904 485968 64 0.0
lock-app qpg6100+debug (read only) 467556 467620 64 0.0
(read/write) 114140 114140 0 0.0
.bss 50240 50240 0 0.0
.data 956 956 0 0.0
.text 462236 462300 64 0.0
persistent-storage-app qpg6100+debug (read only) 155236 155236 0 0.0
(read/write) 114140 114140 0 0.0
.bss 27752 27752 0 0.0
.data 372 372 0 0.0
.text 149916 149916 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 665202 665290 88 0.0
bss 69944 69944 0 0.0
noinit 33216 33216 0 0.0
text 458454 458542 88 0.0

@saurabhst saurabhst merged commit ea68796 into project-chip:master Oct 29, 2021
PSONALl pushed a commit to PSONALl/connectedhomeip that referenced this pull request Dec 3, 2021
…aged by the attribute store. (project-chip#11155)

* Reporting OperationalCredentials Attribute Change

* Update src/app/reporting/Engine.h

Co-authored-by: Jerry Johns <[email protected]>

* Update src/app/util/ember-compatibility-functions.cpp

Co-authored-by: Boris Zbarsky <[email protected]>

* Address review comments

Co-authored-by: Jerry Johns <[email protected]>
Co-authored-by: Boris Zbarsky <[email protected]>
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.

5 participants