Perfprofd: Move invoke code to its own file

So that it's easier to isolate and change.

Bug: 110555909
Test: mmma system/extras/perfprofd
Test: perfprofd_test
Change-Id: I8bf379232277ee1cad8041368ccf2b40b3bf4f8c
4 files changed