From 20221d9ec75cb2ef8966d20ca1847b4094991392 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 3 Jan 2022 20:45:36 +0100 Subject: pkg/report: stop parsing old KMSAN reports Keeping backwards compatibility will complicate future changes. Since KMSAN is not upstream yet and is always rebased, we don't really need to keep parsing old reports. --- pkg/report/linux.go | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 5ea3e9619..be8d47186 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -1259,11 +1259,6 @@ var linuxOopses = append([]*oops{ parts: []*regexp.Regexp{ parseStackTrace, }, - parts2: []*regexp.Regexp{ - // For backwards compatibility - KMSAN used to include the Call Trace line. - linuxCallTrace, - parseStackTrace, - }, skip: []string{"usb_submit_urb", "usb_start_wait_urb", "usb_bulk_msg", "usb_interrupt_msg", "usb_control_msg"}, }, noStackTrace: true, @@ -1277,11 +1272,6 @@ var linuxOopses = append([]*oops{ parts: []*regexp.Regexp{ parseStackTrace, }, - parts2: []*regexp.Regexp{ - // For backwards compatibility - KMSAN used to include the Call Trace line. - linuxCallTrace, - parseStackTrace, - }, }, noStackTrace: true, }, -- cgit mrf-deployment