WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 1 of 5] xenctx: recognize also -S option for --stack-

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 1 of 5] xenctx: recognize also -S option for --stack-trace
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Mon, 20 Jun 2011 17:26:57 +0200
Delivery-date: Mon, 20 Jun 2011 08:27:36 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1308583620; l=1114; s=domk; d=aepfle.de; h=To:From:Date:References:In-Reply-To:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:X-RZG-CLASS-ID: X-RZG-AUTH; bh=I+LtudTmW5j49vwsa5hzeVpawZQ=; b=sKpSfh8HGxkgeE63BmbYjpSg5+1otZBHCUS0NsBkH2yDgq/339PllTSlRT09aF/0w5F xYkKRH8I78XYTPai5W/OyU6dgYbZLz/rLNnYCX2EDFG2ye6s8tPXBvpFOKHW5RtKOWGt9 bFlTDUpPRLtfEsoaWlxXoJF5ZFufCgBfjYA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1308583616@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1308583616@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.7.5
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1308312572 -7200
# Node ID 434e772168bc2208e1b9219d690b5e4909b552a7
# Parent  eca057e4475ca455ec36f962b9179fd2c9674196
xenctx: recognize also -S option for --stack-trace

Update help text.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

diff -r eca057e4475c -r 434e772168bc tools/xentrace/xenctx.c
--- a/tools/xentrace/xenctx.c   Fri Jun 17 08:08:13 2011 +0100
+++ b/tools/xentrace/xenctx.c   Fri Jun 17 14:09:32 2011 +0200
@@ -924,7 +924,7 @@ static void usage(void)
     printf("                    frame pointers.\n");
     printf("  -s SYMTAB, --symbol-table=SYMTAB\n");
     printf("                    read symbol table from SYMTAB.\n");
-    printf("  --stack-trace     print a complete stack trace.\n");
+    printf("  -S --stack-trace  print a complete stack trace.\n");
     printf("  -k, --kernel-start\n");
     printf("                    set user/kernel split. (default 
0xc0000000)\n");
 #ifdef __ia64__
@@ -938,7 +938,7 @@ static void usage(void)
 int main(int argc, char **argv)
 {
     int ch;
-    static const char *sopts = "fs:hak:"
+    static const char *sopts = "fs:hak:S"
 #ifdef __ia64__
         "r:"
 #endif

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel