# File lib/new_relic/agent/commands/thread_profiler_session.rb, line 53
        def harvest
          NewRelic::Agent.logger.debug("Harvesting from Thread Profiler #{@finished_profile.to_log_description unless @finished_profile.nil?}")
          profile = @finished_profile
          @backtrace_service.profile_agent_code = false
          @finished_profile = nil
          @started_at = nil
          profile
        end