summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2011-02-22 19:53:10 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2011-02-22 19:53:10 +0100
commit8445adb47ece5ecf03d95d3d4d1af7b3415b25af (patch)
tree7654718a848b5c59b1e4a90527c14e8f79c61a08 /src/plugins
parent72a31a2a391e6c37255ed08b3bdbf1c38f20d753 (diff)
downloadabrt-8445adb47ece5ecf03d95d3d4d1af7b3415b25af.tar.gz
abrt-8445adb47ece5ecf03d95d3d4d1af7b3415b25af.tar.xz
abrt-8445adb47ece5ecf03d95d3d4d1af7b3415b25af.zip
move ccpp related events to events.d/
- so now when the abrt-addon-ccpp is removed it's config will be removed with it, so the rest of abrt and libreport won't be confused
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Makefile.am5
-rw-r--r--src/plugins/ccpp_events.conf17
2 files changed, 22 insertions, 0 deletions
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 938f88ba..c6451c83 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -37,6 +37,11 @@ dist_pluginsconf_DATA = \
RHTSupport.conf \
Upload.conf
+eventsconfdir = $(EVENTS_CONF_DIR)
+
+dist_eventsconf_DATA = \
+ ccpp_events.conf
+
man_MANS = \
abrt-Bugzilla.7 \
abrt-KerneloopsReporter.7 \
diff --git a/src/plugins/ccpp_events.conf b/src/plugins/ccpp_events.conf
new file mode 100644
index 00000000..1ad57608
--- /dev/null
+++ b/src/plugins/ccpp_events.conf
@@ -0,0 +1,17 @@
+EVENT=post-create analyzer=CCpp abrt-action-analyze-c
+
+#TODO: implement this (or add this functionality to abrt-action-install-debuginfo):
+#EVENT=analyze analyzer=CCpp backtrace= trim-debuginfo-cache /var/cache/abrt-di 4096m
+
+#TODO: can we still specify additional directories to search for debuginfos,
+# or was this ability lost with move to python installer?
+EVENT=analyze analyzer=CCpp backtrace= abrt-action-install-debuginfo --core="$DUMP_DIR/coredump"
+EVENT=analyze analyzer=CCpp backtrace= abrt-action-generate-backtrace
+
+# Same as "analyze", but executed when user requests "refresh" in GUI
+#EVENT=reanalyze analyzer=CCpp trim-debuginfo-cache /var/cache/abrt-di 4096m
+EVENT=reanalyze analyzer=CCpp abrt-action-install-debuginfo --core="$DUMP_DIR/coredump"
+EVENT=reanalyze analyzer=CCpp abrt-action-generate-backtrace
+
+EVENT=report_Bugzilla analyzer=CCpp abrt-action-bugzilla -c /etc/abrt/plugins/Bugzilla.conf
+EVENT=report_Logger analyzer=CCpp abrt-action-print -o /var/log/abrt.log