Re: [PATCH v3 3/3] netconsole: implement extended console support

2015-05-10 Thread Tejun Heo
Hello, Sabrina. On Sun, May 10, 2015 at 05:11:46PM +0200, Sabrina Dubroca wrote: > > +static void send_ext_msg_udp(struct netconsole_target *nt, const char *msg, > > +int msg_len) > > +{ > > + static char buf[MAX_PRINT_CHUNK]; > > + const int max_extra_len =

Re: [PATCH v3 3/3] netconsole: implement extended console support

2015-05-10 Thread Sabrina Dubroca
Hi Tejun, 2015-05-04, 16:04:56 -0400, Tejun Heo wrote: [...] > +/** > + * send_ext_msg_udp - send extended log message to target > + * @nt: target to send message to > + * @msg: extended log message to send > + * @msg_len: length of message > + * > + * Transfer extended log @msg to @nt. If

Re: [PATCH v3 3/3] netconsole: implement extended console support

2015-05-10 Thread Sabrina Dubroca
Hi Tejun, 2015-05-04, 16:04:56 -0400, Tejun Heo wrote: [...] +/** + * send_ext_msg_udp - send extended log message to target + * @nt: target to send message to + * @msg: extended log message to send + * @msg_len: length of message + * + * Transfer extended log @msg to @nt. If @msg is

Re: [PATCH v3 3/3] netconsole: implement extended console support

2015-05-10 Thread Tejun Heo
Hello, Sabrina. On Sun, May 10, 2015 at 05:11:46PM +0200, Sabrina Dubroca wrote: +static void send_ext_msg_udp(struct netconsole_target *nt, const char *msg, +int msg_len) +{ + static char buf[MAX_PRINT_CHUNK]; + const int max_extra_len =

[PATCH v3 3/3] netconsole: implement extended console support

2015-05-04 Thread Tejun Heo
>From f9530ac244c12a89837736269a1930291a360875 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Mon, 4 May 2015 15:57:54 -0400 printk logbuf keeps various metadata and optional key=value dictionary for structured messages, both of which are stripped when messages are handed to regular console

[PATCH v3 3/3] netconsole: implement extended console support

2015-05-04 Thread Tejun Heo
From f9530ac244c12a89837736269a1930291a360875 Mon Sep 17 00:00:00 2001 From: Tejun Heo t...@kernel.org Date: Mon, 4 May 2015 15:57:54 -0400 printk logbuf keeps various metadata and optional key=value dictionary for structured messages, both of which are stripped when messages are handed to