add some tools to profile code