Fix typo in profiler-to-carbon and tweak client behavior

Change-Id: I6923ce665889ccd955b02e289c28277a21a87f1c