| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Checkboxes are controlled by the following elements in .xml:
<requires-items> ITEM1,ITEM2 </requires-items>
<exclude-items-by-default> ITEM1,ITEM2 </exclude-items-by-default>
<exclude-items-always> ITEM1,ITEM2 </exclude-items-always>
<exclude-binary-items> yes / no </exclude-binary-items>
<include-items-by-default> ITEM1,ITEM2 </include-items-by-default>
exclude-items-by-default and exclude-items-always can be "*"
meaning "all". include-items-by-default specifies which items
are included (checked) is exclude-items-by-default is "*".
Else, all are checked by default.
the set of iters NOT included is passed in $EXCLUDE_FROM_REPORT
variable. bugzilla, kerneloops, mailx, print and rhtsupport
are made aware of this variable.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
more flags
Now we have three functions instead of four:
int report_problem_in_dir(const char *dirname, int flags);
int report_problem_in_memory(problem_data_t *pd, int flags);
int report_problem(problem_data_t *pd);
(third one is a trivial wrapper around report_problem_in_memory),
and two new flags LIBREPORT_ANALYZE and LIBREPORT_RELOAD_DATA.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
abrt-dump-oops stores two new files into dump dir. kernel_tainted_short which is
representation of kernel tainted value (P----T). kernel_tainted_long contains human
readable strings of short version
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
|
|/ |
|
|
|
|
|
|
| |
Closes bz#531365
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
|
|
| |
Also, fix some typos in comments
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|/ |
|
|
|
|
|
|
|
|
| |
Now code determines whether analyze event can be skipped
by looking at <creates-elements>backtrace</creates-elements>
element in .xml file.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
|
|
| |
The only finction not included is -l[PFX] - list possible events.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
|
|
| |
Also changes Bugzilla and abrt-cli output format.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
|
|
| |
Therefore moved abrt_conf.* to libreport
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
|
|
|
|
| |
This change will not compile, because in C++, void* cannot be
automatically cast to char*. Next change renames Settings.cpp to *.c
and fixes this.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
|
|
|
|
| |
The change is somewhat big because I can no longer (ab)use tooltip to store
event name. So I created a bit more generic method of remembering
which events are shown and selected.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
elements of dump directory.
This patch changes it to generic handling, where abrt-cli doesn't know
anything about particular elements (like backtrace).
Changes in detail:
* crash_item->flags how has CD_FLAG_UNIXTIME bit.
* format_crash_item(item) returns malloced formatted string
(currently only formatted time for items with CD_FLAG_UNIXTIME)
or NULL, if item->content is to be used as-is
* crash_item->flags how has CD_FLAG_LIST bit, it is set on a
small number of elements which are to be shown by abrt-cli -l.
* abrt-cli -l doesn't use fixed names, it looks at CD_FLAG_LIST.
* abrt-cli -i doesn't use fixed names, it prints all one-line elements:
Directory : /var/spool/abrt/ccpp-1298264192-2705
analyzer : CCpp
architecture : x86_64
cmdline : metacity
comment : Abrt testing, please disregard
component : metacity
coredump : /var/spool/abrt/ccpp-1298264192-2705/coredump
count : 1
crash_function : pa_atomic_load
executable : /usr/bin/metacity
global_uuid : 1e8b716d2094fb22dccdb5321ac0cf6f14eb6689
hostname : dhcp-25-227.brq.redhat.com
kernel : 2.6.34.7-61.fc13.x86_64
os_release : Fedora release 13 (Goddard)
package : metacity-2.30.0-3.fc13
rating : 4
reason : Process /usr/bin/metacity was killed by signal 11 (SIGSEGV)
time : Mon 21 Feb 2011 05:56:32 AM CET
uid : 500
uuid : 453085d0f703b96ddc3a5172dd7d5a29479f5b3f
* abrt-cli -i --backtrace is removed. Instead, abrt-cli -i --full
is to be used. It shows all elements, one-line and multi-line ones.
* abrt-cli code now has an example how to list crast_data_t
in the sorted-by-key order.
Further ideas:
abrt-cli needs -o elem1,elem2,elem3 option which tells which elements to
show, and/or -O elem1,elem2,elem3 option which tells elements to NOT
show. Rationale: abrt-cli -i --full output is way too long because of
smaps, need a way to suppress unneeded elements display
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
|
|
|
|
|
| |
parse_value() doesn't trim the string.
Lest say BlackList = coreutils, mono
the parsed list looks like -> 'coreutils', ' mono'
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
|
|
|
|
| |
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|\
| |
| |
| |
| |
| | |
* event:
validate input in cli and fix ask_for_missing_settings function
parse and store 'allow-empty' value
|
| |
| |
| |
| | |
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
|
| |
| |
| |
| | |
- so far used only by kerneloops
|
| |
| |
| |
| | |
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
|
|/
|
|
|
|
|
|
|
|
|
| |
This fixes the problem with abrt-cli not showing unreported bugs
and abrt-gui not showing "green lamp" for reported bugs.
In general, it introduces a way to record reporting results,
such as Bugzilla URL, in dump dir.
In the future, this enables such functions as "check BZ status".
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
| |
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
| |
|
|
|
|
| |
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
|
|
|
|
|
|
|
| |
- so event now has:
action: description of what will happen when this event is used
- the main purpose is for the event selector in wizard
description: description of the event
|
|
|
|
| |
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|