aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2017-12-01 15:44:26 +0100
committerAndrey Konovalov <andreyknvl@gmail.com>2017-12-01 16:16:28 +0100
commite0375d3ee6513d1f62873c119bc2860ba8adab07 (patch)
treedeaacda4d89f1d95c5b2c033772d93340979661c /pkg
parenta6f9669d26a1d27d8486d6b5d1c383cf56494001 (diff)
pkg/report: return raw log in Report.Output
Diffstat (limited to 'pkg')
-rw-r--r--pkg/report/linux.go2
-rw-r--r--pkg/report/report.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index 8d96c3903..c64a087e8 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -81,7 +81,7 @@ func (ctx *linux) ContainsCrash(output []byte) bool {
func (ctx *linux) Parse(output []byte) *Report {
rep := &Report{
- Output: ctx.extractConsoleOutput(output),
+ Output: output,
}
var oops *oops
var textPrefix [][]byte
diff --git a/pkg/report/report.go b/pkg/report/report.go
index 4b7d52804..68e83e9e0 100644
--- a/pkg/report/report.go
+++ b/pkg/report/report.go
@@ -31,7 +31,7 @@ type Report struct {
Title string
// Report contains whole oops text.
Report []byte
- // Output contains whole raw kernel output.
+ // Output contains whole raw console output as passed to Reporter.Parse.
Output []byte
// StartPos/EndPos denote region of output with oops message(s).
StartPos int