Skip to content

Commit

Permalink
lib.sh: set skip-to-first-trace option for CI test
Browse files Browse the repository at this point in the history
Due to a known issue in CI test, some traces from
previous test case will apprear in the mtrace of
current test case. Set skip-to-first-trace option
to skip those traces.

Signed-off-by: Chao Song <[email protected]>
  • Loading branch information
Chao Song committed Sep 7, 2023
1 parent 4785530 commit ce0e02a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions case-lib/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -901,9 +901,9 @@ perf_analyze()
dlogi "Checking SOF component performance"
if [ -e "$LOG_ROOT/mtrace.txt" ]; then
if [ -e "$LOG_ROOT/dmesg.txt" ]; then
perf_cmd="sof_perf_analyzer.py --kmsg=$LOG_ROOT/dmesg.txt --out2csv $LOG_ROOT/sof_perf.txt $LOG_ROOT/mtrace.txt "
perf_cmd="sof_perf_analyzer.py -s --kmsg=$LOG_ROOT/dmesg.txt --out2csv $LOG_ROOT/sof_perf.txt $LOG_ROOT/mtrace.txt "
else
perf_cmd="sof_perf_analyzer.py --out2csv $LOG_ROOT/sof_perf.txt $LOG_ROOT/mtrace.txt"
perf_cmd="sof_perf_analyzer.py -s --out2csv $LOG_ROOT/sof_perf.txt $LOG_ROOT/mtrace.txt"
fi
dlogc "$perf_cmd"
eval "$perf_cmd" || {
Expand Down

0 comments on commit ce0e02a

Please sign in to comment.