kprof: fix precedence (thanks geoff)
This commit is contained in:
parent
d73c67660b
commit
45afecffd1
|
@ -96,9 +96,11 @@ main(int argc, char *argv[])
|
|||
error(0, "no text symbols");
|
||||
|
||||
tbase = mach->kbase;
|
||||
if(tbase != s.value & ~0xFFF)
|
||||
if(tbase != (s.value & ~0xFFF)){
|
||||
print("warning: kbase %.8llux != tbase %.8llux\n",
|
||||
tbase, s.value&~0xFFF);
|
||||
tbase = s.value;
|
||||
}
|
||||
print("KTZERO %.8llux PGSIZE %dKb\n", tbase, mach->pgsize/1024);
|
||||
/*
|
||||
* Accumulate counts for each function
|
||||
|
|
Loading…
Reference in a new issue