From 35d10275427cf07d62642d00b6d49f470c9d7277 Mon Sep 17 00:00:00 2001 From: "Keith W. Campbell" Date: Wed, 15 Jan 2025 11:30:38 -0500 Subject: [PATCH] Describe maxstringlength in -Xtrace:help output Signed-off-by: Keith W. Campbell --- runtime/rastrace/trcengine.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runtime/rastrace/trcengine.c b/runtime/rastrace/trcengine.c index 78680dea0c6..ef45c1b5787 100644 --- a/runtime/rastrace/trcengine.c +++ b/runtime/rastrace/trcengine.c @@ -933,6 +933,11 @@ static void displayTraceHelp(J9JavaVM *vm) j9tty_err_printf(PORTLIB, " resumecount=nn Trigger count for \"trace resume\"\n"); j9tty_err_printf(PORTLIB, " output=filespec[,nnm[,generations]] Sends maximal and minimal trace to a file\n"); j9tty_err_printf(PORTLIB, " exception.output=filespec[,nnnm] Sends exception trace to a file\n"); + j9tty_err_printf(PORTLIB, " maxstringlength=nn Limit length of string values to capture\n"); + j9tty_err_printf(PORTLIB, " " + "Maximum " J9_STR(RAS_MAX_STRING_LENGTH_LIMIT) + ", use 0 to disable." + " Default: " J9_STR(RAS_MAX_STRING_LENGTH_DEFAULT) "\n"); j9tty_err_printf(PORTLIB, " stackdepth=nn Set number of frames output by jstacktrace trigger action\n"); j9tty_err_printf(PORTLIB, " sleeptime=nnt Time delay for sleep trigger action\n"); j9tty_err_printf(PORTLIB, " Recognised suffixes: ms (milliseconds), s (seconds). Default: ms\n");