Add support for static and normal method on the profile areas

Signed-off-by: Suki <suki@missallsunday.com>
also, I forgot to make this change on my last PR...

Signed-off-by: Suki <suki@missallsunday.com>
Merge pull request #1488 from MissAllSunday/profile_call_func

Profile call func