papi_state returns a bitmask, so do a bitwise comparison, not direct compare.
papi_state returns a bitmask, so do a bitwise comparison, not direct compare.

instead of a direct comparison with PAPI_<state> we should just do a bitwise
AND to confirm the state

wuliming/pcp,prasincs/pcp,tjanez/pcp,andyvand/cygpcpfans,mbaldessari/pcp,tjanez/pcp,aeg-aeg/pcpfans,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,tjanez/pcp,edwardt/pcp,mbaldessari/pcp,tjanez/pcp,adfernandes/pcp,wuliming/pcp,wuliming/pcp,edwardt/pcp,edwardt/pcp,aeg-aeg/pcpfans,prasincs/pcp,wuliming/pcp,prasincs/pcp,tjanez/pcp,prasincs/pcp,tjanez/pcp,aeg-aeg/pcpfans,andyvand/cygpcpfans,aeg-aeg/pcpfans,edwardt/pcp,tjanez/pcp,edwardt/pcp,wuliming/pcp,mbaldessari/pcp,aeg-aeg/pcpfans,adfernandes/pcp,edwardt/pcp,aeg-aeg/pcpfans,andyvand/cygpcpfans,adfernandes/pcp,andyvand/cygpcpfans,prasincs/pcp,mbaldessari/pcp,tjanez/pcp,wuliming/pcp,prasincs/pcp,mbaldessari/pcp,prasincs/pcp,aeg-aeg/pcpfans,edwardt/pcp,prasincs/pcp,adfernandes/pcp,mbaldessari/pcp,andyvand/cygpcpfans,wuliming/pcp,andyvand/cygpcpfans,adfernandes/pcp,wuliming/pcp,andyvand/cygpcpfans,andyvand/cygpcpfans,edwardt/pcp,aeg-aeg/pcpfans