* [PATCH] oops: increment the oops UUID every time we oops
@ 2008-11-23 20:58 Arjan van de Ven
0 siblings, 0 replies; only message in thread
From: Arjan van de Ven @ 2008-11-23 20:58 UTC (permalink / raw)
To: linux-kernel; +Cc: akpm
>From c9430c243c6cdd6c3152be79561b9febac193056 Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.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@linux.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-23 20:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-23 20:58 [PATCH] oops: increment the oops UUID every time we oops Arjan van de Ven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®