analysis: Fix storing of fields of system call latency analysis
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Fri, 29 Apr 2016 14:13:53 +0000 (10:13 -0400)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Mon, 2 May 2016 19:15:56 +0000 (15:15 -0400)
commitcd655e55d84b4a0e9bc6321c6bc544a13c4ba0c9
tree0c13280e19a50d84705ad2a539ca7224a81fb371
parent266dc922f16911f77ddb283b5aac4847b9d4d70c
analysis: Fix storing of fields of system call latency analysis

Right now all fields stored as map fieldName -> field value using
the toString() method on the field value (field.getValue().toString)
However, this cause a problem when the type the value is an object
other than string or a primitive type (e.g. long[]). This patches
changes this to uses field.toString() which creates a formatted string
of the value.

Change-Id: I6ff61eb70d7a7bb958b77797c3271c61cc430eef
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/71698
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/src/org/eclipse/tracecompass/analysis/os/linux/core/latency/SystemCallLatencyAnalysis.java
This page took 0.025076 seconds and 5 git commands to generate.