summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2025-01-21 16:33:59 +0000
committer Mythri Alle <mythria@google.com> 2025-01-21 11:48:25 -0800
commita874b96ed12f2c4a586e3ca1458d0809a499c40c (patch)
treedfde6a4cc34c43b17bb61604edda8d34fd8f2cca
parent38f9f08494d3f91857d88a598f7d03bd2d1818e2 (diff)
Restore a line that was accidentally dropped in aosp/3434019
For proxy methods we need to get corresponding interface method. This line was dropped accidentally in aosp/3434019. This CL re-introduces the line. Bug: 352518093 Test: art/test.py --tracing Change-Id: If53bd6b7219c6ec81889b16cfb6677adf0cbb3ab
-rw-r--r--runtime/trace_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/trace_common.h b/runtime/trace_common.h
index 93ffb9b0da..759a0bbc49 100644
--- a/runtime/trace_common.h
+++ b/runtime/trace_common.h
@@ -27,6 +27,7 @@ using android::base::StringPrintf;
namespace art HIDDEN {
static std::string GetMethodInfoLine(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_) {
+ method = method->GetInterfaceMethodIfProxy(kRuntimePointerSize);
return StringPrintf("%s\t%s\t%s\t%s\n",
PrettyDescriptor(method->GetDeclaringClassDescriptor()).c_str(),
method->GetName(),