Commit cb645ed6 authored by Michal Berger's avatar Michal Berger Committed by Jim Harris
Browse files

scripts/perf: Dump cpu-temp data to stdout



This was missed and the actual output was being dumped only to a
file upon termination. As with any other perf/pm/ tool, make sure
each reading is dumped to stdout by default as well.

Change-Id: I3ec6199ca7c998573cdec07d1d5b344f2b00e4d6
Signed-off-by: default avatarMichal Berger <michal.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23743


Reviewed-by: default avatarKarol Latecki <karol.latecki@intel.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: default avatarJim Harris <jim.harris@samsung.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent e67df28e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -184,7 +184,7 @@ collect_readings() {
		for module in "${modules_to_run[@]}"; do
			local -n ref=${modules_out_refs["$module"]}
			data=$("$module")
			[[ -n $data ]] && ref+=("$data")
			[[ -n $data ]] && ref+=("$data") && echo "$data"
		done
		sleep "${interval}s"
	done