tmf: Make process and thread names optional in call stack state provider
authorPatrick Tasse <patrick.tasse@gmail.com>
Mon, 2 May 2016 13:01:57 +0000 (09:01 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Tue, 17 May 2016 13:21:41 +0000 (09:21 -0400)
commit7f2bc9ff81f4266042c56cfee3a7678c07c4b4e3
treea15da704643c37bfc6bba43a2fcc583358bb9a1e
parent2e1a217c2b66503bcae24f53555b46760a08b405
tmf: Make process and thread names optional in call stack state provider

- Update call stack state provider to allow the optional specification
of the process name for an event.

- Make the specification of the thread name for an event optional.

- Use the process id (or UKNOWN) as attribute name if the process name
is unspecified.

- Use the thread id as attribute name if the thread name is unspecified.

- Store the process id as int state value of the process attribute in
the default state provider implementation.

- Update call stack view to use the process attribute's int state value
for the process id if available, otherwise try to use the attribute name
parsed as an int.

- Use the thread attribute's long state value for the thread id if
available, otherwise try to use the attribute name parsed as a long.

Change-Id: I91fc5d3eaebaaeed6f44009a1e2185a0bfe6a878
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/71824
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
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.026571 seconds and 5 git commands to generate.