diff options
author | Laurent Alfonsi <laurent.alfonsi@linaro.org> | 2023-09-08 18:59:05 +0200 |
---|---|---|
committer | Laurent Alfonsi <laurent.alfonsi@linaro.org> | 2023-09-15 17:58:39 +0200 |
commit | 2dad87067f04f32cc1851fc166ed112e3b89a0bc (patch) | |
tree | 473518f0f757afef0b5c1e83591aeab95820fa0f | |
parent | a6b1ec103a2571853ce1aed92e94c15d9efc4694 (diff) |
perfdatadir2csv.sh: report failed benchmarks again in generated csv files
Change-Id: I740a5d1e9c8d4d0124214694c506447823a3986c
-rwxr-xr-x | perfdatadir2csv.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perfdatadir2csv.sh b/perfdatadir2csv.sh index 0bec485..b8d09cc 100755 --- a/perfdatadir2csv.sh +++ b/perfdatadir2csv.sh @@ -104,8 +104,11 @@ echo "benchmark,symbol,$format" # Print out entries for failed-to-build and failed-to-run benchmarks # csvs2table.py records data only for the 1st occurence of every symbol, # so these will override any data which may show up in the profile. + +# FIXME : Right now they are part of perf.csv using magic numbers 88888888 / 99999999 +# This is not ideal. We plan to report the benchmark status in a new status.csv file. for failed_csv in "${failed_csvs[@]}"; do - if [ x"$format" = x"sample" ]; then + if [[ "$format" == *"sample"* ]]; then cat "$failed_csv" | cut -d"," -f 1-3 fi done |