Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PROF-4198] Gather CPU time in profiler without monkey patching Thread for all supported Ruby versions (2.1 to 3.x) #1740

Merged
merged 14 commits into from
Nov 5, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove all references to the CPU time extension aka Thread monkey patch
It's been fully replaced by our usage of the native extension to get
this information.
  • Loading branch information
ivoanjo committed Oct 27, 2021
commit 1106b71e74ac54120175f09b43a3e24147ea4ccb
2 changes: 0 additions & 2 deletions lib/ddtrace/profiling.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,7 @@ def self.unsupported_reason
private_class_method def self.load_profiling
return false unless supported?

require 'ddtrace/profiling/ext/cpu'
require 'ddtrace/profiling/ext/forking'

require 'ddtrace/profiling/collectors/stack'
require 'ddtrace/profiling/exporter'
require 'ddtrace/profiling/recorder'
Expand Down
67 changes: 0 additions & 67 deletions lib/ddtrace/profiling/ext/cpu.rb

This file was deleted.

172 changes: 0 additions & 172 deletions lib/ddtrace/profiling/ext/cthread.rb

This file was deleted.

Loading