Basic python state system for LTTng traces