Fix trivial bug in kprof -- pc not getting set correctly
authorRonald G. Minnich <rminnich@google.com>
Sat, 26 Apr 2014 00:45:50 +0000 (17:45 -0700)
committerRonald G. Minnich <rminnich@google.com>
Sat, 26 Apr 2014 00:45:50 +0000 (17:45 -0700)
commit96a4e0344ffb4078be5f3b9248507b82244d3a8f
treea682a5daed9e1db7394f6c8734d3671a5c9743cf
parent89099ece8f25cd3a7313964ad9483fe105d1c4a9
Fix trivial bug in kprof -- pc not getting set correctly

I was testing with dd bs=64 etc. etc.
Andrew Gallatin tested with cat.

For me, the pc was always right, since each read was a single
record and the pc was recomputed each time. For larger reads, it would be mostly wrong.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/drivers/dev/kprof.c