debugtrace: use common output function
authorJuergen Gross <jgross@suse.com>
Tue, 3 Sep 2019 12:51:28 +0000 (14:51 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 3 Sep 2019 12:51:28 +0000 (14:51 +0200)
commit63feb88edf98e46fbae1470484e952526ae3fd8f
tree56241c87a5b0f6f4068393b1db1c057d9815f22a
parent73dad9d966e871abc6b8bae05bd83e1ae3af52ae
debugtrace: use common output function

Today dumping the debugtrace buffers is done via sercon_puts(), while
direct printing of trace entries (after toggling output to the console)
is using serial_puts().

Use sercon_puts() in both cases, as the difference between both is not
really making sense.

In order to prepare moving debugtrace functionality to an own source
file rename sercon_puts() to console_serial_puts() and make it globally
visible.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/char/console.c
xen/include/xen/console.h