[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20081123125835.45b868c6@infradead.org>
Date: Sun, 23 Nov 2008 12:58:35 -0800
From: Arjan van de Ven <arjan@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: akpm@...ux-foundation.org
Subject: [PATCH] oops: increment the oops UUID every time we oops
>From c9430c243c6cdd6c3152be79561b9febac193056 Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@...ux.intel.com>
Date: Tue, 18 Nov 2008 12:41:03 -0800
Subject: [PATCH] oops: increment the oops UUID every time we oops
... because we do want repeated same-oops to be seen by automated
tools like kerneloops.org
Signed-off-by: Arjan van de Ven <arjan@...ux.intel.com>
---
kernel/panic.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kernel/panic.c b/kernel/panic.c
index 6513aac..a1c05f0 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -297,6 +297,8 @@ static int init_oops_id(void)
{
if (!oops_id)
get_random_bytes(&oops_id, sizeof(oops_id));
+ else
+ oops_id++;
return 0;
}
--
1.6.0.3
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists