/usr/lib/ruby/2.5.0/profile.rb is in libruby2.5 2.5.1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | # frozen_string_literal: true
require 'profiler'
RubyVM::InstructionSequence.compile_option = {
:trace_instruction => true,
:specialized_instruction => false
}
END {
Profiler__::print_profile(STDERR)
}
Profiler__::start_profile
|