1 The kprof devices samples the kernel IP at 1 Khz.
3 You have to bind into /net for now as 9namespace doesn't yet control /dev.
9 echo start > /net/kpctl
13 echo stop > /net/kpctl
16 cat /net/kpdata > some-file
18 The file should probably NOT be on the akaros node, funnel it out over a mnt
19 or similar path to a persistent place where you can run tools.
21 The data is in this form
22 pc name count-in-milliseconds
24 %016llx %29s %016llx\n
26 The pc is 8-byte aligned. You'll see the function name a lot. You might want to reduce the
27 number of times you see it.
36 > print var, " ", kp[var]
40 Oh, and, currently, we tend to assume that the pc is a kernel pc. That's kind of dumb, and