tmf: make CallstackProvider entry and exit return TmfStates
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 15 Apr 2016 01:59:44 +0000 (21:59 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 5 May 2016 00:53:59 +0000 (20:53 -0400)
commitc3777c23b1156860c6847f0fd3cf0105a818c055
tree8e3931603de79d2164dc5116c0983d195eefa5b9
parent7aed5d619ae15fb3239d6f1f3e269e4105a591d1
tmf: make CallstackProvider entry and exit return TmfStates

This allows certain callstacks to return simpler long or int
states instead of a string. Expect SIGNIFICANT space savings.

In an example application, ls was traced (coreutils 8
with -finstrument-functions)

For a 149 mb trace with no lost events.

State system size
before:
233 mb
after:
25mb

Total time for trace compass fullscreen (1920x1080)

read the trace and build the state systems:
before:
61.5 sec
after:
44.0 sec

average seek time (100ms window, 10 random locations)
before:
1.2 sec
after:
0.6 s

Change-Id: Ic868829296d92d854cda7b78784b6ee3be4d5a51
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/70719
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
lttng/org.eclipse.tracecompass.lttng2.ust.core.tests/src/org/eclipse/tracecompass/lttng2/ust/core/tests/callstack/AbstractProviderTest.java
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/internal/lttng2/ust/core/callstack/LttngUstCallStackProvider.java
lttng/org.eclipse.tracecompass.lttng2.ust.ui.swtbot.tests/src/org/eclipse/tracecompass/lttng2/ust/ui/swtbot/tests/CallStackViewTest.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/callstack/CallStackStateProvider.java
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/callstack/CallStackView.java
This page took 0.027555 seconds and 5 git commands to generate.