Merge changes I00124a28,Id3a4e755

* changes:
  Perfprofd: Add invoke failure logging
  Perfprofd: Refactor test code