ARM-software / trappy

This repository has moved to https://gitlab.arm.com/tooling/trappy
Apache License 2.0
60 stars 39 forks source link

plotter: EventPlot: avoid changes on input data by operating on a copy #216

Closed mdigiorgio closed 8 years ago

mdigiorgio commented 8 years ago

_get_lanes() does some changes to the input data that are necessary for the Javascript code to work properly. However, these changes permanently affect the input data. In particular, "lane" names are converted to integers.

To avoid this, let's create an internal copy of the input data and always operate on that.

Signed-off-by: Michele Di Giorgio michele.digiorgio@arm.com

JaviMerino commented 8 years ago

Yeah, :heart: