aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-09-15 18:09:54 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-09-15 18:09:54 +0200
commitd93d46e4f9e11cb6e11e54fff71298e231d09bc9 (patch)
tree8d8e6fed32c6e3175da8db7c17b1f6202403e9ff /lib/rhbzpage.js
parentf3ad9bdf84f380cd817d2d24dd6d13cd00550bf5 (diff)
downloadbugzilla-triage-d93d46e4f9e11cb6e11e54fff71298e231d09bc9.tar.gz
Add also chipset and driver information to the Xorg log analysis
* also adding removeDuplicates to util.js
Diffstat (limited to 'lib/rhbzpage.js')
-rw-r--r--lib/rhbzpage.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index cb3f636..6ee4553 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -49,7 +49,7 @@ var RHBugzillaPage = function RHBugzillaPage(win, config) {
Abrt: new RegExp("^\\s*\\[abrt\\]"),
signalHandler: new RegExp("^\\s*#[0-9]*\\s*<signal handler called>"),
frameNo: new RegExp("^\\s*#([0-9]*)\\s"),
- soughtLines: new RegExp("^\\s*(\\[[0-9 .]*\\])?\\s*\\((EE|WW)\\)|\\s*Backtrace")
+ soughtLines: new RegExp("^\\s*(\\[[0-9 .]*\\])?\\s*(\\((EE|WW)\\)|.* [cC]hipsets?: )|\\s*Backtrace")
};
// END OF CONSTANTS
@@ -656,12 +656,13 @@ RHBugzillaPage.prototype.analyzeXorgLog = function analyzeXorgLog(attachID) {
filter(function(line) {
return (that.RE.soughtLines.test(line));
});
+ results.sort();
+ results = util.removeDuplicates(results);
// Remove headers
if (results.length >= 1) {
results.splice(0, 1);
}
if (results.length > 0) {
-
results.forEach(function(l) {
preElem.innerHTML += l + "\n";
});