aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/linux_reporting.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-02-07 16:20:16 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2023-02-16 11:29:36 +0100
commit2f0f5f6d638c8a24c1b8b04ebc9e303d330644cc (patch)
treee577540c32b8f5f45a0b7b5bbf286a180fcab82f /dashboard/app/linux_reporting.go
parent6e13575de15a4d480e4edf604d5f83ca3ee1c64e (diff)
dashboard/app: infer bug subsystems from crashes
After each saved crash, invoke the new pkg/subsystem machinery to infer the subsystem list. Use 5 crashes with biggest priority to base the inference on.
Diffstat (limited to 'dashboard/app/linux_reporting.go')
-rw-r--r--dashboard/app/linux_reporting.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/dashboard/app/linux_reporting.go b/dashboard/app/linux_reporting.go
index c31ef65f4..98220194b 100644
--- a/dashboard/app/linux_reporting.go
+++ b/dashboard/app/linux_reporting.go
@@ -9,7 +9,8 @@ package main
// canBeVfsBug determines whether a bug could belong to the VFS subsystem itself.
func canBeVfsBug(bug *Bug) bool {
for _, subsystem := range bug.Tags.Subsystems {
- if subsystem.Name == "vfs" {
+ // The "vfs" one is left for compatibility with the older matching code.
+ if subsystem.Name == "vfs" || subsystem.Name == "fs" {
return true
}
}