Changes to fix overflow/profile issues in niagara2. Thanks to Fabian Gorsler.
Changes to fix overflow/profile issues in niagara2.
Thanks to Fabian Gorsler.

arm-hpc/papi,pyrovski/papi,arm-hpc/papi,pyrovski/papi,arm-hpc/papi,pyrovski/papi,pyrovski/papi,pyrovski/papi,arm-hpc/papi,arm-hpc/papi,arm-hpc/papi,pyrovski/papi,pyrovski/papi,pyrovski/papi,arm-hpc/papi