git: 46e6e290975f - main - Import OpenCSD v.1.4.0.

From: Ruslan Bukin <br_at_FreeBSD.org>
Date: Mon, 27 Mar 2023 16:04:35 UTC
The branch main has been updated by br:

URL: https://cgit.FreeBSD.org/src/commit/?id=46e6e290975f19ea62d03f90ac3e523af4dae557

commit 46e6e290975f19ea62d03f90ac3e523af4dae557
Merge: 19e43c163c64 974000f192f9
Author:     Ruslan Bukin <br@FreeBSD.org>
AuthorDate: 2023-03-27 16:03:16 +0000
Commit:     Ruslan Bukin <br@FreeBSD.org>
CommitDate: 2023-03-27 16:03:16 +0000

    Import OpenCSD v.1.4.0.
    
    Sponsored by:   UKRI

 .../opencsd/decoder/include/common/ocsd_dcd_mngr.h |  49 +-
 .../opencsd/decoder/include/common/ocsd_dcd_tree.h |  29 +-
 .../opencsd/decoder/include/common/ocsd_error.h    |  11 +
 .../decoder/include/common/trc_core_arch_map.h     |  29 +-
 .../decoder/include/common/trc_frame_deformatter.h |   7 +
 .../opencsd/decoder/include/common/trc_gen_elem.h  |  14 +-
 .../decoder/include/common/trc_pkt_decode_base.h   |   9 +
 .../decoder/include/common/trc_pkt_proc_base.h     |  48 +-
 .../decoder/include/i_dec/trc_idec_arminst.h       |   5 +-
 .../decoder/include/interfaces/trc_pkt_raw_in_i.h  |   2 +-
 .../include/interfaces/trc_tgt_mem_access_i.h      |   8 +
 .../decoder/include/mem_acc/trc_mem_acc_mapper.h   |   2 +
 contrib/opencsd/decoder/include/opencsd.h          |   1 +
 .../include/opencsd/c_api/ocsd_c_api_types.h       |   1 +
 .../decoder/include/opencsd/c_api/opencsd_c_api.h  |  52 +-
 .../decoder/include/opencsd/ete/ete_decoder.h      |  47 ++
 .../decoder/include/opencsd/ete/trc_cmp_cfg_ete.h  |  81 +++
 .../decoder/include/opencsd/ete/trc_dcd_mngr_ete.h |  58 ++
 .../include/opencsd/ete/trc_pkt_types_ete.h        |  66 ++
 .../include/opencsd/etmv4/trc_cmp_cfg_etmv4.h      |  27 +
 .../include/opencsd/etmv4/trc_etmv4_stack_elem.h   |  70 +++
 .../include/opencsd/etmv4/trc_pkt_decode_etmv4i.h  |  28 +-
 .../include/opencsd/etmv4/trc_pkt_elem_etmv4i.h    |  20 +-
 .../include/opencsd/etmv4/trc_pkt_proc_etmv4i.h    |   4 +-
 .../include/opencsd/etmv4/trc_pkt_types_etmv4.h    |  47 +-
 .../decoder/include/opencsd/ocsd_if_types.h        |  72 ++-
 .../decoder/include/opencsd/ocsd_if_version.h      |   8 +-
 .../decoder/include/opencsd/stm/trc_pkt_proc_stm.h |   3 +-
 .../decoder/include/opencsd/trc_gen_elem_types.h   |  29 +-
 .../opencsd/decoder/source/c_api/ocsd_c_api.cpp    |  51 +-
 .../opencsd/decoder/source/ete/trc_cmp_cfg_ete.cpp |  98 +++
 .../decoder/source/etmv3/trc_pkt_elem_etmv3.cpp    |   2 +-
 .../decoder/source/etmv4/trc_cmp_cfg_etmv4.cpp     |   2 +-
 .../decoder/source/etmv4/trc_etmv4_stack_elem.cpp  |  38 ++
 .../decoder/source/etmv4/trc_pkt_decode_etmv4i.cpp | 680 ++++++++++++++++-----
 .../decoder/source/etmv4/trc_pkt_elem_etmv4i.cpp   |  86 ++-
 .../decoder/source/etmv4/trc_pkt_proc_etmv4i.cpp   | 158 ++++-
 .../opencsd/decoder/source/i_dec/trc_i_decode.cpp  |  17 +-
 .../decoder/source/i_dec/trc_idec_arminst.cpp      |  30 +-
 .../decoder/source/mem_acc/trc_mem_acc_mapper.cpp  |   8 +
 contrib/opencsd/decoder/source/ocsd_dcd_tree.cpp   |  79 ++-
 contrib/opencsd/decoder/source/ocsd_error.cpp      |  21 +
 .../opencsd/decoder/source/ocsd_gen_elem_stack.cpp |   1 +
 .../decoder/source/ocsd_lib_dcd_register.cpp       |   5 +-
 .../decoder/source/pkt_printers/trc_print_fact.cpp |   3 +-
 .../decoder/source/ptm/trc_pkt_proc_ptm.cpp        |   7 +-
 .../opencsd/decoder/source/trc_core_arch_map.cpp   | 104 +++-
 .../decoder/source/trc_frame_deformatter.cpp       | 259 +++++---
 .../decoder/source/trc_frame_deformatter_impl.h    |  28 +-
 contrib/opencsd/decoder/source/trc_gen_elem.cpp    |  40 +-
 .../opencsd/decoder/source/trc_printable_elem.cpp  |   2 -
 51 files changed, 2200 insertions(+), 346 deletions(-)

diff --cc contrib/opencsd/decoder/include/opencsd/ete/ete_decoder.h
index 000000000000,ba0d718bfff1..ba0d718bfff1
mode 000000,100644..100644
--- a/contrib/opencsd/decoder/include/opencsd/ete/ete_decoder.h
+++ b/contrib/opencsd/decoder/include/opencsd/ete/ete_decoder.h
diff --cc contrib/opencsd/decoder/include/opencsd/ete/trc_cmp_cfg_ete.h
index 000000000000,8365ffa88460..8365ffa88460
mode 000000,100644..100644
--- a/contrib/opencsd/decoder/include/opencsd/ete/trc_cmp_cfg_ete.h
+++ b/contrib/opencsd/decoder/include/opencsd/ete/trc_cmp_cfg_ete.h
diff --cc contrib/opencsd/decoder/include/opencsd/ete/trc_dcd_mngr_ete.h
index 000000000000,7b0c134b20c5..7b0c134b20c5
mode 000000,100644..100644
--- a/contrib/opencsd/decoder/include/opencsd/ete/trc_dcd_mngr_ete.h
+++ b/contrib/opencsd/decoder/include/opencsd/ete/trc_dcd_mngr_ete.h
diff --cc contrib/opencsd/decoder/include/opencsd/ete/trc_pkt_types_ete.h
index 000000000000,f87d454605fd..f87d454605fd
mode 000000,100644..100644
--- a/contrib/opencsd/decoder/include/opencsd/ete/trc_pkt_types_ete.h
+++ b/contrib/opencsd/decoder/include/opencsd/ete/trc_pkt_types_ete.h
diff --cc contrib/opencsd/decoder/source/ete/trc_cmp_cfg_ete.cpp
index 000000000000,474cb2f7914a..474cb2f7914a
mode 000000,100644..100644
--- a/contrib/opencsd/decoder/source/ete/trc_cmp_cfg_ete.cpp
+++ b/contrib/opencsd/decoder/source/ete/trc_cmp_cfg_ete.cpp