summaryrefslogtreecommitdiffstats
path: root/src/plugins/ccpp_events.conf
blob: ca9ac55893ed7698c4af40fae66f73e4c1b5fa2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
EVENT=post-create analyzer=CCpp
        abrt-action-analyze-c &&
        abrt-action-list-dsos.py -m maps -o dsos

EVENT=analyze_var_log_messages analyzer=CCpp
        test -f /var/log/messages || { echo "No /var/log/messages"; exit 1; }
        test -r /var/log/messages || { echo "Can't read /var/log/messages"; exit 1; }
        executable=`cat executable` &&
        base_executable=${executable##*/} &&
        grep -e "$base_executable" /var/log/messages | tail -999 >var_log_messages &&
        echo "var_log_messages element saved"

# TODO: can we still specify additional directories to search for debuginfos,
# or was this ability lost with move to python installer?
EVENT=analyze_LocalGDB analyzer=CCpp
        abrt-action-analyze-core.py --core=coredump -o build_ids &&
        abrt-action-install-debuginfo --size_mb=4096 &&
        abrt-action-generate-backtrace &&
        abrt-action-analyze-backtrace

EVENT=analyze_RetraceServer analyzer=CCpp
        abrt-retrace-client batch --dir "$DUMP_DIR" &&
        abrt-action-analyze-backtrace

EVENT=report_Bugzilla analyzer=CCpp
        abrt-action-bugzilla -c /etc/abrt/plugins/Bugzilla.conf