tmf: Remove ITmfCallsite from ISymbolProvider
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.ust.ui / src / org / eclipse / tracecompass / internal / lttng2 / ust / ui / analysis / debuginfo / UstDebugInfoSymbolProvider.java
index 8ca91fd2a3c16d624e003c6d04893dc15549800d..c6670d8aa97883d72e69a8d2080aaf47be24ef0f 100644 (file)
@@ -57,10 +57,16 @@ public class UstDebugInfoSymbolProvider extends DefaultSymbolProvider {
 
     @Override
     public @Nullable String getSymbolText(int pid, long timestamp, long address) {
-        TmfCallsite callsite = getSymbolInfo(pid, timestamp, address);
+        BinaryCallsite bc = UstDebugInfoBinaryAspect.getBinaryCallsite(getTrace(), pid, timestamp, address);
+        if (bc == null) {
+            return null;
+        }
+
+        TmfCallsite callsite = UstDebugInfoSourceAspect.getSourceCallsite(getTrace(), bc);
         return (callsite == null ? null : callsite.getFunctionName());
     }
 
+    @Deprecated
     @Override
     public @Nullable TmfCallsite getSymbolInfo(int pid, long timestamp, long address) {
         BinaryCallsite bc = UstDebugInfoBinaryAspect.getBinaryCallsite(getTrace(), pid, timestamp, address);
This page took 0.026591 seconds and 5 git commands to generate.