Skip to content
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

Open
wants to merge 1 commit into
base: hybris-12.1
Choose a base branch
from

Conversation

Nokius
Copy link

@Nokius Nokius commented Jan 2, 2017

the original patch is from https://bugzilla.mozilla.org/show_bug.cgi?id=1025265/
works well on Xiaomi Mi4

@@ -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
Copy link
Member

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) {}

Copy link
Member

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);
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants