-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get last_kmsg #3
base: hybris-12.1
Are you sure you want to change the base?
Conversation
@@ -450,6 +450,7 @@ CONFIG_ANDROID_BINDER_IPC=y | |||
CONFIG_ASHMEM=y | |||
CONFIG_ANDROID_LOGGER=y | |||
CONFIG_ANDROID_RAM_CONSOLE=y | |||
CONFIG_ANDROID_PERSISTENT_RAM=y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use cyanogen_cancro_defconfig, and this change is already present there. Hence this is not needed
@@ -873,6 +874,33 @@ static void __init reserve_crashkernel(void) | |||
} | |||
#else | |||
static inline void reserve_crashkernel(void) {} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On Mi3, i have /proc/last_kmsg, without this change. So is this really needed?
@@ -384,8 +384,10 @@ static int __devinit persistent_ram_buffer_init(const char *name, | |||
|
|||
list_for_each_entry(ram, &persistent_ram_list, node) { | |||
start = ram->start; | |||
printk("persistent_ram_buffer_init(): ram->num_descs = %d \r\n", ram->num_descs); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are just redundant printks, which aren't needed
the original patch is from https://bugzilla.mozilla.org/show_bug.cgi?id=1025265/
works well on Xiaomi Mi4