[SATYR PATCH] also fill kernel version in koops stacktrace
Jiri Moskovcak
jmoskovc at redhat.com
Wed Sep 11 08:42:18 UTC 2013
- missing ticket number
On 09/09/2013 02:52 PM, Michal Toman wrote:
> Signed-off-by: Michal Toman <mtoman at redhat.com>
> ---
> lib/abrt.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/lib/abrt.c b/lib/abrt.c
> index 53f84cd..f7d9824 100644
> --- a/lib/abrt.c
> +++ b/lib/abrt.c
> @@ -456,10 +456,13 @@ sr_abrt_report_from_dir(const char *directory,
> struct sr_location location;
> sr_location_init(&location);
> const char *contents_pointer = backtrace_contents;
> - report->stacktrace = (struct sr_stacktrace *)sr_koops_stacktrace_parse(
> + struct sr_koops_stacktrace *stacktrace = sr_koops_stacktrace_parse(
> &contents_pointer,
> &location);
>
> + stacktrace->version = kernel_contents;
> + report->stacktrace = (struct sr_stacktrace *)stacktrace;
> +
> free(backtrace_contents);
> if (!report->stacktrace)
> {
>
More information about the Crash-catcher
mailing list