Method: NewRelic::Agent::Threading::BacktraceService#should_profile_agent_code?

Defined in:
lib/new_relic/agent/threading/backtrace_service.rb

#should_profile_agent_code?Boolean

This method is expected to be called with @lock held.

Returns:

  • (Boolean)


243
244
245
# File 'lib/new_relic/agent/threading/backtrace_service.rb', line 243

def should_profile_agent_code?
  @profiles.values.any? { |p| p.profile_agent_code }
end