Improve trace() for Tizen