mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 20:14:27 +01:00
run: add timestamps before each log message
Also time every run by default.
This commit is contained in:
@@ -1145,6 +1145,8 @@ less out/aarch64/gem5/default/0/termout.txt
|
|||||||
less out/aarch64/gem5/default/1/termout.txt
|
less out/aarch64/gem5/default/1/termout.txt
|
||||||
....
|
....
|
||||||
|
|
||||||
|
Each line is prepended with the timestamp in seconds since the start of the program when it appeared.
|
||||||
|
|
||||||
You can also add a prefix to the build ID before a period:
|
You can also add a prefix to the build ID before a period:
|
||||||
|
|
||||||
....
|
....
|
||||||
|
|||||||
1
configure
vendored
1
configure
vendored
@@ -34,6 +34,7 @@ coreutils \
|
|||||||
cpio \
|
cpio \
|
||||||
expect \
|
expect \
|
||||||
git \
|
git \
|
||||||
|
moreutils \
|
||||||
tmux \
|
tmux \
|
||||||
unzip \
|
unzip \
|
||||||
vinagre \
|
vinagre \
|
||||||
|
|||||||
Submodule gem5/gem5 updated: 60600f09c2...ff52563a21
4
run
4
run
@@ -363,7 +363,7 @@ if "$tmux"; then
|
|||||||
eval "./tmu ./rungdb -a '${arch} -L ${common_linux_variant}' -n ${common_run_id} ${tmux_args}"
|
eval "./tmu ./rungdb -a '${arch} -L ${common_linux_variant}' -n ${common_run_id} ${tmux_args}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
cmd="${cmd} \\
|
cmd="time ${cmd} \\
|
||||||
|& tee ${common_termout_file} \
|
|& tee >(ts -s %.s > ${common_termout_file}) \
|
||||||
"
|
"
|
||||||
"${root_dir}/eeval" "$cmd" "${common_run_dir}/run.sh"
|
"${root_dir}/eeval" "$cmd" "${common_run_dir}/run.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user