From 8445adb47ece5ecf03d95d3d4d1af7b3415b25af Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Tue, 22 Feb 2011 19:53:10 +0100 Subject: 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 --- src/plugins/Makefile.am | 5 +++++ src/plugins/ccpp_events.conf | 17 +++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/plugins/ccpp_events.conf (limited to 'src/plugins') 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 -- cgit