Merge "Perfprofd: Add functions in script"