Extend profile analysis with proper return codes am: 3b75828afe

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14982070

Change-Id: I4abe79cc5121a8edcd72d541139f30ef852d6eca