Re: Oprofile : need to adjust PC by 16 bytes
From: Eric Dumazet
Date: Sat Nov 15 2008 - 11:31:51 EST
Andi Kleen a écrit :
And no, blindly subtracting 16 from IP is not a fix.
Who mentioned a fix ? I am only giving more fuel to Intel guys so they
hopefully can give us a working oprofile.
You would need to implement PEBS support to avoid that problem. But it's a big
task. perfmon2 implements it already.
Thanks for the information.
Hum, so I grabbed perfmon2 git tree, installed various tools...
I am quite new to pfmon and tried :
# pfmon --system-wide
sizeof=64 44
<press ENTER to stop session>
Then started "tbench 8", and got a kernel panic after 6 seconds.
I was using oprofile like this
opcontrol --vmlinux=/path/vmlinux --start
// doing some benchmarking...
opreport -l vmlinux | head -n 40
What would be a working equivalent for perfmon2 based tools ?
Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/