[Crash-utility] [RFC/PATCH] s390x: Add live dump detection
Michael Holzheu
holzheu at linux.vnet.ibm.com
Mon Apr 23 09:19:36 UTC 2012
Hi Dave,
On Fri, 20 Apr 2012 10:03:23 -0400 (EDT)
Dave Anderson <anderson at redhat.com> wrote:
> > Sounds good. So what about introducing a new macro LIVE() that
> > indicates that the dump or live system is inconsistent.
>
> Good idea -- queued for crash-6.0.6.
There is another ACTIVE() call in s390x.c that should be changed to
LIVE(). When issuing "bt" on a running task on a live system, we
currently write "(active)".
This should also be done for live dumps:
---
s390x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/s390x.c
+++ b/s390x.c
@@ -1092,7 +1092,7 @@ static void s390x_back_trace_cmd(struct
* Print lowcore and print interrupt stacks when task has cpu
*/
if (s390x_has_cpu(bt)) {
- if (ACTIVE()) {
+ if (LIVE()) {
fprintf(fp,"(active)\n");
return;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash-6.0.5-s390x-add-live-check.patch
Type: text/x-patch
Size: 342 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120423/3b023752/attachment.bin>
More information about the Crash-utility
mailing list