- To use escape sequence at dlog, log format stored in the kernel buffer is modified
- Notice : to apply this patch, you MUST use kernel with applied patch "kmsg: allow binary characters"
Change-Id: Ic73e6da895404a7b5bcf520bf13737f10bcfc939
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
*entry->msg_begin = '\0';
entry->msg_begin++;
- entry->msg_end = strchr(entry->msg_begin, '\n');
+ entry->msg_end = strchr(entry->msg_begin, '\0');
if (entry->msg_end == NULL)
return -1;
- *entry->msg_end = '\0';
- cptr = parse_dict_val(entry->msg_end+1, &entry->pid_begin);
+ cptr = parse_dict_val(entry->msg_end+2, &entry->pid_begin);
if (cptr == NULL)
return -1;