Files
linux-kernel-module-cheat/bst-vs-heap
Ciro Santilli 7ccc1d3a8f m5ops: move to factored .h file
Create empty subs for unsupported archs, much less messy for callers.

bst_vs_heap: create
2018-08-25 09:32:44 +01:00

12 lines
331 B
Bash
Executable File

#!/usr/bin/env bash
. "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/common"
while getopts "${common_getopts_flags}" OPT; do
case "$OPT" in
?)
common_getopts_case "$OPT"
;;
esac
done
shift "$(($OPTIND - 1))"
"${common_root_dir}/gem5-stat" -a "$common_arch" | awk 'NR % 2 { printf "%d %s ", NR/2, $0; next; } 1'