Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[linuxtools-dev] TmfEventContent data storage

I’m having a performance problem with the way the data is stored in the TmfEventContent object.

Currently data is stored as String (and is converted to a string in the constructor).

I think it would be better having the capability of storing the object given in the constructor and giving this object to the parse() method of the format. This way the object can either be binary data or a reference into the log file and can be efficiently handled by the format without going the way of converting the data to a string passing the string and then parsing the string back to separate fields especially when the log file is not a text-type log file and can hold huge data segments for a single log entry. Then the TMF can be used for only retrieving the data when requested by the GUI which is currently not possible.

The event parser interface is prepared getting an object, but currently the implementation of the TmfEventContent object hides this feature.

Is there a possibility changing this in the TmfEventContent class?


Back to the top