Hi all,
I'm currently working on a HDD component for PAPI-C but have some trouble with the PAPI_event_name_to_code routine. I've created the component according to the given ACPI and Ethernet components and adapted the PAPI source files accoring to the wiki.
I've configured PAPI-C with --with-acpi=yes, --with-net=yes and --with-hdd=yes (my component) and it compiled without problems.
A call to PAPI_num_components() gives the correct result of 4 and the even the values of the component_info type returned by PAPI_get_component_info() are as expected.
However, when I try to create an event set and therefore call PAPI_event_name_to_code(), PAPI does not find the event. With events of the other three components it works fine. Does someone have an idea what the reason might be why the event is not found? Did I miss something?
Regards, Michael