Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

fix mtk bugreport support #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bugreportutils/bugreportutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ var (
TimeZoneRE = regexp.MustCompile(`^\[persist.sys.timezone\]:\s+\[` + `(?P<timezone>\S+)\]`)

// DumpstateRE is a regular expression that matches the time information from the dumpstate line at the start of a bug report.
DumpstateRE = regexp.MustCompile(`==\sdumpstate:\s(?P<timestamp>\d+-\d+-\d+\s\d+:\d+:\d+)`)
DumpstateRE = regexp.MustCompile(`==\sdumpstate(\swith MTK)?:\s(?P<timestamp>\d+-\d+-\d+\s\d+:\d+:\d+)`)
)

// Contents returns a map of the contents of each file from the given bytes slice, with the key being the file name.
Expand Down