Re: [android-kernel] How to trace kernel calls?

2016-12-01 Thread Durgadoss Ramanathan
Android uses wakelocks to control screen animation . So you might also want to take a look at /sys/power/wake_lock .. You may need root permission to change the values in this interface ... On Dec 1, 2016 8:56 AM, "ranchu" wrote: > Hello, > > I'm struglling for some days

[android-kernel] How to trace kernel calls?

2016-11-30 Thread ranchu
Hello, I'm struglling for some days now to turn off screen. I can do that with "input keyevent 26", but I rather do it directly to kernel. If I had known which sysfs maybe is called on doing " input keyevent 26" it could have helped me a lot. Is it with ftrace ? ftrace not enabled in my