aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-14Merge "Update OpenCSD to v1.2.0" am: ccd3e3c5c9 am: f5e299a4e9 am: ↵t_frc_odp_330442040t_frc_odp_330442000t_frc_con_330443020t_frc_cbr_330443000t_frc_ase_330444010t_frc_art_330443060t_frc_adb_330444000android-13.0.0_r83android-13.0.0_r82android-13.0.0_r81android-13.0.0_r80android-13.0.0_r79android-13.0.0_r78android-13.0.0_r77android-13.0.0_r76android-13.0.0_r75android-13.0.0_r74android-13.0.0_r73android-13.0.0_r72android-13.0.0_r71android-13.0.0_r70android-13.0.0_r69android-13.0.0_r68android-13.0.0_r67android-13.0.0_r66android-13.0.0_r65android-13.0.0_r64android-13.0.0_r63android-13.0.0_r62android-13.0.0_r61android-13.0.0_r60android-13.0.0_r59android-13.0.0_r58android-13.0.0_r57android-13.0.0_r56android-13.0.0_r55android-13.0.0_r54android-13.0.0_r53android-13.0.0_r52android-13.0.0_r51android-13.0.0_r50android-13.0.0_r49android-13.0.0_r48android-13.0.0_r47android-13.0.0_r46android-13.0.0_r45android-13.0.0_r44android-13.0.0_r43android-13.0.0_r42android-13.0.0_r41android-13.0.0_r40android-13.0.0_r39android-13.0.0_r38android-13.0.0_r37android-13.0.0_r36android-13.0.0_r35android-13.0.0_r34android-13.0.0_r33android-13.0.0_r32android-13.0.0_r30android-13.0.0_r29android-13.0.0_r28android-13.0.0_r27android-13.0.0_r24android-13.0.0_r23android-13.0.0_r22android-13.0.0_r21android-13.0.0_r20android-13.0.0_r19android-13.0.0_r18android-13.0.0_r17android-13.0.0_r16aml_uwb_331910010aml_uwb_331820070aml_uwb_331613010aml_uwb_331611010aml_uwb_331410010aml_uwb_331310030aml_uwb_331115000aml_uwb_331015040aml_uwb_330810010aml_tz4_332714070aml_tz4_332714050aml_tz4_332714010aml_tz4_331910000aml_tz4_331314030aml_tz4_331314020aml_tz4_331314010aml_tz4_331012050aml_tz4_331012040aml_tz4_331012000aml_go_wif_330911000aml_go_uwb_330912000aml_go_tz4_330912000aml_go_tet_330914010aml_go_swc_330913000aml_go_sta_330911000aml_go_sdk_330810000aml_go_sch_330911000aml_go_res_330912000aml_go_per_330912000aml_go_odp_330913000aml_go_odp_330912000aml_go_neu_330912000aml_go_net_330913000aml_go_mpr_330912000aml_go_ase_330913000aml_go_ads_330915100aml_go_ads_330915000aml_go_ads_330913000aml_go_adb_330913000aml_ase_331311020aml_ase_331112000aml_ase_331011020aml_ads_331920180aml_ads_331814200aml_ads_331710270aml_ads_331611190aml_ads_331511020aml_ads_331418080aml_ads_331131000android13-qpr3-s9-releaseandroid13-qpr3-s8-releaseandroid13-qpr3-s7-releaseandroid13-qpr3-s6-releaseandroid13-qpr3-s5-releaseandroid13-qpr3-s4-releaseandroid13-qpr3-s3-releaseandroid13-qpr3-s2-releaseandroid13-qpr3-s14-releaseandroid13-qpr3-s13-releaseandroid13-qpr3-s12-releaseandroid13-qpr3-s11-releaseandroid13-qpr3-s10-releaseandroid13-qpr3-s1-releaseandroid13-qpr3-releaseandroid13-qpr3-c-s8-releaseandroid13-qpr3-c-s7-releaseandroid13-qpr3-c-s6-releaseandroid13-qpr3-c-s5-releaseandroid13-qpr3-c-s4-releaseandroid13-qpr3-c-s3-releaseandroid13-qpr3-c-s2-releaseandroid13-qpr3-c-s12-releaseandroid13-qpr3-c-s11-releaseandroid13-qpr3-c-s10-releaseandroid13-qpr3-c-s1-releaseandroid13-qpr2-s9-releaseandroid13-qpr2-s8-releaseandroid13-qpr2-s7-releaseandroid13-qpr2-s6-releaseandroid13-qpr2-s5-releaseandroid13-qpr2-s3-releaseandroid13-qpr2-s2-releaseandroid13-qpr2-s12-releaseandroid13-qpr2-s11-releaseandroid13-qpr2-s10-releaseandroid13-qpr2-s1-releaseandroid13-qpr2-releaseandroid13-qpr2-b-s1-releaseandroid13-qpr1-s8-releaseandroid13-qpr1-s7-releaseandroid13-qpr1-s6-releaseandroid13-qpr1-s5-releaseandroid13-qpr1-s4-releaseandroid13-qpr1-s3-releaseandroid13-qpr1-s2-releaseandroid13-qpr1-s1-releaseandroid13-qpr1-releaseandroid13-mainline-uwb-releaseandroid13-mainline-tzdata4-releaseandroid13-mainline-go-wifi-releaseandroid13-mainline-go-uwb-releaseandroid13-mainline-go-tzdata4-releaseandroid13-mainline-go-tethering-releaseandroid13-mainline-go-sdkext-releaseandroid13-mainline-go-scheduling-releaseandroid13-mainline-go-resolv-releaseandroid13-mainline-go-permission-releaseandroid13-mainline-go-os-statsd-releaseandroid13-mainline-go-odp-releaseandroid13-mainline-go-neuralnetworks-releaseandroid13-mainline-go-networking-releaseandroid13-mainline-go-mediaprovider-releaseandroid13-mainline-go-media-swcodec-releaseandroid13-mainline-go-appsearch-releaseandroid13-mainline-go-adservices-releaseandroid13-mainline-go-adbd-releaseandroid13-mainline-appsearch-releaseandroid13-mainline-adservices-releaseandroid13-frc-odp-releaseandroid13-frc-conscrypt-releaseandroid13-frc-cellbroadcast-releaseandroid13-frc-art-releaseandroid13-frc-adbd-releaseandroid13-devandroid13-d4-s2-releaseandroid13-d4-s1-releaseandroid13-d4-releaseandroid13-d3-s1-releaseandroid13-d2-releaseaml_tz4_332714010Yi Kong
a15ec4bb20 am: 0bc6549445 am: b4fdf28724 Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1856139 Change-Id: Id3cdd24096c7d5737a945a2d6793742a4317b416
2021-10-14Merge "Update OpenCSD to v1.2.0" am: ccd3e3c5c9 am: f5e299a4e9 am: ↵Yi Kong
a15ec4bb20 am: 0bc6549445 Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1856139 Change-Id: I05b09ad98b017fa6115878600a78d84df4b9a7bf
2021-10-14Merge "Update OpenCSD to v1.2.0" am: ccd3e3c5c9 am: f5e299a4e9 am: a15ec4bb20Yi Kong
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1856139 Change-Id: I494e75e0945fbae91caa8ac9a937503711f153f6
2021-10-14Merge "Update OpenCSD to v1.2.0" am: ccd3e3c5c9 am: f5e299a4e9Yi Kong
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1856139 Change-Id: I111d0f27a24f5c356e40c7930bb6820ac2f9b99d
2021-10-14Merge "Update OpenCSD to v1.2.0" am: ccd3e3c5c9android-t-preview-2android-t-preview-1android-t-beta-3android-s-v2-beta-3android-s-qpr3-beta-1android-t-preview-1android-s-v2-beta-3android-s-qpr3-beta-1Yi Kong
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1856139 Change-Id: I18478ee7ba5c58545a8dbdd2f6a3fe81a5ab54f2
2021-10-14Merge "Update OpenCSD to v1.2.0"android-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-2android-s-v2-preview-1Yi Kong
2021-10-13Add ETE decoder to the Android build. am: 335af7af5a am: 53d20fed15 am: ↵Branislav Rankov
a3ae22590f am: 5d330c3cd9 am: ecdd4e08d6 Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1854148 Change-Id: If8949696baad31750c6733f083143a85581f10d9
2021-10-13Add ETE decoder to the Android build. am: 335af7af5a am: 53d20fed15 am: ↵Branislav Rankov
a3ae22590f am: 5d330c3cd9 Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1854148 Change-Id: Idcd61c80cca6a1650e89c9e02bdb420580346973
2021-10-13Add ETE decoder to the Android build. am: 335af7af5a am: 53d20fed15 am: ↵Branislav Rankov
a3ae22590f Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1854148 Change-Id: I2a51a76fffdc95f9c78b942aee2a843dc0d497e0
2021-10-13Add ETE decoder to the Android build. am: 335af7af5a am: 53d20fed15Branislav Rankov
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1854148 Change-Id: Ibbcb53cbcad450253a8b7cfd4eb13a10f5a28fac
2021-10-13Add ETE decoder to the Android build. am: 335af7af5aBranislav Rankov
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1854148 Change-Id: Iafde81e823a66d27d4bcda48d82e20be7cfc7e9c
2021-10-13Update OpenCSD to v1.2.0Yi Kong
Test: make & run simpleperf_unit_test Change-Id: I384fa19bd5bf447c090dd4565552fdf8beb7d698
2021-10-12Add ETE decoder to the Android build.Branislav Rankov
test: m simpleperf Change-Id: I120c1894b8300476f575342b03b8f3946b599f3e
2021-10-11opencsd: Update readme and version info for v1.2.0Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-10-11opencsd: etmv4: Add VMIDOpt enable call to config classMike Leach
CONFIGR indicates selection of VMID options using bit 15, VMIDOpt and TRCIDR2.VMIDOPT values. Add function to ETMv4 / ETE config class to indicate the VMIDOpt selection. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-10-10docs: Fix documentation errors in programming guideMike Leach
github issue #39: Fix inaccuracy in mem acc mapper documentation. github issue #40: Fix inaccuracy in error logger documentation. Issues reported via Github by: rbresalier Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-10-10opencsd: Remove noisy printfJames Clark
This printf is the only occurrence outside of the tests. When using OpenCSD with perf in TUI mode, printfs can corrupt the UI and make perf's own error messages hard to see. The proper way to print would be pr_warning() or ui__warning() which aren't available here. I don't see an easy way of making this work, and I don't think this printf is that useful either, so remove it. Signed-off-by: James Clark <james.clark@arm.com>
2021-10-10opencsd: build: Remove unused variableYi Kong
Variable LimitMask is set but unused. Found by Clang -Wunused-but-set-variable warning. Reported-by: Yi Kong <yikong@google.com>
2021-10-10tests: Update test scripts to pass additional optionsMike Leach
Allow test scripts to use additional command line options when running the tests. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-10-10tests: Add printing of CS frame Demux stats to test program.Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-10-10opencsd: stats: Add collection of CoreSight frame demux statsMike Leach
Updates to the statistics block to allow for the collection of CoreSight frame demultiplexor stats. This is a global stats block applying to all channels when CoreSight framing is in use. The same channel stats block call is used, with the global block appearing identical for all channels. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-10-10build: tests: Fix build warnings in C-API test programMike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-10-10build: tests: Fix build warnings in mem_buff_demo testMike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-10-10build: tests: Fix build warnings in snapshot parser.Mike Leach
Moved static vars into .cpp file from .h to remove warnings when including .h file in client code. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-10-10tests: Update test programs to use the packet decoder statistics APIMike Leach
Update the trc_pkt_lister and C-API tests to use the stats API. Command line -stats on both programs will activate use of this feature. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-10-10opencsd: ETMv4: ETE: Add packet processing stats to decoders.Mike Leach
Update the protocol decoders to used the packet statics API Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-10-10opencsd: Add decode statistics API to packet processor.Mike Leach
Adds a generic statistics API to the packet processor base class to allow protocol specifc decoders to initialise and use to count total bytes processed, unsynced bytes processed, packet header errors and packet sequence errors. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-07-16opencsd: Update docs, README and versions for v1.1.1Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-07-16opencsd: c-api: Add in ETE decoder hearder types to C-APIMike Leach
ETE decoder requires ETE type header to be pulled in by the C-API header. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-07-16build: Include ETE headers in installJames Clark
To be able to instantiate the OCSD_BUILTIN_DCD_ETE decoder the header trc_pkt_types_ete.h is required, so install it alongside the headers for the other versions. Signed-off-by: James Clark <james.clark@arm.com>
2021-06-02Merge sc-mainline-prodXin Li
Bug: 189946434 Change-Id: I46dcf5895ef12b63367ebef4a133a0b307e0c25a
2021-05-29[LSC] Add LOCAL_LICENSE_KINDS to external/OpenCSD am: 643e8ba0c8 am: ↵Bob Badour
bea45e7e50 am: 7ce9fcfccd am: 56679c2915 am: 207074a4c9 Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1588527 Change-Id: I287525350e0479d2621c82eb43b733397bf0b04c
2021-05-27Upgrade OpenCSD to v1.1.0 am: eb3e824405 am: 50938cd701 am: 0e0fd2e727 am: ↵Yabin Cui
d16561792e Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1720255 Change-Id: I02c49eed7fed7c9316fea1486e6e32b60939db48
2021-05-27Upgrade OpenCSD to v1.1.0 am: eb3e824405 am: 50938cd701 am: 0e0fd2e727Yabin Cui
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1720255 Change-Id: I51bd4a507e7dc77d00eb0f3320c8906c91e82e71
2021-05-27Upgrade OpenCSD to v1.1.0 am: eb3e824405 am: 50938cd701Yabin Cui
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1720255 Change-Id: I79eb43fb901abff0773377b0069db93deb205592
2021-05-27Upgrade OpenCSD to v1.1.0 am: eb3e824405android-s-beta-5android-s-beta-4android-s-beta-3android-s-beta-5android-s-beta-4Yabin Cui
Original change: https://android-review.googlesource.com/c/platform/external/OpenCSD/+/1720255 Change-Id: Id56105ae45605021177c0fa36e4a890e89f3c168
2021-05-26Upgrade OpenCSD to v1.1.0Yabin Cui
Bug: 189337242 Test: make & run simpleperf_unit_test Test: run simpleperf inject manually. Change-Id: I07e057aac82aa76fe74fe89c39fbc5a7c6136c91
2021-05-17opencsd: Update versions and README for v1.1.0Mike Leach
Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-05-17build: Create man directory before writing into itRoss Burton
The man directory needs to be created before writing into it.
2021-05-17opencsd: Avoid read of uninitialized valueIan Rogers
The conditions guarding assignment to m_exceptAltISA in TrcPktProcPtm::pktWPointUpdate differ from when it is read - see lines 605, 624 and 626. This can cause m_exceptAltISA to be read without having been initialized. Fix by adding initialization to TrcPktProcPtm::InitProcessorState. This issue was caught by LLVM's memory sanitizer.
2021-05-17opencsd: Avoid read of uninitialized valueIan Rogers
OcsdGenElemStack::isInit may read m_sendIf but the constructor hasn't explicitly initialized it. This can lead to reads of an uninitialized variable. Fix by adding initialization to the constructor. This issue was caught by LLVM's memory sanitizer.
2021-05-17opencsd: Avoid uninitialized readIan Rogers
As registerDecoderTypeByName is called during the constructor the not yet initialized m_builtInProtocol may be read. Move initialization to the initializer list and make const for good measure. This issue was caught by LLVM's memory sanitizer.
2021-05-17opencsd: Avoid index out of bound readIan Rogers
The order of the array bound check and memory access are reversed, flip. This issue was caught by LLVM's address sanitizer.
2021-05-17opencsd: C-API: Add error string and get last error functions.Mike Leach
Update to the C-API to add in a function to get last error, and a function to get the string for an error code. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-05-17opencsd: etm4: Add support for ETMv4.6Mike Leach
TImestamp marker packets are valid in ETM v4.6. Adjust to to allow them in both ETE and ETM 4.6 Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-05-16opencsd: etm4: Inconsistent error handling.Mike Leach
Error handling in etm4 decoder was an inconsistent mix of halt on bad packet, and continue, reset and wait for next sync. This has been fixed to the stated default of continue and sync for all cases. Decoder create flags modified to force halt on bad packet or sequence separately from error classification of error / warning. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-05-16opencsd: etm4: Fix commit elements bug.Mike Leach
Fix processing for commit elements that has potential for loop due to incorrect restore of skipped elements. Signed-off-by: Mike Leach <mike.leach@linaro.org>
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 77d0232938 -s ↵Xin Li
ours am: 578f8c3a7e -s ours am: f61ef1151e -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: I5e43087908b165be474c3ec9d0f850d536770be7
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 77d0232938 -s ↵android-mainline-12.0.0_r99android-mainline-12.0.0_r98android-mainline-12.0.0_r77android-mainline-12.0.0_r70android-mainline-12.0.0_r69android-mainline-12.0.0_r63android-mainline-12.0.0_r59android-mainline-12.0.0_r56android-mainline-12.0.0_r5android-mainline-12.0.0_r49android-mainline-12.0.0_r42android-mainline-12.0.0_r39android-mainline-12.0.0_r22android-mainline-12.0.0_r19android-mainline-12.0.0_r122android-mainline-12.0.0_r115android-mainline-12.0.0_r113android-mainline-12.0.0_r100aml_tz3_311312010android12-mainline-networkstack-releaseandroid12-mainline-art-releaseXin Li
ours am: 578f8c3a7e -s ours am: f61ef1151e -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: I124c9788f033c33e895da826f2e632a259172095
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