You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: setup.rb
    path of file: ./repos/dd-trace-rb/lib/datadog/profiling/tasks
    
    the code of the file until where you have to start completion: require_relative '../../core/utils/only_once'
require_relative '../ext/forking'

module Datadog
  module Profiling
    modu
    
        def run
          ACTIVATE_EXTENSIONS_ONLY_ONCE.run do
            begin
              activate_forking_extensions
              setup_at_fork_hooks
            rescue StandardError, ScriptError => e
              Datadog.logger.warn do
                "Profiler extensions unavailable. Cause: #{e.class.name} #{e.message} " \
                "Location: #{Array(e.backtrace).first}"
              end
            end
          end