fork inheritance

Open discussion of PAPI.

fork inheritance

Postby fadishei » Sun Nov 28, 2010 10:05 am

Hello

There is an "inherit.c" distributed with PAPI in ctests folder which I am interested in. Unfortunately it is not compiled during a normal make and trying "make inherit" will fail:

Code: Select all
$ cd ctests
$ make inherit
gcc -I. -g -O -Wall  inherit.c do_loops.o test_utils.o dummy.o -lpapi  -o inherit
inherit.c: In function ‘main’:
inherit.c:46: error: ‘PAPI_option_t’ has no member named ‘inherit’
inherit.c:47: error: ‘PAPI_INHERIT’ undeclared (first use in this function)
inherit.c:47: error: (Each undeclared identifier is reported only once
inherit.c:47: error: for each function it appears in.)
make: *** [inherit] Error 1


Please let me know whether this test can be compiled.
My environment configuration is kernel 2.6.35 + perf_events

Best regards
Fadishei
fadishei
 
Posts: 1
Joined: Sun Nov 28, 2010 9:53 am

Return to General discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron