summaryrefslogtreecommitdiffstats
path: root/src/plugins/abrt-action-analyze-oops.c
Commit message (Collapse)AuthorAgeFilesLines
* rhzb#707074 abrt dupe detection needs to ignore some parts of kernel tracesNikola Pajkovsky2011-05-241-75/+53
| | | | | | | | | | | | | | | | | | 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>
* assorted cleanups, memory leak fix (g_list_free in add_basics_to_problem_data)Denys Vlasenko2011-05-221-12/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move $ABRT_foo checking and setting into helper routines.Denys Vlasenko2011-05-041-11/+3
| | | | | | | I'm sick of fixing incorrect PROGNAME defines. Now g_progname is a variable and it is set from argv[0]. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* switch python and oops hashing to sha1Denys Vlasenko2011-04-181-16/+29
| | | | | | | Update sha1 code to a smaller version. Verified that ccpp hashing produces the same results as the old code. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* make $ABRT_PROG_PREFIX control whether log messages are prefixedDenys Vlasenko2011-03-251-12/+8
| | | | | | | | | | by abrt-action-foo programs. abrtd, abrt-server and abrt-handle-crashdump now have option -p which sets ABRT_PROG_PREFIX=1 for their children and thus makes them emit program name prefixes. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* make option handling more regular across all toolsDenys Vlasenko2011-01-201-4/+4
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove sqlite DBDenys Vlasenko2010-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | This change removes sqlite database. Database was used to find dump dirs by [UID:]UUID. This patch uses more natural way: dump dirs are addressed by their directory names. DB was also used to produce a list of dump dirs. Now it is done by iterating over the /var/spool/abrt directory. And finally, DB was also used to find duplicate UUIDs. Now it is done by iterating over the /var/spool/abrt directory. Crash count, "inform all" and reporting result message are moved from DB field to a file in dump dir. "Reported" DB field is deleted - if message != "", then this dump was reported. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move files from lib/plugins to src/pluginsJiri Moskovcak2010-11-101-0/+176