Pass which profile the method expects. am: ce8198e1e8 am: bdba4be1f1

Original change: https://android-review.googlesource.com/c/platform/art/+/1844918

Change-Id: I70690efbed41ae9d7b2d37076105f75ccb883e4c