summaryrefslogtreecommitdiff
path: root/kexec/fs2dt.c
diff options
context:
space:
mode:
authorDangyi Liu <dliu@redhat.com>2015-10-28 17:15:24 +0800
committerSimon Horman <horms@verge.net.au>2015-12-09 13:00:27 +0900
commit61cfab4e2ce02f2f404130262caa89b9d03f685c (patch)
tree0673eebef944c83803b10525c848667359377b88 /kexec/fs2dt.c
parent35cb8a0761a0d6bde49e9ce099bddd8ccf07d74a (diff)
vmcore-dmesg: Collect full dmesg regardless of logged_chars
logged_chars would be set to 0 by `dmesg -c`, but full dmesg is useful for debugging. So instead of using logged_chars directly, we calculate it by ourselves. Now logged_chars is set to the minimum of log_end and log_buf_len, as the same logic as crash utility is using. Signed-off-by: Dangyi Liu <dliu@redhat.com> Cc: Dave Young <dyoung@redhat.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/fs2dt.c')
0 files changed, 0 insertions, 0 deletions