Add a ScopedTrace when updating code_item and entrypoint in image.

Test: app startup, take a trace
Bug: 177444058
Change-Id: I54b038a4fb95333a8c7e0b17746ac40b5c2e0f47
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index ac97946..bbdfcef 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -2046,6 +2046,7 @@
   }
 
   if (!runtime->IsAotCompiler()) {
+    ScopedTrace trace("AppImage:UpdateCodeItemAndNterp");
     bool can_use_nterp = interpreter::CanRuntimeUseNterp();
     header.VisitPackedArtMethods([&](ArtMethod& method) REQUIRES_SHARED(Locks::mutator_lock_) {
       // In the image, the `data` pointer field of the ArtMethod contains the code