From 093e00573f01a753b1c94f8d8bc5ba2e2289464d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 7 Apr 2009 15:53:37 +0000 Subject: [PATCH] * Added --stacktrace to the flat list of options. * Removed superfluous and uncommon '"' around options. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29997 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/debug/tracing.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/system/kernel/debug/tracing.cpp b/src/system/kernel/debug/tracing.cpp index 94aa88b19f..83a8b752b2 100644 --- a/src/system/kernel/debug/tracing.cpp +++ b/src/system/kernel/debug/tracing.cpp @@ -1,6 +1,6 @@ /* * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de. - * Copyright 2008, Axel Dörfler, axeld@pinc-software.de. + * Copyright 2008-2009, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. */ @@ -1228,9 +1228,10 @@ tracing_init(void) add_debugger_command_etc("traced", &dump_tracing_command, "Dump recorded trace entries", - "[ \"--printteam\" ] [ \"--difftime\" ] (\"forward\" | \"backward\") " + "[ --printteam ] [ --difftime ] [ --stacktrace ] " + "(\"forward\" | \"backward\") " "| ([ [ [ ] ] ] " - "[ # | (\"filter\" ) ])\n" + "[ # | (\"filter\" ) ])\n" "Prints recorded trace entries. If \"backward\" or \"forward\" is\n" "specified, the command continues where the previous invocation left\n" "off, i.e. printing the previous respectively next entries (as many\n" @@ -1238,9 +1239,9 @@ tracing_init(void) "afterwards entering an empty line in the debugger will reinvoke it.\n" "If no arguments are given, the command continues in the direction\n" "of the last invocation.\n" - "\"--printteam\" enables printing the entries' team IDs.\n" - "\"--difftime\" print difference times for all but the first entry.\n" - "\"--stacktrace\" print stack traces for entries that captured one.\n" + "--printteam - enables printing the entries' team IDs.\n" + "--difftime - print difference times for all but the first entry.\n" + "--stacktrace - print stack traces for entries that captured one.\n" " - The base index of the entries to print. Depending on\n" " whether the iteration direction is forward or\n" " backward this will be the first or last entry printed\n"