testers wanted for PAPI / FreeBSD



Hello,

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

http://code.google.com/p/papi-for-freebsd

Next, see man hwpmc(4) and compile a kernel with
options HWPMC_HOOKS
device hwpmc

(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
# utils/papi_avail
# utils/papi_decode
# utils/papi_native_avail
# ctests/low-level
# ctests/high-level

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...
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: reinterpret_cast
    ... types were declared using the class keyword or the struct keyword. ... in such cases the C cast is always equivalent to static_cast (which will ... can be performed using the cast notation of explicit type conversion. ... --a pointer to an object of derived class type or an lvalue of derived class ...
    (microsoft.public.win32.programmer.kernel)
  • Re: testers wanted for PAPI / FreeBSD
    ... >> I'm porting PAPI to FreeBSD. ... If you cast a pointer to an integer, ... it becomes a struct. ...
    (freebsd-hackers)
  • Re: testers wanted for PAPI / FreeBSD
    ... >> I'm porting PAPI to FreeBSD. ... If you cast a pointer to an integer, ... it becomes a struct. ...
    (freebsd-performance)
  • Re: Pointer to Structure Casts
    ... >> I am working with some code that is doing some pointer to structure ... >> casts and I can't figure out how the cast is being done. ... >> typedef struct diffRecord ... >>} DiffRecord; ...
    (comp.lang.c)
  • Re: difference between date & time
    ... Store the values for one time in a struct tm ... A parameter declared as an array is really a pointer, ... I suspect you really want all the parameters to be of type int. ... This cast, like almost all casts, is suspicious. ...
    (comp.lang.c)