Merge changes I71ab8819,I8bf37923

* changes:
  Perfprofd: Rewrite perf invocation arg generation
  Perfprofd: Move invoke code to its own file