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

[darwin-framework-tool] Add back colored logging #24110

Merged

Conversation

vivien-apple
Copy link
Contributor

Problem

This is similar to #24094 but it adds back some colored outputs + additional informations for darwin-framework-tool.

@github-actions
Copy link

github-actions bot commented Dec 16, 2022

PR #24110: Size comparison from 23f0824 to 97c641c

Increases (6 builds for bl702, cc13x2_26x2, nrfconnect, psoc6, telink)
platform target config section 23f0824 97c641c change % change
bl702 lighting-app bl702+rpc (read/write) 1284667 1284683 16 0.0
.debug_info 43479720 43479722 2 0.0
.text 1030734 1030738 4 0.0
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 677351 677359 8 0.0
.text 599448 599456 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 820034 820038 4 0.0
psoc6 light cy8ckit_062s2_43012 .debug_info 22258918 22258919 1 0.0
telink lighting-app tlsr9518adk80d text 703722 703724 2 0.0
thermostat tlsr9518adk80d text 638628 638632 4 0.0
Decreases (7 builds for bl602, cc13x2_26x2, esp32, psoc6, qpg, telink)
platform target config section 23f0824 97c641c change % change
bl602 lighting-app bl602 .text 1039070 1039068 -2 -0.0
bl602+rpc .text 1070492 1070490 -2 -0.0
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 171656 171648 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1219374 1219372 -2 -0.0
.flash.text 1219374 1219372 -2 -0.0
psoc6 lock cy8ckit_062s2_43012 .debug_info 22477305 22477304 -1 -0.0
qpg lock-app qpg6105+debug (read/write) 1117492 1117484 -8 -0.0
.text 564588 564580 -8 -0.0
telink all-clusters-minimal-app tlsr9518adk80d text 691324 691322 -2 -0.0
Full report (42 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 23f0824 97c641c change % change
bl602 lighting-app bl602 (read/write) 1356274 1356274 0 0.0
.bss 86977 86977 0 0.0
.data 9984 9984 0 0.0
.text 1039070 1039068 -2 -0.0
bl602+rpc (read/write) 1402058 1402058 0 0.0
.bss 95017 95017 0 0.0
.data 10384 10384 0 0.0
.text 1070492 1070490 -2 -0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1196175 1196175 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67102 67102 0 0.0
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4048 4048 0 0.0
.debug_abbrev 1529044 1529044 0 0.0
.debug_aranges 132568 132568 0 0.0
.debug_frame 486472 486472 0 0.0
.debug_info 39187303 39187303 0 0.0
.debug_line 5150090 5150090 0 0.0
.debug_loc 3381165 3381165 0 0.0
.debug_ranges 363808 363808 0 0.0
.debug_str 3480463 3480463 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116352 116352 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 569095 569095 0 0.0
.symtab 172176 172176 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
956758 956758 0 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284667 1284683 16 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75118 75118 0 0.0
.bss_psram 30304 30304 0 0.0
.comment 48 48 0 0.0
.data 4576 4576 0 0.0
.debug_abbrev 1676376 1676376 0 0.0
.debug_aranges 140688 140688 0 0.0
.debug_frame 513892 513892 0 0.0
.debug_info 43479720 43479722 2 0.0
.debug_line 5539539 5539539 0 0.0
.debug_loc 3575886 3575886 0 0.0
.debug_ranges 387344 387344 0 0.0
.debug_str 3882861 3882861 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130112 130112 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 629379 629379 0 0.0
.symtab 190352 190352 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030734 1030738 4 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 679819 679819 0 0.0
(read/write) 171628 171628 0 0.0
.bss 81140 81140 0 0.0
.data 3380 3380 0 0.0
.rodata 90003 90003 0 0.0
.text 589504 589504 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 644083 644083 0 0.0
(read/write) 157916 157916 0 0.0
.bss 80420 80420 0 0.0
.data 3380 3380 0 0.0
.rodata 79139 79139 0 0.0
.text 564624 564624 0 0.0
lock-ftd LP_CC2652R7 (read only) 677351 677359 8 0.0
(read/write) 171656 171648 -8 -0.0
.bss 78788 78788 0 0.0
.data 3304 3304 0 0.0
.rodata 77423 77423 0 0.0
.text 599448 599456 8 0.0
lock-mtd LP_CC2652R7 (read only) 662147 662147 0 0.0
(read/write) 182124 182124 0 0.0
.bss 74052 74052 0 0.0
.data 3304 3304 0 0.0
.rodata 103507 103507 0 0.0
.text 558160 558160 0 0.0
pump-app LP_CC2652R7 (read only) 690279 690279 0 0.0
(read/write) 159464 159464 0 0.0
.bss 78756 78756 0 0.0
.data 3296 3296 0 0.0
.rodata 90943 90943 0 0.0
.text 598852 598852 0 0.0
pump-controller-app LP_CC2652R7 (read only) 674187 674187 0 0.0
(read/write) 175660 175660 0 0.0
.bss 78860 78860 0 0.0
.data 3292 3292 0 0.0
.rodata 86499 86499 0 0.0
.text 587208 587208 0 0.0
shell LP_CC2652R7 (read only) 671042 671042 0 0.0
(read/write) 182732 182732 0 0.0
.bss 83468 83468 0 0.0
.data 3376 3376 0 0.0
.rodata 86738 86738 0 0.0
.text 583988 583988 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588434 588434 0 0.0
.app_xip_area 464780 464780 0 0.0
.bss 66112 66112 0 0.0
.data 728 728 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592246 592246 0 0.0
.app_xip_area 463296 463296 0 0.0
.bss 71400 71400 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 551686 551686 0 0.0
.app_xip_area 433528 433528 0 0.0
.bss 60656 60656 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 976308 976308 0 0.0
.bss 152172 152172 0 0.0
.data 2168 2168 0 0.0
.text 821948 821948 0 0.0
BRD4161A+rs911x (read/write) 1038664 1038664 0 0.0
.bss 186648 186648 0 0.0
.data 2012 2012 0 0.0
.text 849984 849984 0 0.0
BRD4187C (read/write) 1149676 1149676 0 0.0
.bss 138568 138568 0 0.0
.data 2516 2516 0 0.0
.text 983996 983996 0 0.0
lock-app BRD4161A+wf200 (read/write) 1069088 1069088 0 0.0
.bss 158184 158184 0 0.0
.data 2020 2020 0 0.0
.text 908860 908860 0 0.0
window-app BRD4187C (read/write) 1142312 1142312 0 0.0
.bss 139984 139984 0 0.0
.data 2540 2540 0 0.0
.text 975192 975192 0 0.0
esp32 all-clusters-app c3devkit (read only) 1219374 1219372 -2 -0.0
(read/write) 1790858 1790858 0 0.0
.dram0.bss 76912 76912 0 0.0
.dram0.data 13928 13928 0 0.0
.flash.rodata 248296 248296 0 0.0
.flash.text 1219374 1219372 -2 -0.0
.iram0.text 71188 71188 0 0.0
m5stack (read only) 1233347 1233347 0 0.0
(read/write) 564103 564103 0 0.0
.dram0.bss 82064 82064 0 0.0
.dram0.data 34224 34224 0 0.0
.flash.rodata 314096 314096 0 0.0
.flash.text 1227963 1227963 0 0.0
.iram0.text 124803 124803 0 0.0
k32w contact k32w0+release (read/write) 662668 662668 0 0.0
.bss 77032 77032 0 0.0
.data 2104 2104 0 0.0
.text 564420 564420 0 0.0
light k32w0+release (read/write) 673232 673232 0 0.0
.bss 74824 74824 0 0.0
.data 2060 2060 0 0.0
.text 593620 593620 0 0.0
lock k32w0+release (read/write) 634204 634204 0 0.0
.bss 75584 75584 0 0.0
.data 2080 2080 0 0.0
.text 553812 553812 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10582268 10582268 0 0.0
(read/write) 691560 691560 0 0.0
.bss 33912 33912 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 636008 636008 0 0.0
.dynamic 560 560 0 0.0
.got 13824 13824 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 535084 535084 0 0.0
.text 8412452 8412452 0 0.0
thermostat-no-ble arm64 (read only) 2477436 2477436 0 0.0
(read/write) 144936 144936 0 0.0
.bss 55336 55336 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 78568 78568 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5184 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 149448 149448 0 0.0
.text 2067552 2067552 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2463616 2463616 0 0.0
.bss 214932 214932 0 0.0
.data 5872 5872 0 0.0
.text 1426260 1426260 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1190823 1190823 0 0.0
bss 145205 145205 0 0.0
rodata 144460 144460 0 0.0
text 820034 820038 4 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1361086 1361086 0 0.0
bss 105144 105144 0 0.0
rodata 211556 211556 0 0.0
text 759878 759878 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1136467 1136467 0 0.0
bss 144440 144440 0 0.0
rodata 120776 120776 0 0.0
text 790206 790206 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842056 842056 0 0.0
(read/write) 1749412 1749412 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188624 188624 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1238142 1238142 0 0.0
.debug_aranges 110768 110768 0 0.0
.debug_frame 371952 371952 0 0.0
.debug_info 27059507 27059507 0 0.0
.debug_line 3709486 3709486 0 0.0
.debug_loc 3624525 3624525 0 0.0
.debug_ranges 346528 346528 0 0.0
.debug_str 3450890 3450890 0 0.0
.heap 842056 842056 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 571935 571935 0 0.0
.symtab 422128 422128 0 0.0
.text 1549736 1549736 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842784 842784 0 0.0
(read/write) 1691948 1691948 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187896 187896 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1230033 1230033 0 0.0
.debug_aranges 110240 110240 0 0.0
.debug_frame 375008 375008 0 0.0
.debug_info 26796304 26796304 0 0.0
.debug_line 3728391 3728391 0 0.0
.debug_loc 3612131 3612131 0 0.0
.debug_ranges 345144 345144 0 0.0
.debug_str 3439902 3439902 0 0.0
.heap 842784 842784 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 536024 536024 0 0.0
.symtab 408560 408560 0 0.0
.text 1493000 1493000 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850976 850976 0 0.0
(read/write) 1610140 1610140 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179912 179912 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2456 2456 0 0.0
.debug_abbrev 1064832 1064832 0 0.0
.debug_aranges 102440 102440 0 0.0
.debug_frame 345344 345344 0 0.0
.debug_info 22258918 22258919 1 0.0
.debug_line 3295500 3295500 0 0.0
.debug_loc 3310054 3310054 0 0.0
.debug_ranges 309280 309280 0 0.0
.debug_str 3245488 3245488 0 0.0
.heap 850976 850976 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 472349 472349 0 0.0
.symtab 376928 376928 0 0.0
.text 1419384 1419384 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845984 845984 0 0.0
(read/write) 1644084 1644084 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184888 184888 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1066742 1066742 0 0.0
.debug_aranges 102824 102824 0 0.0
.debug_frame 347140 347140 0 0.0
.debug_info 22477305 22477304 -1 -0.0
.debug_line 3295394 3295394 0 0.0
.debug_loc 3331485 3331485 0 0.0
.debug_ranges 311136 311136 0 0.0
.debug_str 3261326 3261326 0 0.0
.heap 845984 845984 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 475066 475066 0 0.0
.symtab 378928 378928 0 0.0
.text 1448336 1448336 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1151196 1151196 0 0.0
.bss 100348 100348 0 0.0
.data 840 840 0 0.0
.text 598296 598296 0 0.0
lock-app qpg6105+debug (read/write) 1117492 1117484 -8 -0.0
.bss 95828 95828 0 0.0
.data 836 836 0 0.0
.text 564588 564580 -8 -0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1071344 1071344 0 0.0
bss 98856 98856 0 0.0
text 726160 726160 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1010652 1010652 0 0.0
bss 98080 98080 0 0.0
text 691324 691322 -2 -0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 932116 932116 0 0.0
bss 90320 90320 0 0.0
text 637946 637946 0 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1010084 1010084 0 0.0
bss 98380 98380 0 0.0
text 703722 703724 2 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 945704 945704 0 0.0
bss 91276 91276 0 0.0
text 649202 649202 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 935248 935248 0 0.0
bss 91712 91712 0 0.0
text 638628 638632 4 0.0

@bzbarsky-apple
Copy link
Contributor

Fast-tracking platform-specific fix with platform owner review.

@bzbarsky-apple bzbarsky-apple merged commit a92cbf0 into project-chip:master Dec 17, 2022
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.

2 participants