aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 77d0232938 -s ↵android-mainline-12.0.0_r4android-mainline-12.0.0_r36android-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r26android-12.1.0_r25android-12.1.0_r24android-12.1.0_r23android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r18android-12.1.0_r17android-12.1.0_r16android-12.1.0_r15android-12.1.0_r14android-12.1.0_r13android-12.1.0_r12android-12.1.0_r11android-12.1.0_r10android-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12L-devandroid12L-d2-s8-releaseandroid12L-d2-s7-releaseandroid12L-d2-s6-releaseandroid12L-d2-s5-releaseandroid12L-d2-s4-releaseandroid12L-d2-s3-releaseandroid12L-d2-s2-releaseandroid12L-d2-s1-releaseandroid12L-d2-releaseandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaseandroid12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devandroid12--mainline-releaseXin Li
ours am: 578f8c3a7e -s ours am skip reason: Change-Id Idffb898c88de03cb015f826c9ef071f613d094bc with SHA-1 278494fb1c is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I02288873a6f61a7745a697c3fbddabe7c3c87a55
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 77d0232938 -s oursXin Li
am skip reason: Change-Id Idffb898c88de03cb015f826c9ef071f613d094bc with SHA-1 278494fb1c is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I5badbf732493f637d1482d0309513ecfa11cee78
2021-02-20Mark ab/7061308 as merged in stage.android-s-beta-2android-s-beta-1Xin Li
Bug: 180401296 Merged-In: Idffb898c88de03cb015f826c9ef071f613d094bc Change-Id: I59d9895c3e60d4aeea4b81654d9a708327fb158b
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/OpenCSD am: 643e8ba0c8 am: ↵Bob Badour
bea45e7e50 am: 7ce9fcfccd Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1588527 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I45b9528867a930bd71bd875d1c7877822a238067
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/OpenCSD am: 643e8ba0c8 am: bea45e7e50Bob Badour
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1588527 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I182052eff48b6f446a615062b71f8c3c1eb9a3f7
2021-02-17[LSC] Add LOCAL_LICENSE_KINDS to external/OpenCSD am: 643e8ba0c8Bob Badour
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1588527 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I6829a004a6b2ce5fd89576a77e98700e546d066b
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to external/OpenCSDandroid-s-preview-1Bob Badour
Added SPDX-license-identifier-BSD SPDX-license-identifier-GPL-3.0 to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ia33fc60d70ccb1d69fdf92e91e5834ea82230abd
2021-01-09Upgrade OpenCSD to v1.0.0 am: 8f94122d8d am: e4c2fbc19c am: 49af7bf70cHaibo Huang
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1544036 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I93b99aa82196ca8b444651710dee76933d2f6575
2021-01-09Upgrade OpenCSD to v1.0.0 am: 8f94122d8d am: e4c2fbc19cHaibo Huang
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1544036 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I73c6a3edfc478f009ceed81ddd89d896dda470a5
2021-01-09Upgrade OpenCSD to v1.0.0 am: 8f94122d8dHaibo Huang
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1544036 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I56cef0ea47311145aa0030e59b81dd6d43c76bde
2021-01-08Upgrade OpenCSD to v1.0.0Haibo Huang
Test: make Change-Id: Ie37e14491c78bbacc4308ac10a8c4528870515db
2021-01-08opencsd: Update Docs, README and versions for v1.0.0Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08docs: Update docs for trc_pkt_lister.Mike Leach
Add info into trc_pkt_lister docs for new command line option Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08build: Add file to Visual Studio project.Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08tests: ete: Add test for WFIT/WFET trace.Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08tests: ete: Add test for ETE timestamp marker packet.Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08opencsd: ete: Add handler for ETE timestamp marker.Mike Leach
ETE 1.1 adds a new Timestamp marker packet to locate position of late emitted timestamp packets in the trace stream. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08tests: ete: Add Q element test.Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08tests: ete: Add tests for various ete updates.Mike Leach
Add suitable example for testing I_SRC_ADDR range split feature Add tests with TRANS examples. Add in ETE tests with speculative trace. Additional test to try out Cancel + Atom element format packet Add tests to linux tests scripts Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08tests: ete: add option to test I_SRC_ADDR packet range splitMike Leach
Adds command line option to trc_pkt_lister to allow I_SRC_ADDR packets to emit multiple trace ranges for skipped N atoms. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08opencsd: ete: add option to split I_SRC_ADDR packet ranges.Mike Leach
Source address packets by design skip over any waypoint instructions between the current traced address to the source address value, assuming they are N atoms. This results in a single address range for the packet. This updste forces the decoder to emit ranges for each skipped N atom in sequence up to the final range ending in the source address value. Option activated by flag at decoder creation time. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08tests: ete: Add ETE support to testsMike Leach
Add ETE support to trc_pkt_lister. Add ETE test snapshot - based on Juno code with ETE source names and register values Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08opencsd: ete: ETE permits event packets before first Trace InfoMike Leach
Add extension to the processing loop to allow for Event packets to be processed before the first Trace Info is seen. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08opencsd: ete: Handle Transactional memory elementsMike Leach
Process the TME packets generate in ETE. Add transactional memory state generic output element to the decoder. Output if the transactional operations are not resolved internally by the decoder due to speculation resolution or optional transaction resolution. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08opencsd: i-decode: Update instruction decoder for ETE traceMike Leach
Adds PE FEAT_TME TSTART instruction into the decoder. This is treated as a waypoint instruction be ETE trace. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08opencsd: ete: etmv4: update etmv4 to cover additional ETE packets.Mike Leach
ETE a superset of ETMv4 trace. Add ETE specific packets to ETMv4 decoder. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08opencsd: ete: Add ETE support to OpenCSD library.Mike Leach
ARM AArch64 PEs may implement a feature FEAT_ETE. This is an architectural instruction trace feature for A profile processors with the control registers built into the PE, accessed using system instructions. This ETE trace is a superset of the ETMv4.x protocol, and introduces some additional protocol elements to handle new architectural features. Adds in initial ETE decoder files and adjusts project build to use them. Adds ETE protocol type as an extension to ETMv4.x. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08opencsd: etmv4: Add handling for marker packetsMike Leach
Add general handling for marker packets. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08opencsd: Add marker generic element type.Mike Leach
Some trace packets can act as positional markers in the trace stream for packets that are output later to allow the analyzer to associate the later packet with the correct position. This adds a generic element type to handle these marker packets and put a generic packet in the output stream for the same reason. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08opencsd: Handle WFIT, WFET instructions as branchesMike Leach
When WFI/WFE are traced as branch instructions in ETMv4, the new WFIT and WFET instructions from v8.7A and later are traced in the same manner. Option feature for arch v8.6A. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-01-08opencsd: Update PE architecture version handling in decoder.Mike Leach
PE architecture version has effect on packet interpretation between v7/v8 A and M profiles, and on valid instruction opcodes for waypoints in trace instruction decode. Beyond v8.3 architecture, PE features can be cherry picked from a later version to appear on a core design of an earlier architecture version. To increase flexibility in support for new features, a new generic architecture value constant is defined as ARCH_AA64, which is defined to mean any PE with a feature set of v8.3 plus addtional features. Instruction decode is adjusted to filter using min version macros rather than direct comparison. Trace snapshot files will now support device 'type' strings of form ARMv8.x-{A|R|M}, plus ARM-AA64. Test program mapping will set the ARCH_xxx version appropriately. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2020-12-16docs: install: Add linux 'man' file for trc_pkt_lister program.Mike Leach
Adds linux 'man' file for the trc_pkt_lister program that is installed alongside the library. Update makefile install / clean to add and remove this file. Original Author: Wookey <wookey@wookware.org> Signed-off-by: Mike Leach <mike.leach@linaro.org>
2020-12-16opencsd: etmv4: Typo in error message.Mike Leach
Correct typo in error message. Reported-by: Wookey <wookey@wookware.org> Signed-off-by: Mike Leach <mike.leach@linaro.org>
2020-11-24Mark ab/6881855 as merged am: bf9cd54920 am: 278494fb1cXin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/OpenCSD/+/13111973 Change-Id: I05bf118b203cab82911e8e28679504889884984b
2020-11-24Mark ab/6881855 as merged am: bf9cd54920Xin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/OpenCSD/+/13111973 Change-Id: Idffb898c88de03cb015f826c9ef071f613d094bc
2020-11-23Mark ab/6881855 as mergedXin Li
Bug: 172690556 Change-Id: I47bc947ec1db1e6362f15db2354d3edbb5de6897
2020-11-20build: Fix clean_install and move static build test (github issue #33)Mike Leach
1) clean_install was not removing the trc_pkt_lister program it installed. 2) The statically linked trc_pkt_lister_s program - built to test static linking is now removed from the default build process. Will only be built as part of the dev build when using make -f makefile.dev Signed-off-by: Mike Leach <mike.leach@linaro.org>
2020-11-19Upgrade OpenCSD to v0.14.4 am: 6e74ba4be7 am: 24d31be46b am: 35151b464d am: ↵Haibo Huang
18071bebef Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1503511 Change-Id: I8b3ca447331febaa0c5d2c5855c9f88b3ad6cd4c
2020-11-19Upgrade OpenCSD to v0.14.4 am: 6e74ba4be7 am: 24d31be46b am: 35151b464dHaibo Huang
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1503511 Change-Id: I63b40420c485156afef5602d9682ebac55b6fb6c
2020-11-19Upgrade OpenCSD to v0.14.4 am: 6e74ba4be7 am: 24d31be46bHaibo Huang
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1503511 Change-Id: I83bceef1fb9bdd7e5f9d6b831cada684b238fecc
2020-11-19Upgrade OpenCSD to v0.14.4 am: 6e74ba4be7Haibo Huang
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1503511 Change-Id: Iaa2be646354161937722b23cfa125e3240f5abee
2020-11-18Upgrade OpenCSD to v0.14.4Haibo Huang
Test: make Change-Id: I94f482892b7abc51aafd8699317d610fc66926d2
2020-11-18opencsd: Update README and versions for v0.14.4Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2020-11-18opencsd: etmv3: Missing comma in string array. Github issue #31Mike Leach
Missing comma in string list array for exception names could cause issue in etmv3, M class printing of packets. Reported-by: yabinc (github issue #31) Signed-off-by: Mike Leach <mike.leach@linaro.org>
2020-11-16build: Fix build race issue - #32 reported on githubMike Leach
Issue reported of race when building tests. On a heavily loaded build machine the creation of the build directory could occur at the same time as compilation into that directory creating issue with finding object files. Reported-by: rossburton (github issue #32) Signed-off-by: Mike Leach <mike.leach@linaro.org>
2020-10-29docs: Update location of CoreSight driver backports repositoryRobert Walker
http://linux-arm.org/ has been replaced by https://gitlab.arm.com/ Signed-off by: Robert Walker <robert.walker@arm.com>
2020-10-28build: Add $DESTDIR to install paths for non-standard install.Mike Leach
Add the conventional $DESTDIR make variable to the install paths to allow a non-standard install location. Typically used by package builders. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2020-10-25tests: Add script to run a single test onlyMike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2020-10-25build: add gcc .d files to .gitignoreMike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2020-10-25tests: build: A check build for static library linking.Mike Leach
Add target in trc_pkt_lister to build a statically linked version of the program to test that static linking of the library works. trc_pkt_lister_s is created, but this is not added to the install package. Signed-off-by: Mike Leach <mike.leach@linaro.org>