lttng.ust: Tweaks to BinaryCallsite
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Fri, 8 Apr 2016 22:33:32 +0000 (18:33 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Tue, 3 May 2016 17:25:55 +0000 (13:25 -0400)
commit1b084865c7c48055f673b20042ab53b3b5d1a9ed
tree7c3be14256f374d2e8c9a7fa93ed39d5588f0854
parentddfa2689d7153b78f0067538076a442314b65867
lttng.ust: Tweaks to BinaryCallsite

- Rename the aspect (and Event table column) to Binary Location.
- Remove the concept of function name, it is not part of the
  information available from the trace. Was not being used
  anyway.
- Print the offset differently depending on if the address is
  absolute or not:
  /usr/lib/mylib.so+0x123 for Position-Indpendant-Code (PIC) binaries
  /usr/myprog@0x401234 for non-PIC binaries

The differentiation PIC/PIE is not very robust at the moment
(we just check if the file name ends in ".so"), but it will be
improved due to a new field being added by UST soon.

Change-Id: Ib0014a77e14c6a88ae19f0c4b410d3675f7966d4
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/70307
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/analysis/debuginfo/BinaryCallsite.java
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/analysis/debuginfo/Messages.java
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/analysis/debuginfo/UstDebugInfoBinaryAspect.java
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/analysis/debuginfo/messages.properties
This page took 0.025587 seconds and 5 git commands to generate.