Move GitLab::Profiler.clean_backtrace out
We call GitLab::Profiler.clean_backtrace
in a lot of places where we aren't actually profiling. It probably makes sense to break this out into its own class method.
We call GitLab::Profiler.clean_backtrace
in a lot of places where we aren't actually profiling. It probably makes sense to break this out into its own class method.