Increasing breakdown row padding to match CPU
This commit is contained in:
parent
881e556e06
commit
a827113c2a
@ -278,7 +278,7 @@ model_nanos6_breakdown_finish(struct emu *emu,
|
|||||||
struct prf *prf = pvt_get_prf(bemu->pvt);
|
struct prf *prf = pvt_get_prf(bemu->pvt);
|
||||||
for (int64_t row = 0; row < bemu->nphycpus; row++) {
|
for (int64_t row = 0; row < bemu->nphycpus; row++) {
|
||||||
char name[128];
|
char name[128];
|
||||||
if (snprintf(name, 128, "~CPU %3ld", bemu->nphycpus - row) >= 128) {
|
if (snprintf(name, 128, "~CPU %4ld", bemu->nphycpus - row) >= 128) {
|
||||||
err("label too long");
|
err("label too long");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user