diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-09-26 12:02:43 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-09-26 12:02:43 +0200 |
| commit | db716d6653d073b0abfb51186cd4ac2d5418c9c6 (patch) | |
| tree | 3441a3d043c0ef52cbb5241ad283ffaeb6fb968a /pkg/report/testdata/linux/guilty/20 | |
| parent | 455b6354e8fc3c74fbbc436cc611f113d884f7a3 (diff) | |
pkg/report: fix guilty file extraction
Account for the case that some file names can appear _before_ crash report starts.
Start extracting guilty file starting from StartPos.
Diffstat (limited to 'pkg/report/testdata/linux/guilty/20')
| -rw-r--r-- | pkg/report/testdata/linux/guilty/20 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/report/testdata/linux/guilty/20 b/pkg/report/testdata/linux/guilty/20 index 0fc073699..b95a5b74d 100644 --- a/pkg/report/testdata/linux/guilty/20 +++ b/pkg/report/testdata/linux/guilty/20 @@ -1,3 +1,4 @@ FILE: driver/foo/lib/foo.c +WARNING: CPU: 2 PID: 24023 at kernel/locking/lockdep.c:3344 __lock_acquire+0x10e5/0x3690 kernel/locking/lockdep.c:3344 driver/foo/lib/foo.c:10 |
