diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-05 17:12:53 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-05 17:12:53 +0100 |
commit | 55a3ba357bb766b142e95d8e5efe5ac87d841cbe (patch) | |
tree | 9ec32bcf638bf42ddccc02ac9003b940b1b623f9 /lib | |
parent | dbbc2df18f5441d7b298c5d32e4199aa56f08ce0 (diff) | |
download | abrt-55a3ba357bb766b142e95d8e5efe5ac87d841cbe.tar.gz abrt-55a3ba357bb766b142e95d8e5efe5ac87d841cbe.tar.xz abrt-55a3ba357bb766b142e95d8e5efe5ac87d841cbe.zip |
use FILENAME_BACKTRACE for oops text too
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Plugins/Kerneloops.cpp | 2 | ||||
-rw-r--r-- | lib/Plugins/KerneloopsReporter.cpp | 2 | ||||
-rw-r--r-- | lib/Plugins/KerneloopsScanner.cpp | 2 | ||||
-rw-r--r-- | lib/Utils/CrashTypes.cpp | 1 |
4 files changed, 3 insertions, 4 deletions
diff --git a/lib/Plugins/Kerneloops.cpp b/lib/Plugins/Kerneloops.cpp index fb7eaca7..413e1912 100644 --- a/lib/Plugins/Kerneloops.cpp +++ b/lib/Plugins/Kerneloops.cpp @@ -103,7 +103,7 @@ std::string CAnalyzerKerneloops::GetLocalUUID(const char *pDebugDumpDir) { CDebugDump dd; dd.Open(pDebugDumpDir); - dd.LoadText(FILENAME_KERNELOOPS, oops); + dd.LoadText(FILENAME_BACKTRACE, oops); } unsigned hash = hash_oops_str(oops.c_str()); diff --git a/lib/Plugins/KerneloopsReporter.cpp b/lib/Plugins/KerneloopsReporter.cpp index 035b6e92..4271e1d9 100644 --- a/lib/Plugins/KerneloopsReporter.cpp +++ b/lib/Plugins/KerneloopsReporter.cpp @@ -92,7 +92,7 @@ std::string CKerneloopsReporter::Report(const map_crash_data_t& pCrashData, update_client(_("Creating and submitting a report...")); - map_crash_data_t::const_iterator it = pCrashData.find(FILENAME_KERNELOOPS); + map_crash_data_t::const_iterator it = pCrashData.find(FILENAME_BACKTRACE); if (it != pCrashData.end()) { ret = http_post_to_kerneloops_site( m_sSubmitURL.c_str(), diff --git a/lib/Plugins/KerneloopsScanner.cpp b/lib/Plugins/KerneloopsScanner.cpp index b0336b0b..fdcc3e5e 100644 --- a/lib/Plugins/KerneloopsScanner.cpp +++ b/lib/Plugins/KerneloopsScanner.cpp @@ -122,7 +122,7 @@ void save_oops_to_debug_dump(const vector_string_t& oopsList) dd.SaveText(FILENAME_EXECUTABLE, "kernel"); dd.SaveText(FILENAME_KERNEL, first_line); dd.SaveText(FILENAME_CMDLINE, "not_applicable"); - dd.SaveText(FILENAME_KERNELOOPS, second_line); + dd.SaveText(FILENAME_BACKTRACE, second_line); } catch (CABRTException& e) { diff --git a/lib/Utils/CrashTypes.cpp b/lib/Utils/CrashTypes.cpp index b50535be..4fc93337 100644 --- a/lib/Utils/CrashTypes.cpp +++ b/lib/Utils/CrashTypes.cpp @@ -35,7 +35,6 @@ static const char *const editable_files[] = { FILENAME_COMMENT , FILENAME_REPRODUCE , FILENAME_BACKTRACE , - FILENAME_KERNELOOPS , NULL }; |