testers wanted for PAPI / FreeBSD
redcrash at gmail.com
Sun May 20 10:29:24 UTC 2007
I'm porting PAPI to FreeBSD. I was wondering if you could give a try to
the package I'm porting. It would be great to have more feedback than just
that my laptop is able to provide me :)
First of all, you can download the code at
Next, see man hwpmc(4) and compile a kernel with
(you'll require device apic if you're running on i386 machines).
When you boot your dmesg should print something like
hwpmc: TSC/1/0x20<REA> P6/2/0x1fe<USR,SYS,EDG,THR,REA,WRI,INV,QUA>
Once the machine is up and running, just untar the file you've downloaded,
run ./configure and just run make (not make install).
Could you send me the output of the following commands?
# dmesg | grep hwpmc
Thank you very much,
Empty your memory,
with a free()...
like a pointer!
If you cast a pointer to an integer,
it becomes an integer,
if you cast a pointer to a struct,
it becomes a struct.
The pointer can crash...,
and can overflow.
Be a pointer my friend...
More information about the freebsd-performance