search for: dump_console_ring_keyhandl

Displaying 1 result from an estimated 1 matches for "dump_console_ring_keyhandl".

2012 Sep 29
5
[PATCH] xen/console: introduce a 'w' debug-key that dumps the console ring
...+ len = conring_size - idx; + memcpy(buf + sofar, &conring[idx], len); + sofar += len; + c += len; + } + buf[sofar] = ''\0''; + + sercon_puts(buf); + vga_puts(buf); + + free_xenheap_pages(buf, order); +} + +static struct keyhandler dump_console_ring_keyhandler = { + .u.fn = dump_console_ring_key, + .desc = "synchronously dump console ring buffer (dmesg)" +}; + /* CTRL-<switch_char> switches input direction between Xen and DOM0. */ #define switch_code (opt_conswitch[0]-''a''+1) static int __read_mostly xen_rx = 1...