summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2011-03-10 18:09:37 +0100
committerKarel Klic <kklic@redhat.com>2011-03-10 18:09:37 +0100
commit77bb7ac8f771817c4cd2111ab7e5ff529ec27ef7 (patch)
treec339460065b12405f5ac11a8b384dcbc332566b0 /src
parent16cb4f46a752c97a68941e53b20c9596d24fac08 (diff)
downloadabrt-77bb7ac8f771817c4cd2111ab7e5ff529ec27ef7.tar.gz
abrt-77bb7ac8f771817c4cd2111ab7e5ff529ec27ef7.tar.xz
abrt-77bb7ac8f771817c4cd2111ab7e5ff529ec27ef7.zip
added XML configuration for analyze steps
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Makefile.am4
-rw-r--r--src/plugins/analyze_LocalGDB.xml6
-rw-r--r--src/plugins/analyze_RetraceServer.xml13
-rw-r--r--src/plugins/ccpp_events.conf4
4 files changed, 24 insertions, 3 deletions
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 4548c67c..ff052b53 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -41,7 +41,9 @@ dist_pluginsconf_DATA = \
eventsdir = $(EVENTS_DIR)
dist_events_DATA = \
- report_Bugzilla.xml
+ report_Bugzilla.xml \
+ analyze_LocalGDB.xml \
+ analyze_RetraceServer.xml
eventsconfdir = $(EVENTS_CONF_DIR)
diff --git a/src/plugins/analyze_LocalGDB.xml b/src/plugins/analyze_LocalGDB.xml
new file mode 100644
index 00000000..fe9f769a
--- /dev/null
+++ b/src/plugins/analyze_LocalGDB.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<event>
+ <name>Local GNU Debugger</name>
+ <description>Downloads required debuginfo packages and analyzes
+ core dump using local gdb</description>
+</event>
diff --git a/src/plugins/analyze_RetraceServer.xml b/src/plugins/analyze_RetraceServer.xml
new file mode 100644
index 00000000..ee28f28d
--- /dev/null
+++ b/src/plugins/analyze_RetraceServer.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<event>
+ <name>Retrace Server</name>
+ <description>Sends core dumps to remote retrace server for analysis</description>
+ <options>
+ <option type="text" name="RETRACE_SERVER_URL">
+ <label>Retrace server URL</label>
+ <default-value>retrace01.fedoraproject.org</default-value>
+ <allow-empty>no</allow-empty>
+ <description>Address of the retrace server</description>
+ </option>
+ </options>
+</event>
diff --git a/src/plugins/ccpp_events.conf b/src/plugins/ccpp_events.conf
index cbeb8acf..0cb2abe9 100644
--- a/src/plugins/ccpp_events.conf
+++ b/src/plugins/ccpp_events.conf
@@ -5,8 +5,8 @@ EVENT=post-create analyzer=CCpp abrt-action-analyze-c
#TODO: can we still specify additional directories to search for debuginfos,
# or was this ability lost with move to python installer?
-EVENT=analyze_Local analyzer=CCpp backtrace= abrt-action-install-debuginfo --core="$DUMP_DIR/coredump"
-EVENT=analyze_Local analyzer=CCpp backtrace= abrt-action-generate-backtrace
+EVENT=analyze_LocalGDB analyzer=CCpp backtrace= abrt-action-install-debuginfo --core="$DUMP_DIR/coredump"
+EVENT=analyze_LocalGDB analyzer=CCpp backtrace= abrt-action-generate-backtrace
EVENT=analyze_RetraceServer analyzer=CCpp backtrace= abrt-retrace-client batch -k --dir "$DUMP_DIR"
# Same as "analyze", but executed when user requests "refresh" in GUI