This patch set provides the following additional features:- i) Support for the FSYNC barrier packets inserted by perf. ii) Moves the packet printers from the test code into the main library to allow use by client programs. Additional APIs provided to create and use this packet printers.
Plus additional minor fixes and docs changes.
Mathieu Poirier (1): opencsd: update content to work with any kernel version
Mike Leach (10): opencsd: remove deprecated C-API functions opencsd: Allow FSYNCs to be used as special frames. opencsd: Update message logger for string print callback. opencsd: Move packet printer classes from test code to main library. opencsd: Update C-API to for addtional features. opencsd: tests: Add command line print to test log opencsd: etmv4: Minor print string mod for trace info packet. opencsd: Update error logger interface. opencsd: Add packet printer API to decode tree and C-API opencsd: update README, HOWTO and versions for v0.6
HOWTO.md | 43 +- README.md | 4 +- TODO | 16 +- decoder/build/linux/makefile | 2 - decoder/build/linux/rctdl_c_api_lib/makefile | 1 - decoder/build/linux/ref_trace_decode_lib/makefile | 10 +- .../rctdl_c_api_lib/rctdl_c_api_lib.vcxproj | 2 - .../rctdl_c_api_lib.vcxproj.filters | 6 - .../ref_trace_decode_lib/ref_trace_decode_lib.sln | 21 - .../ref_trace_decode_lib.vcxproj | 8 + .../ref_trace_decode_lib.vcxproj.filters | 30 + decoder/include/c_api/ocsd_c_api_deprc_fn.h | 233 ------ decoder/include/c_api/ocsd_c_api_types.h | 2 + decoder/include/c_api/opencsd_c_api.h | 59 +- decoder/include/common/ocsd_dcd_tree.h | 18 +- decoder/include/common/ocsd_error_logger.h | 4 +- decoder/include/common/ocsd_msg_logger.h | 18 +- decoder/include/common/trc_frame_deformatter.h | 1 + decoder/include/common/trc_pkt_proc_base.h | 10 +- decoder/include/interfaces/trc_error_log_i.h | 3 + decoder/include/ocsd_if_types.h | 3 +- decoder/include/ocsd_if_version.h | 6 +- decoder/include/opencsd.h | 4 + decoder/include/pkt_printers/gen_elem_printer.h | 95 +++ decoder/include/pkt_printers/item_printer.h | 94 +++ decoder/include/pkt_printers/pkt_printer_t.h | 189 +++++ decoder/include/pkt_printers/raw_frame_printer.h | 69 ++ decoder/include/pkt_printers/trc_pkt_printers.h | 43 + decoder/include/pkt_printers/trc_print_fact.h | 60 ++ decoder/source/c_api/ocsd_c_api.cpp | 48 ++ decoder/source/c_api/ocsd_c_api_deprc_fn.cpp | 200 ----- decoder/source/c_api/ocsd_c_api_obj.h | 35 +- decoder/source/etmv4/trc_pkt_elem_etmv4i.cpp | 2 +- decoder/source/ocsd_dcd_tree.cpp | 111 ++- decoder/source/ocsd_msg_logger.cpp | 34 +- decoder/source/pkt_printers/raw_frame_printer.cpp | 104 +++ decoder/source/pkt_printers/trc_print_fact.cpp | 123 +++ decoder/source/trc_frame_deformatter.cpp | 108 ++- decoder/source/trc_frame_deformatter_impl.h | 3 +- .../build/linux/simple_pkt_print_c_api/makefile | 82 -- decoder/tests/build/linux/trc_pkt_lister/makefile | 3 +- .../simple_pkt_print_c_api.vcxproj | 333 -------- .../simple_pkt_print_c_api.vcxproj.filters | 22 - .../trc_pkt_lister/trc_pkt_lister.vcxproj | 6 +- .../trc_pkt_lister/trc_pkt_lister.vcxproj.filters | 14 +- decoder/tests/source/c_api_pkt_print_test.c | 100 ++- decoder/tests/source/gen_elem_printer.h | 96 --- decoder/tests/source/item_printer.h | 94 --- decoder/tests/source/pkt_printer_t.h | 188 ----- decoder/tests/source/raw_frame_printer.cpp | 96 --- decoder/tests/source/raw_frame_printer.h | 71 -- decoder/tests/source/simple_pkt_c_api.c | 923 --------------------- decoder/tests/source/trc_pkt_lister.cpp | 179 +--- 53 files changed, 1413 insertions(+), 2616 deletions(-) delete mode 100644 decoder/include/c_api/ocsd_c_api_deprc_fn.h create mode 100644 decoder/include/pkt_printers/gen_elem_printer.h create mode 100644 decoder/include/pkt_printers/item_printer.h create mode 100644 decoder/include/pkt_printers/pkt_printer_t.h create mode 100644 decoder/include/pkt_printers/raw_frame_printer.h create mode 100644 decoder/include/pkt_printers/trc_pkt_printers.h create mode 100644 decoder/include/pkt_printers/trc_print_fact.h delete mode 100644 decoder/source/c_api/ocsd_c_api_deprc_fn.cpp create mode 100644 decoder/source/pkt_printers/raw_frame_printer.cpp create mode 100644 decoder/source/pkt_printers/trc_print_fact.cpp delete mode 100644 decoder/tests/build/linux/simple_pkt_print_c_api/makefile delete mode 100644 decoder/tests/build/win-vs2015/simple_pkt_print_c_api/simple_pkt_print_c_api.vcxproj delete mode 100644 decoder/tests/build/win-vs2015/simple_pkt_print_c_api/simple_pkt_print_c_api.vcxproj.filters delete mode 100644 decoder/tests/source/gen_elem_printer.h delete mode 100644 decoder/tests/source/item_printer.h delete mode 100644 decoder/tests/source/pkt_printer_t.h delete mode 100644 decoder/tests/source/raw_frame_printer.cpp delete mode 100644 decoder/tests/source/raw_frame_printer.h delete mode 100644 decoder/tests/source/simple_pkt_c_api.c