support zsh profiling via $ZSH_PROFILE_RC and profile()