Repository navigation
Commit ae293a2
authored
ci: measure ipcinfo growth by its sections, not its page-rounded file size (#251)
The budget compared stat -c %s of ipcinfo before and after. That file is
page-quantised: the RW segment's file offset has to equal its address
modulo 4096, so it jumps a whole page whenever the code in front of it
crosses a boundary. On master the code segment ends exactly where the data
segment begins (0xae68 both), so the slack is zero bytes. A change adding
12 bytes of code (#249) and one adding 24 (#250) each "grew" ipcinfo by
4096 and failed the 1024-byte budget.
Measure text + data + bss from size(1) instead: what the camera loads,
growing by the bytes the change adds. With the CI toolchain those two PRs
measure +12 and +24.1 parent 5d678de commit ae293a2
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
73 | 80 | | |
74 | 81 | | |
75 | 82 | | |
| |||
80 | 87 | | |
81 | 88 | | |
82 | 89 | | |
83 | | - | |
| 90 | + | |
| 91 | + | |
84 | 92 | | |
85 | 93 | | |
86 | 94 | | |
| |||
0 commit comments