perf test - add coresight quality tests
This adds a range of perf tests that piggy-back on the shell tests to run perf record on a range of sample workloads to collect traces of AUX data to verify corsight instruction traces do actually collect a reasonable amount of data (ensure perf itself can set this up correctly and extract the data from the perf daat traces but also that the kernel driver manages to set everything up right so we collect something). These tests are meant to exercise various workloads that may either run large stretches of instructions, small rtight loops, access lots of memory or veavily load all cpu cores with as many threads as possible. They will pass or fail based on if they meet a minimum threshold of data collected. They will be skipped if the resulting test tools have not been compiled. These test tools will only compile when CORESIGHT=y because they are specifically made to test coresight and some contain aarch64 assembly.
Loading
Please register or sign in to comment