2 Commits

Author SHA1 Message Date
Chenglu Lin
261894a8b8 driver: keydebug: Use vmalloc for tasktics array
The 256KB buffer used for calculating tasktics does not need to
be physically contiguous, so use vmalloc instead of kmalloc for
large allocations.

Bug: 120985992
Change-Id: I66a20a13c1c9ff0e69a19b3d9c10313759cf0bd1
Signed-off-by: Chenglu Lin <chenglulin@google.com>
2018-12-24 05:58:49 +00:00
Chenglu Lin
56e4907b5c driver: keydebug: Enhance long press key debugging capability
Add debug features
  - Dump top CPU usage tasks.
  - Dump uninterruptible tasks
  - Dump call stack of each online core

Bug: 117820132
Change-Id: I3ddd2e0addf3982b37decefbd0c5eaeebd6ada0f
Signed-off-by: Chenglu Lin <chenglulin@google.com>
2018-11-21 06:10:23 +00:00