Fixed printf format errors which helped break GUPROF for arches with
64-bit function pointers.
This commit is contained in:
parent
c81d4a0396
commit
372c2e9613
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129502
@ -160,8 +160,8 @@ kmstartup(dummy)
|
||||
p->lowpc = ROUNDDOWN((u_long)btext, HISTFRACTION * sizeof(HISTCOUNTER));
|
||||
p->highpc = ROUNDUP((u_long)etext, HISTFRACTION * sizeof(HISTCOUNTER));
|
||||
p->textsize = p->highpc - p->lowpc;
|
||||
printf("Profiling kernel, textsize=%lu [%x..%x]\n",
|
||||
p->textsize, p->lowpc, p->highpc);
|
||||
printf("Profiling kernel, textsize=%lu [%jx..%jx]\n",
|
||||
p->textsize, (uintmax_t)p->lowpc, (uintmax_t)p->highpc);
|
||||
p->kcountsize = p->textsize / HISTFRACTION;
|
||||
p->hashfraction = HASHFRACTION;
|
||||
p->fromssize = p->textsize / HASHFRACTION;
|
||||
|
Loading…
Reference in New Issue
Block a user