lttng: Fix Resource View for traces without sched_switch events
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 14 Nov 2014 15:54:43 +0000 (10:54 -0500)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 17 Nov 2014 22:31:32 +0000 (17:31 -0500)
commit8f9ad413373838ae116dcbd95d61e370585cc7e4
tree1da3107be331f6617b234ff713908d9c168e8b91
parent2dcb4dbc00d9f7056a68c63ad49df3261da6c01c
lttng: Fix Resource View for traces without sched_switch events

The Resource View assumes that if the base quark of a resource is
present, the "Status" sub-attribute will always be there. This may
not be the case, for example if the trace does not have sched_switch
events enabled, but has shed_wakeup.

Change-Id: Iaf25cf3d8a5b8ee686281dc3064f241229c2c245
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/36492
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
org.eclipse.tracecompass.lttng2.kernel.ui/src/org/eclipse/tracecompass/internal/lttng2/kernel/ui/views/resources/ResourcesView.java
This page took 0.02539 seconds and 5 git commands to generate.