That's only possible in 0.61. In new version get_func_states() does not take any argument. See https://code.google.com/p/yappi/wiki/apiyappi_v082