clocksource: Print clocksource name when clocksource is tested unstable
authorYunying Sun <yunying.sun@intel.com>
Wed, 16 Nov 2022 08:22:21 +0000 (16:22 +0800)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 4 Jan 2023 04:43:45 +0000 (20:43 -0800)
commitbeaa1ffe551c330d8ea23de158432ecaad6c0410
treef443018af092a01cde0306f65f33a129f8de809b
parent1b929c02afd37871d5afb9d498426f83432e71c2
clocksource: Print clocksource name when clocksource is tested unstable

Some "TSC fall back to HPET" messages appear on systems having more than
2 NUMA nodes:

clocksource: timekeeping watchdog on CPU168: hpet read-back delay of 4296200ns, attempt 4, marking unstable

The "hpet" here is misleading the clocksource watchdog is really
doing repeated reads of "hpet" in order to check for unrelated delays.
Therefore, print the name of the clocksource under test, prefixed by
"wd-" and suffixed by "-wd", for example, "wd-tsc-wd".

Signed-off-by: Yunying Sun <yunying.sun@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/time/clocksource.c