diff options
author | Nikola Pajkovsky <npajkovs@redhat.com> | 2011-05-24 16:09:46 +0200 |
---|---|---|
committer | Nikola Pajkovsky <npajkovs@redhat.com> | 2011-05-24 16:21:28 +0200 |
commit | 8f350826229717e3bd48dcd6a2f12f6a08b37100 (patch) | |
tree | 63cb3169edd8223831946ac82bbff7ea35cc73f3 /examples | |
parent | 8857e7de128d6a36147407af65d2f017f2db4942 (diff) | |
download | abrt-8f350826229717e3bd48dcd6a2f12f6a08b37100.tar.gz abrt-8f350826229717e3bd48dcd6a2f12f6a08b37100.tar.xz abrt-8f350826229717e3bd48dcd6a2f12f6a08b37100.zip |
rhzb#707074 abrt dupe detection needs to ignore some parts of kernel traces
kernel bt looks like
[<ffffffff81047d33>] __might_sleep+0xeb/0xf0
[<ffffffff81111413>] __kmalloc+0x79/0x10d
[<ffffffff811113ff>] __kmalloc+0x79/0x10d
[<ffffffff81023683>] ? alloc_ioapic_entries+0x27/0x87
[<ffffffff81023683>] alloc_ioapic_entries+0x27/0x87
[<ffffffff81021cc0>] lapic_resume+0x3a/0x24d
[<ffffffff81396db2>] ? cpufreq_resume+0x2d/0xac
^ memory skipped ^^^ ^ taken ^^^^^^^^^^
| skipped | skipped
parser strip out only functions in the middle of bt and generates hash
from top 6 functions
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/oops-same-as-oops4.right | 20 | ||||
-rw-r--r-- | examples/oops4.right | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/examples/oops-same-as-oops4.right b/examples/oops-same-as-oops4.right new file mode 100644 index 00000000..584e014c --- /dev/null +++ b/examples/oops-same-as-oops4.right @@ -0,0 +1,20 @@ +BUG: sleeping function called from invalid context at mm/slub.c:795 +in_atomic(): 0, irqs_disabled(): 1, pid: 8811, name: pm-hibernate +Pid: 8811, comm: pm-hibernate Tainted: P 2.6.38.5-24.fc15.x86_64 #1 +Call Trace: + [<ffffffff81047d33>] __might_sleep+0xeb/0xf0 + [<ffffffff811113ff>] __kmalloc+0x79/0x10d + [<ffffffff81023683>] ? alloc_ioapic_entries+0x27/0x87 + [<ffffffff81023683>] alloc_ioapic_entries+0x27/0x87 + [<ffffffff81021cc0>] lapic_resume+0x3a/0x24d + [<ffffffff81396d86>] ? cpufreq_resume+0x2d/0xac + [<ffffffff812e4981>] __sysdev_resume+0x22/0xc2 + [<ffffffff812e4ad4>] sysdev_resume+0xb3/0xf8 + [<ffffffff81087670>] hibernation_snapshot+0x182/0x23e + [<ffffffff81087c83>] hibernate+0xc0/0x1b1 + [<ffffffff810866b7>] state_store+0x5c/0xc5 + [<ffffffff8122a4cb>] kobj_attr_store+0x17/0x19 + [<ffffffff811793bd>] sysfs_write_file+0x111/0x14d + [<ffffffff81121815>] vfs_write+0xac/0xf3 + [<ffffffff81121a04>] sys_write+0x4a/0x6e + [<ffffffff81009bc2>] system_call_fastpath+0x16/0x1b diff --git a/examples/oops4.right b/examples/oops4.right new file mode 100644 index 00000000..cb138c64 --- /dev/null +++ b/examples/oops4.right @@ -0,0 +1,20 @@ +BUG: sleeping function called from invalid context at mm/slub.c:795 +in_atomic(): 0, irqs_disabled(): 1, pid: 13398, name: pm-suspend +Pid: 13398, comm: pm-suspend Not tainted 2.6.38.6-27.fc15.x86_64 #1 +Call Trace: + [<ffffffff81047d33>] __might_sleep+0xeb/0xf0 + [<ffffffff81111413>] __kmalloc+0x79/0x10d + [<ffffffff81023683>] ? alloc_ioapic_entries+0x27/0x87 + [<ffffffff81023683>] alloc_ioapic_entries+0x27/0x87 + [<ffffffff81021cc0>] lapic_resume+0x3a/0x24d + [<ffffffff81396db2>] ? cpufreq_resume+0x2d/0xac + [<ffffffff812e49b1>] __sysdev_resume+0x22/0xc2 + [<ffffffff812e4b04>] sysdev_resume+0xb3/0xf8 + [<ffffffff81086f3b>] suspend_devices_and_enter+0x149/0x1d6 + [<ffffffff8108709f>] enter_state+0xd7/0x129 + [<ffffffff81086726>] state_store+0xaf/0xc5 + [<ffffffff8122a4d7>] kobj_attr_store+0x17/0x19 + [<ffffffff811793d1>] sysfs_write_file+0x111/0x14d + [<ffffffff81121829>] vfs_write+0xac/0xf3 + [<ffffffff81121a18>] sys_write+0x4a/0x6e + [<ffffffff81009bc2>] system_call_fastpath+0x16/0x1b |