[profiler] Avoid instrumenting inlined methods