Move profiling code into run_once_profiling()

This patch moves all profiling code into run_once_profiling(). Tests
that need more control over profilers can override this function and
provide a custom profile run using autotest's profiling infrastructure.

Thanks to mbligh for the idea.

Signed-off-by: Nikhil Rao <ncrao@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2724 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed