module RubyProf::ExcludeCommonMethods

def self.exclude_enumerable(profile, mod, *method_or_methods)

def self.exclude_enumerable(profile, mod, *method_or_methods)
  exclude_methods(profile, mod, [:each, *method_or_methods])
  exclude_methods(profile, mod, ENUMERABLE_NAMES)
end