Repository navigation
Commit 7b65909
fix(memory): install the memtrack copy before any run under sudo
Walltime runs samply under sudo with the user's HOME, so it creates
`~/.cache` as root when it does not exist yet. A later memory run then
fails to create `~/.cache/codspeed/memtrack/<hash>` and cannot grant the
eBPF capabilities. Install the copy upfront, as the current user, when
the memory mode is requested.
Refs COD-3440
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 644ce62 commit 7b65909
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
128 | 137 | | |
129 | 138 | | |
130 | 139 | | |
| |||
0 commit comments