Not intentional. Luckily fixing it doesn't change the ABI on i386/amd64.
Koshy
This function is internal to libpmc.
> in hwpmc_core.c:
> static int iaf_allocate_pmc(int cpu, int ri, struct pmc *pm, const
> struct pmc_op_pmcallocate *a);
This one is part of the hwpmc(4) kernel module.
> Is the code in the middle of being updated? Which one is correct?
Both are---the kernel and userland use disjoint sets of program
symbols.
Koshy