Age | Commit message (Collapse) | Author |
|
Change-Id: Iaacca73d3c491f0629e5ff3af2d89926d5353ac9
|
|
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
|
|
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
Fixes a build warning on the decoder source.
Reported-by: Wookey <wookey@wookware.org>
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
Change-Id: I68d87d3d86c82d21daf49fd76e5ed05df74f91ea
|
|
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
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>
|
|
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
Add snapshot to test multi-session decode
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
Add docs for caching and instruction run limit on etmv4 / ete decoder.
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
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>
|
|
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>
|
|
Test mem-acc mapper, accessors and caching
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
Packet lister test program adds command line parameters to adjust memacc caching parameters
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
Decode tree will read any OPENCSD_xx env vars and adjust caching accordingly
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
VS2015 is deprecated as product no longer supported.
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
Remove residual VS2010 workarounds as support for VS2010 is no longer supported.
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
Change-Id: I45eba48f7ad8faaa25cddb42da2605e894bc44e5
|
|
Change-Id: Iba497f82bfa10fefa6f2488fe4b8016f7f26b8f7
|
|
Change-Id: Iacda9b408be969f681b691422e679bfee1d0b246
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|
|
Add option to mute printed output to allow tests of library performance
Signed-off-by: Mike Leach <mike.leach@linaro.org>
|