mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-28 13:18:23 +00:00
This patch creates a pixel owned tracing instance apart from main tracer(i.e., /d/tracing/instances/pixel-trace) so that we will keep a certain mount of data without interference from others(e.g., traceur, atrace and so on). It's important to not lose the information to investigate problems at bugreport. This CL also adds dumpstatez and bugreport property hooks to stop/restart the trace during bugreport to keep more old trace. Allow dumpstate read mm_event trace from /d/tracing/instances/ pixel-trace/trace. With that, it could dump the trace into bugreport file. Bug: 116825025 Test: confirm with adb bugreport/bugreport via power menu shortcut/ volume up/down/power key combination. They includes traces in dumpstate_board.txt with kernel turns on CONFIG_MM_EVENT_STAT. Signed-off-by: Minchan Kim <minchan@google.com> Change-Id: I699f362089b61247b2937accbd331327563b1e0c