Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterList ¶
Types ¶
type Crash ¶
Crash represents the subset of the available crash information that's required for subsystem inference.
type Extractor ¶
type Extractor struct {
// contains filtered or unexported fields
}
Extractor deduces the subsystems from the list of crashes.
func MakeExtractor ¶
func (*Extractor) TracedExtract ¶
func (e *Extractor) TracedExtract(crashes []*Crash, tracer debugtracer.DebugTracer) []*Subsystem
type PathMatcher ¶
type PathMatcher struct {
// contains filtered or unexported fields
}
func MakePathMatcher ¶
func MakePathMatcher(list []*Subsystem) *PathMatcher
func (*PathMatcher) Match ¶
func (p *PathMatcher) Match(path string) []*Subsystem
type PathRule ¶
type PathRule struct { IncludeRegexp string // ExcludeRegexps are tested before IncludeRegexp. ExcludeRegexp string }
PathRule describes the part of the directory tree belonging to a single subsystem.
type Service ¶
type Service struct { *Extractor // contains filtered or unexported fields }
func ListService ¶
func MakeService ¶
func MustMakeService ¶
type Subsystem ¶
type Subsystem struct { Name string PathRules []PathRule Syscalls []string Lists []string Maintainers []string Parents []*Subsystem // If NoReminders is true, there should be no monthly reports for the subsystem. NoReminders bool // If NoIndirectCc is true, the subsystem lists are not tagged in sub-subsystem reports. NoIndirectCc bool }
func (*Subsystem) ReachableParents ¶
ReachableParents returns the set of subsystems reachable from the current one.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.