This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10486] raise default MAXSTRINGLEN on 64-bit hosts
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 6 Aug 2009 21:20:26 -0000
- Subject: [Bug translator/10486] raise default MAXSTRINGLEN on 64-bit hosts
- References: <20090805200543.10486.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mjw at redhat dot com 2009-08-06 21:20 -------
yes please!
We already have multiple testcase in our own testsuite that have to raise the
MAXSTRINGLEN just to have enough space for a couple of backtrace entries.
It would even be good if we could raise the length for 32 bit arches also. For
example for tracing some java stuff you easily exceed 128 characters just trying
to store or report a method signature (an example from the standard library:
'java/util/WeakHashMap$Entry.<init>(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;ILjava/util/WeakHashMap$Entry;)V')
I thought one reason for the small limit was that we used to stack allocate
strings in some places. But we don't do that anymore.
If we could raise the limit for 32bit to 256 and for 64bit to 512 chars that
would be great.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10486
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.