Fix command-line profiling with ruby-prof
ruby-prof v1.0 changed the interface of `RubyProf::AbstractPrinter` from `method_name` to `method_location`. This fixes an unknown method error when using `Gitlab::Profiler.print_by_total_time` as documented in https://docs.gitlab.com/ee/development/profiling.html.
Showing
Please register or sign in to comment