Fixes pec_count not being decremented by removing an event, without this if you add and remove 4 events, the 5th one being added will not work.
Fixes pec_count not being decremented by removing an event, without this
if you add and remove 4 events, the 5th one being added will not work.

Question, do I also, need to remap the array that holds the events, my
guess is yes.  Will look into this and check a fix soon.

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