added android support for trace events as well