Comments (16)
We should do this, but do separate it with tracing related changes, so they can be merged individually.
from cm-shamu.manifest.
Actually can you remind me of what tracing related changes do? We might just incorporate them in the main release as well.
from cm-shamu.manifest.
In the conductor, the tracing changes only add new classes to the conductor that check for certain tags in the manifest.xml
file. By default, they do not enable any tracing.
When the manifest contains the specific tag - <EventTracingService>
, the conductor's tracing task kicks in and enables the specified events.
This functionality depends on changes in the platform. The repos that will (probably) be modified are:
platform/build
device/moto/shamu
platform/external/sepolicy
platform/frameworks/base
platform/frameworks/native
kernel/moto/shamu
platform/system/core
@shaseley can probably give you a better idea of what these changes will involve.
from cm-shamu.manifest.
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.
from cm-shamu.manifest.
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.
from cm-shamu.manifest.
Will do. I will update this thread once that's done.
from cm-shamu.manifest.
I've tested and pushed all changes required for this to work.
On the Nexus 6, /proc/last_kmsg
has been removed and replaced with /sys/fs/pstore/*
. The conductor now has logic to log all files under this directory.
Unfortunately, this required giving system_apps
permissions to read /sys/fs/pstore
. The relevant changes have been made to external/sepolicy
.
Branches:
conductor: last_kmsg_only
external/sepolicy: phonelab/cm-13.0/last_kmsg
Let me know if you want me to build a release apk of the conductor and push it to vendor/phonelab
.
from cm-shamu.manifest.
Pull back the changes to external/sepolicy and do it in /device/moto/shamu/sepolicy/system_app.se
from cm-shamu.manifest.
Done.
external/sepolicy
still contains the branch phonelab/cm-13.0/last_kmsg
, but the change has been reverted on this branch
from cm-shamu.manifest.
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?
from cm-shamu.manifest.
last_kmsg_only
, I see. never mind this.
from cm-shamu.manifest.
I merged last_kmsg_only
in conductor, and updated the conductor apk (2.0.3) in /vendor/phonelab. Changes pushed. Can you also update the develop branch of /device/moto/shamu?
from cm-shamu.manifest.
deleted last_kmsg_only
branch in conductor.
from cm-shamu.manifest.
Finished merging branch phonelab/cm-13.0/last_kmsg
into phonelab/cm-13.0/develop
in device/moto/shamu
and pushed.
from cm-shamu.manifest.
OK, building. Will push the OTA soon.
from cm-shamu.manifest.
Fixed in 4.1.4
from cm-shamu.manifest.
Related Issues (14)
- Dialer causes reboot in 4.0.1 HOT 3
- kmsgd Blocks Indefinitely HOT 10
- Complete Data drop out after 36-48 hours HOT 22
- Conductor NullPointerException in LogLastKmsg HOT 4
- Missing Logging Infrastructure in Develop Branch HOT 4
- Default logcat format in Conductor is Wrong
- Disable CM's Update HOT 2
- Boot animation HOT 2
- Phone Does not Boot After OTA from 4.0.5 to 4.0.6 HOT 7
- DONT_DEXPREOPT_PREBUILTS HOT 2
- Use tracetime in the Conductor HOT 3
- Low Headphone Volume HOT 3
- SELinux Blocking kmsgd From Running HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cm-shamu.manifest.