br2: enable taskset, create sched_getaffinity, yet undocumented

This commit is contained in:
Ciro Santilli
2018-05-02 09:28:37 +01:00
parent 533fe808b6
commit 25ebba6d9f
4 changed files with 48 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ shift "$(($OPTIND - 1))"
if [ $# -gt 0 ]; then
stat="$1"
else
stat=system.cpu.numCycles
stat=system.cpu[0-9]*.numCycles
fi
set_common_vars "$arch" true
awk "/^$stat /{ print \$2 }" "${m5out_dir}/stats.txt"