From 1edb8cb72e7fe7912b94c12d35ea0d5a1a4bb86c Mon Sep 17 00:00:00 2001 From: Nikola Pajkovsky Date: Mon, 16 May 2011 14:02:10 +0200 Subject: reenable kernel taint 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 --- src/include/abrt_problem_data.h | 3 +++ src/include/abrtlib.h | 6 ++++++ 2 files changed, 9 insertions(+) (limited to 'src/include') diff --git a/src/include/abrt_problem_data.h b/src/include/abrt_problem_data.h index 795c2404..2fa540e3 100644 --- a/src/include/abrt_problem_data.h +++ b/src/include/abrt_problem_data.h @@ -58,6 +58,9 @@ // Optional. Set to "1" by abrt-handle-upload for every unpacked dump #define FILENAME_REMOTE "remote" #define FILENAME_TAINTED "kernel_tainted" +#define FILENAME_TAINTED_SHORT "kernel_tainted_short" +#define FILENAME_TAINTED_LONG "kernel_tainted_long" +// TODO: TicketUploader also has open-coded "TICKET", "CUSTOMER" files #define FILENAME_UUID "uuid" #define FILENAME_COUNT "count" diff --git a/src/include/abrtlib.h b/src/include/abrtlib.h index 294afdda..5d03ee49 100644 --- a/src/include/abrtlib.h +++ b/src/include/abrtlib.h @@ -283,6 +283,12 @@ bool load_conf_file(const char *pPath, map_string_h *settings, bool skipKeysWith #define steal_directory abrt_steal_directory struct dump_dir *steal_directory(const char *base_dir, const char *dump_dir_name); +#define kernel_tainted_short abrt_kernel_tainted_short +char *kernel_tainted_short(unsigned tainted); + +#define kernel_tainted_long abrt_kernel_tainted_long +GList *kernel_tainted_long(unsigned tainted); + #ifdef __cplusplus } #endif -- cgit