lttng: Introduce a debug-info analysis for UST traces
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 27 May 2015 21:49:39 +0000 (17:49 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 16 Oct 2015 17:25:39 +0000 (13:25 -0400)
commitef7f180d547a43222769290c13847be64fe977a5
tree472d20a385da8e728da8560deec07436c3743397
parent02993d575d156a0d50a6f3ed422e942850a3560b
lttng: Introduce a debug-info analysis for UST traces

This UST-specific analysis will track the loading and unloading
of shared libraries, and will allow to match an instruction pointer
from an event context to the corresponding binary or library.

Once we have the correct binary (executable or .so) identified,
we can match it to an actual binary file with debug information,
and retrive the corresponding address/filename/line number, just
like is currently done with the Callstack view.

For now, the analysis will only map an instruction pointer to
the corresponding binary file. A future step will use CDT
binary parsing facilities to get the function name and line
number corresponding to the instruction pointer.

Change-Id: I6127e89cc5d3d8c7abff01610b8a6dc9a612f149
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/51662
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
15 files changed:
lttng/org.eclipse.tracecompass.lttng2.kernel.ui/META-INF/MANIFEST.MF
lttng/org.eclipse.tracecompass.lttng2.ust.core/META-INF/MANIFEST.MF
lttng/org.eclipse.tracecompass.lttng2.ust.core/plugin.xml
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/internal/lttng2/ust/core/analysis/debuginfo/UstDebugInfoBinaryFile.java [new file with mode: 0644]
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/internal/lttng2/ust/core/analysis/debuginfo/UstDebugInfoStateProvider.java [new file with mode: 0644]
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/internal/lttng2/ust/core/analysis/debuginfo/package-info.java [new file with mode: 0644]
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/internal/lttng2/ust/core/trace/layout/LttngUst20EventLayout.java
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/internal/lttng2/ust/core/trace/layout/LttngUst28EventLayout.java [new file with mode: 0644]
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/analysis/debuginfo/Messages.java [new file with mode: 0644]
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/analysis/debuginfo/UstDebugInfoAnalysisModule.java [new file with mode: 0644]
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/analysis/debuginfo/UstDebugInfoAspect.java [new file with mode: 0644]
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/analysis/debuginfo/messages.properties [new file with mode: 0644]
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/analysis/debuginfo/package-info.java [new file with mode: 0644]
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/trace/LttngUstTrace.java
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/trace/layout/ILttngUstEventLayout.java
This page took 0.027284 seconds and 5 git commands to generate.