[PATCH 395/429] ftrace: Avoid potential division by zero in function profiler