PAPI (http://icl.cs.utk.edu/papi/index.html) has a configure option --with-components=component1,component2 ...
There is no documentation whatsoever for the components which are meant to be easily creatable by just creating a subir with the neccessary files and passing the name of that subdir in the above configure option. As the upstream maintainers do not want a static list of the existing components, I'm trying to come up with a way to dynamically generate a list of components (i.e. subdir names) and get that included into a call to AS_HELP_STRING. Is there a way to do so? Philipp