Hi Mike,
On Thu, Sep 06, 2018 at 08:43:59AM +0000, Mike Leach wrote:
Hi Leo,
I can do this, but it probably won't happen before connect.
Thanks!
If you want to quickly test something look at line 90 in decoder\tests\snapshot_parser_lib\source\ss_to_dcdtree.cpp :-
m_pDecodeTree = DecodeTree::CreateDecodeTree(src_format,OCSD_DFRMTR_FRAME_MEM_ALIGN);
Or in the flag there and we can add the additional command line option code later
I did quick change as below, but it still fails to decode with one trace data with command: ../../bin/builddir/trc_pkt_lister -decode; I also uploaded the complete snapshot tar file [1].
Just to clarify this new tar file includes a new trace data which I captured later than shared with you ahead in this thread.
diff --git a/decoder/tests/snapshot_parser_lib/source/ss_to_dcdtree.cpp b/decoder/tests/snapshot_parser_lib/source/ss_to_dcdtree.cpp index 81ae82b..27982d5 100644 --- a/decoder/tests/snapshot_parser_lib/source/ss_to_dcdtree.cpp +++ b/decoder/tests/snapshot_parser_lib/source/ss_to_dcdtree.cpp @@ -87,7 +87,7 @@ bool CreateDcdTreeFromSnapShot::createDecodeTree(const std::string &SourceName,
/* create the initial device tree */ // TBD: handle syncs / hsyncs data from TPIU - m_pDecodeTree = DecodeTree::CreateDecodeTree(src_format,OCSD_DFRMTR_FRAME_MEM_ALIGN); + m_pDecodeTree = DecodeTree::CreateDecodeTree(src_format,OCSD_DFRMTR_FRAME_MEM_ALIGN|OCSD_DFRMTR_RESET_ON_4X_FSYNC); if(m_pDecodeTree == 0) { LogError("Failed to create decode tree object\n");
Thanks, Leo Yan
[1] http://people.linaro.org/~leo.yan/opencsd_db410c/db410c_snapshot_kdump_0906....