lttng.ust: Properly null-check the debug info state system
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Mon, 27 Jun 2016 19:41:51 +0000 (15:41 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Wed, 29 Jun 2016 21:04:33 +0000 (17:04 -0400)
commita09b0f0300dd814f539d2468d6322a28e8319fd2
treec5673dd531a610e5072821697667f5a65c3b5ab7
parentb2648641471dcf8e47eec7ddb273e4a5bf175943
lttng.ust: Properly null-check the debug info state system

When opening a trace, some views (callstack etc.) might request
symbol/function names before the state system is properly loaded,
so the checkNotNull() check can fail. Actually reply that the
information is not available, instead of breaking the whole trace.

Change-Id: I9cb5446b00444d2b8388e9f21a5822187fd30734
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/76058
Reviewed-by: Hudson CI
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/lttng2/ust/core/analysis/debuginfo/UstDebugInfoAnalysisModule.java
This page took 0.025508 seconds and 5 git commands to generate.