mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +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
|
||||
....
|
||||
|
||||
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:
|
||||
|
||||
....
|
||||
|
||||
1
configure
vendored
1
configure
vendored
@@ -34,6 +34,7 @@ coreutils \
|
||||
cpio \
|
||||
expect \
|
||||
git \
|
||||
moreutils \
|
||||
tmux \
|
||||
unzip \
|
||||
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}"
|
||||
fi
|
||||
fi
|
||||
cmd="${cmd} \\
|
||||
|& tee ${common_termout_file} \
|
||||
cmd="time ${cmd} \\
|
||||
|& tee >(ts -s %.s > ${common_termout_file}) \
|
||||
"
|
||||
"${root_dir}/eeval" "$cmd" "${common_run_dir}/run.sh"
|
||||
|
||||
Reference in New Issue
Block a user