aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
14 daysSnap for 11847757 from aaaa30af2c97a6c8ae12c713c778f3ea738cc8dd to sdk-releasesdk-releaseAndroid Build Coastguard Worker
Change-Id: Iaacca73d3c491f0629e5ff3af2d89926d5353ac9
2024-05-15Upgrade OpenCSD to v1.5.2HEADmastermainYi Kong
This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update external/OpenCSD For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md Test: TreeHugger Change-Id: I528626a7f362e168fe5a911aa85daeefe565ec85
2024-04-03opencsd: Update version info and README for 1.5.2upstream-masterMike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2024-04-03build: win: Fix name for ocsd-perr utility in windows buildMike Leach
Windows version of this test utility was named perr.exe. Change to match linux as ocsd-perr.exe. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2024-04-02opencsd: docs: Update docs for test programsMike Leach
Add more information on trc_pkt_lister, and add in list of development only test utilities. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2024-03-28opencsd: docs: Update trc_pkt_lister man fileMike Leach
The trc_pkt_lister man file was out of date. Update to contain all the latest relevant information. Adjust the makefile to install / clean man file separately from library. Reported-by: Wookey <wookey@wookware.org> Signed-off-by: Mike Leach <mike.leach@linaro.org>
2024-03-28tests: Fix typo in trc_pkt_lister help outputMike Leach
Fix missing ')' When listing options, put dev only ones in separate section. Reported-by: Wookey <wookey@wookware.org> Signed-off-by: Mike Leach <mike.leach@linaro.org>
2024-03-28build: Fix clean of mem_acc_testMike Leach
Build of mem_acc_test app has no corresponding clean operation, which can cause subsequent builds to fail. Add clean operation. Reported-by: Wookey <wookey@wookware.org> Signed-off-by: Mike Leach <mike.leach@linaro.org>
2024-03-28opencsd: stm: Fix build warning in 64 bit build of STMMike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2024-03-28opencsd: etmv4: Fix build warning on decoderMike Leach
Fixes a build warning on the decoder source. Reported-by: Wookey <wookey@wookware.org> Signed-off-by: Mike Leach <mike.leach@linaro.org>
2024-03-07Snap for 11541002 from f5b765f4b5d7df2779b633c165890d75456d66d4 to sdk-releaseplatform-tools-35.0.1Android Build Coastguard Worker
Change-Id: I68d87d3d86c82d21daf49fd76e5ed05df74f91ea
2024-01-19docs: Fix formatting in README.mdMike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2024-01-19opencsd: Update README and version info for 1.5.1Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18tests: Add tests for ARM Arch v9.5 Feat_PAuth_lrMike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18opencsd: ete: Add new instructions for Arch v9.5Mike Leach
Add in new instructions from Arch 9.5 Feat_PAuth_LR, RETA<k>SPPC <label> and RETA<k>SPPC <Rm> to iinstruction decoder to recognise these as indirect branches. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18opencsd: Update version info and README for 1.4.2Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18tests: Additional ETE snapshot with multi session buffers.Mike Leach
Add snapshot to test multi-session decode Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18tests: Update test program to support multi-session snapshots.Mike Leach
Snapshots can declare multiple buffer in trace.ini: [trace_buffers] buffers=buffer1,buffer2 Update test program to process all listed buffers into single file. Assumes config of first buffer valid for all. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18opencsd: Enhance output for OCSD_GEN_TRC_ELEM_ADDR_NACC packetMike Leach
The memory space used when requesting memory that results in the _NACC packet is now output as part of the packet printed string. string Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18tests: docs: Fix arm-cs-trace-disasm.py file path error (github #60)yuxiangyang
cs-trace-disasm.py is pushed to linux kernel repo, and file path is tools/perf/scripts/python/arm-cs-trace-disasm.py. Fixes docs HOWTO.md and test script perf-test-script.bash Reported as Github pull request #60 Signed-off-by: yuxiangyang <yuxiangyang326@gmail.com>
2023-12-18opencsd: stm: Fix init of Master and Channel IDs (github #61)Mike Leach
Master and channel IDs were not being correctly set when decoder was reset. Additionally they were not reset when a VERSION packet is received (Github issue #61) Reported-by: MommeSherif on github.com Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18build: Update GCC directory version handlingMike Leach
Setting GCCDIR=1 when using makefile.dev will cause the output directory to be of the form builddir/<arch>/GCC_<ver> Fix makefile to allow for version numbers longer than 3 characters. e.g. 11.3 Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18tests: Add snapshot for RME memory areas,Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18docs: Update docs for new features.Mike Leach
Add docs for caching and instruction run limit on etmv4 / ete decoder. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18tests: update test scripts to handle debug optionsMike Leach
Test updates to check the debug features enabled by the OPENCSD_INSTR_RANGE_LIMIT and OPENCSD_ERR_ON_AA64_BAD_OPCODE env vars. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18tests: Update snapshot reader "dump" section handlingMike Leach
The snapshot reader is updated to use the 'space' key in the [dump] section of the snapshot files. This sets the memory space used when registering the memory dump file with the decoder. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18tests: Add test for mem-acc infrastructureMike Leach
Test mem-acc mapper, accessors and caching Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18tests: update trace packet lister to control memacc cachingMike Leach
Packet lister test program adds command line parameters to adjust memacc caching parameters Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18opencsd: Update decode tree to use memacc caching.Mike Leach
Decode tree will read any OPENCSD_xx env vars and adjust caching accordingly Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18opencsd: memacc: update caching for accessors to allow runtime flexibilityMike Leach
Caching of memory data is now tunable either from the client by API, or via runtime environment variables. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18opencsd: memacc: Updates to memory accessors and mapperMike Leach
Add default constructor and initialise function to mem-acc-buf and mem-acc-cb to allow declaration as local stack objects. Fix memory issue in mapper - do not destroy accessors on clear, code that adds then must delete them after removal from mapper. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18opencsd: memacc: add in Realm and Root memory spacesMike Leach
Decode defines memory spaces used to access program image. RME requires that new spaces for Realm and Root are required. New types defined to allow clients to set memory blocks / handle callbacks for these memory spaces. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18opencsd: etmv4: Optional limit on number of instructions in range.Mike Leach
Adds an optional limit on the number of instructions that will be allow in a single instruciton range. Limit not used unless an environment variable "OPENCSD_INSTR_RANGE_LIMIT" is set. Use to debug possible decoder runaway if incorrect program image supplied to decoder is suspected. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18opencsd: etmv4: Handle M class tail chained exceptionsMike Leach
M class exceptions can be tail chained with the address set to a fixed indicator value and not being the preferred return address. Fix this be handling that value and not trying to walk to the address. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18opencsd: aarch64 instruction decode - error if opcode in illegal rangeMike Leach
AArch64 instructions have an illegal opcode range when top 16 bits or 0x0000 Return error if one of these opcodes is seen. Help debug issues when incorrect memory is provided to the decoder. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18tests: Add util to quickly list error codes.Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18build: remove VS2015 supportMike Leach
VS2015 is deprecated as product no longer supported. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-18build: Remove the VS2010 workaroundsMike Leach
Remove residual VS2010 workarounds as support for VS2010 is no longer supported. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-12-13Snap for 11211409 from fd783c2543f579a4924de3cd0a21c573c65fc846 to sdk-releaseAndroid Build Coastguard Worker
Change-Id: I45eba48f7ad8faaa25cddb42da2605e894bc44e5
2023-10-10Snap for 10929834 from 2a0e3d5110291a71408a4a6325e78f6f1ebef1fe to sdk-releaseAndroid Build Coastguard Worker
Change-Id: Iba497f82bfa10fefa6f2488fe4b8016f7f26b8f7
2023-10-04Snap for 10900817 from 27fdda3f1d3afb2c8a380a843715e7c14b64b5e7 to sdk-releaseplatform-tools-34.0.5Android Build Coastguard Worker
Change-Id: Iacda9b408be969f681b691422e679bfee1d0b246
2023-08-17Upgrade OpenCSD to v1.4.1 am: 27fdda3f1d am: 2a0e3d5110 am: 651d6ea25b am: ↵Yabin Cui
11366d7057 am: fd783c2543 Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/2715922 Change-Id: Iea8c2e7e87a1e1c824b8c4b51808dec29f7ce79b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-17Upgrade OpenCSD to v1.4.1 am: 27fdda3f1d am: 2a0e3d5110 am: 651d6ea25b am: ↵Yabin Cui
11366d7057 Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/2715922 Change-Id: I7837fff9e9ae2079666acbcb224006a0a1f2e01e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-17Upgrade OpenCSD to v1.4.1 am: 27fdda3f1d am: 2a0e3d5110 am: 651d6ea25bYabin Cui
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/2715922 Change-Id: I2958a51af873e34dfc6086d91ba328d3cd59e15e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-17Upgrade OpenCSD to v1.4.1 am: 27fdda3f1d am: 2a0e3d5110Yabin Cui
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/2715922 Change-Id: I6f4d4ea2a49fe0fabc993dbcd6ef2a26a4c20c2f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-17Upgrade OpenCSD to v1.4.1 am: 27fdda3f1dYabin Cui
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/2715922 Change-Id: Ide9123dfafa53f6030d42e622ea019457662a3d7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-17Upgrade OpenCSD to v1.4.1Yabin Cui
This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update OpenCSD For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md Bug: 294030792 Bug: 271374866 Test: TreeHugger Change-Id: I13590373c7434cc0260106a4c8e61b89c3acd014
2023-08-17opencsd: Update version info and README for 1.4.1Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-08-17buid: remove some vs2022 generated files from repo and update .gitignoreMike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2023-08-17opencsd: test: add test mode to trc_pkt_lister to mute outputMike Leach
Add option to mute printed output to allow tests of library performance Signed-off-by: Mike Leach <mike.leach@linaro.org>