-
Notifications
You must be signed in to change notification settings - Fork 0
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
Enable logging of last_kmsg in conductor by default #7
Comments
We should do this, but do separate it with tracing related changes, so they can be merged individually. |
Actually can you remind me of what tracing related changes do? We might just incorporate them in the main release as well. |
In the conductor, the tracing changes only add new classes to the conductor that check for certain tags in the This functionality depends on changes in the platform. The repos that will (probably) be modified are:
@shaseley can probably give you a better idea of what these changes will involve. |
I'm ok with adding EventTraceTask to the mainstream of conductor. I just checked, the last_kmsg branch is actually not up-to-date with master. Can you update it with the tip of master (2.0.2)? After that, we can merge the changes of both EventTraceTask and /proc/kmsg changes to master. |
The bottom line is, we want to separate logging infrastructure with actual logging. As long as that's the case, I'm ok to also merge the changes you listed in the repo to phonelab develop branch. Just make sure you test them thoroughly before push. |
Will do. I will update this thread once that's done. |
I've tested and pushed all changes required for this to work. On the Nexus 6, Unfortunately, this required giving Branches:
Let me know if you want me to build a release apk of the conductor and push it to |
Pull back the changes to external/sepolicy and do it in /device/moto/shamu/sepolicy/system_app.se |
Done.
|
If you think the changes are stable, please merge them to phonelab/../develop branch. I'll pull and merge the branch in conductor. What's the branch name? And what changes in the manifest need to be updated? |
|
I merged |
deleted |
Finished merging branch |
OK, building. Will push the OTA soon. |
Fixed in 4.1.4 |
/proc/last_kmsg
is very useful information to obtain to understand reboot reasons and find rare bugs in stock sources as well as experiments.We should add functionality to the conductor to log this on startup.
Solution
The conductor repo has a branch
last_kmsg
which enables these changes.This branch is up-to-date with
jinghaos@buffalo.edu/develop
. The version numbers are the same as they are onjinghaos@buffalo.edu/develop
. I can bump these up if needed.Unfortunately, this branch also contains tracing changes. If this change is approved, I will separate these out and create a new branch containing only changes required to run log
/proc/last_kmsg
.The text was updated successfully, but these errors were encountered: