aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/report/linux.go')
-rw-r--r--pkg/report/linux.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index fe55ebb99..b438461a8 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -85,6 +85,7 @@ func ctorLinux(target *targets.Target, kernelSrc, kernelObj string, ignores []*r
regexp.MustCompile(`^net/core/sock.c`),
regexp.MustCompile(`^net/core/skbuff.c`),
regexp.MustCompile(`^fs/proc/generic.c`),
+ regexp.MustCompile(`^trusty/`), // Trusty sources are not in linux kernel tree.
}
// These pattern do _not_ start a new report, i.e. can be in a middle of another report.
ctx.reportStartIgnores = []*regexp.Regexp{
@@ -1408,4 +1409,16 @@ var linuxOopses = []*oops{
},
[]*regexp.Regexp{},
},
+ {
+ []byte("trusty: panic"),
+ []oopsFormat{
+ {
+ title: compile("trusty: panic.* ASSERT FAILED"),
+ report: compile("trusty: panic \\(.*?\\):(?: DEBUG)? ASSERT FAILED at \\(.*?\\): (.*)"),
+ fmt: "trusty: ASSERT FAILED: %[1]v",
+ noStackTrace: true,
+ },
+ },
+ []*regexp.Regexp{},
+ },
}