diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-12-14 17:27:37 +0100 |
|---|---|---|
| committer | Marco Elver <me@marcoelver.com> | 2021-12-16 17:27:08 +0100 |
| commit | 44068e196185e2f5a7c94629b6245cdde008b140 (patch) | |
| tree | 7bb3bcf150c9715fb5ca933c989915501e6dcba6 /pkg/mgrconfig | |
| parent | 8dd6a5e3524be635d738d091a2eab895d47da723 (diff) | |
pkg/mgrconfig: add "interests"
We have "suppressions" parameter to suppress non-interesting reports.
Add "interests" parameter which is an opposite of "suppressions" --
everything that's not in "interests" is suppressed.
It's matched against bug title, guilty file and maintainer emails.
Diffstat (limited to 'pkg/mgrconfig')
| -rw-r--r-- | pkg/mgrconfig/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/mgrconfig/config.go b/pkg/mgrconfig/config.go index a2e850db1..7384b75c5 100644 --- a/pkg/mgrconfig/config.go +++ b/pkg/mgrconfig/config.go @@ -153,6 +153,10 @@ type Config struct { // Completely ignore reports matching these regexps (don't save nor reboot), // must match the first line of crash message. Ignores []string `json:"ignores,omitempty"` + // List of regexps to select bugs of interest. + // If this list is not empty and none of the regexps match a bug, it's suppressed. + // Regexps are matched against bug title, guilty file and maintainer emails. + Interests []string `json:"interests,omitempty"` // Type of virtual machine to use, e.g. "qemu", "gce", "android", "isolated", etc. Type string `json:"type"` |
