os.linux: Fix NPE in input/output analysis
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Tue, 7 Feb 2017 16:10:00 +0000 (11:10 -0500)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Thu, 9 Feb 2017 21:40:34 +0000 (16:40 -0500)
commit99cf918d43c8e32ee15e9324c729eb174ee80635
tree018feb3c397e76790318a310c55eebef277463a8
parent4eebe59dd6484ec6576599689da1c69393734b79
os.linux: Fix NPE in input/output analysis

The block rq sector field is not present in the block_bio_frontmerge
event, but can easily be computed from the other field data.

Change-Id: Ib5b056d97cffac82a8bcfa1be80bc713504091a1
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/90555
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
analysis/org.eclipse.tracecompass.analysis.os.linux.core.tests/testfiles/io_analysis/io_missing.xml
analysis/org.eclipse.tracecompass.analysis.os.linux.core.tests/testfiles/io_analysis/io_req_merge.xml
analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/inputoutput/handlers/BlockFrontMergeHandler.java
This page took 0.02601 seconds and 5 git commands to generate.