report

package
v0.0.0-...-4e6bda9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsCrash

func ContainsCrash(output []byte, ignores []*regexp.Regexp) bool

ContainsCrash searches kernel console output for oops messages.

func ExtractConsoleOutput

func ExtractConsoleOutput(output []byte) (result []byte)

func ExtractGuiltyFile

func ExtractGuiltyFile(report []byte) string

func GetMaintainers

func GetMaintainers(linux, file string) ([]string, error)

func Parse

func Parse(output []byte, ignores []*regexp.Regexp) (desc string, text []byte, start int, end int)

Parse extracts information about oops from console output. Desc contains a representative description of the first oops (empty if no oops found), text contains whole oops text, start and end denote region of output with oops message(s).

func Symbolize

func Symbolize(vmlinux string, text []byte, symbols map[string][]symbolizer.Symbol) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL