Revert "remove tracing, fix piggy, tune build"

This reverts commit d483f7b347050207002cb1f1d552f946ff1a5370.