Lines Matching refs:oops
19 // ContainsCrash searches kernel console output for oops messages.
22 // Parse extracts information about oops from console output.
23 // Returns nil if no oops found.
31 // Title contains a representative description of the first oops.
33 // Report contains whole oops text.
37 // StartPos/EndPos denote region of output with oops message(s).
143 // addresses in descriptions can't be good regardless of the oops regexps.
202 type oops struct {
248 func containsCrash(output []byte, oopses []*oops, ignores []*regexp.Regexp) bool {
256 for _, oops := range oopses {
257 match := matchOops(output[pos:next], oops, ignores)
268 func matchOops(line []byte, oops *oops, ignores []*regexp.Regexp) int {
269 match := bytes.Index(line, oops.header)
273 if matchesAny(line, oops.suppressions) {
282 func extractDescription(output []byte, oops *oops, params *stackParams) (
286 for _, f := range oops.formats {
327 // a title of an oops but not full report regexp or stack trace,
332 pos := bytes.Index(output, oops.header)
429 func simpleLineParser(output []byte, oopses []*oops, params *stackParams, ignores []*regexp.Regexp) *Report {
433 var oops *oops
445 oops = oops1
450 if oops != nil {
455 if oops == nil {
458 title, corrupted, _ := extractDescription(output[rep.StartPos:], oops, params)