This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/10486] raise default MAXSTRINGLEN on 64-bit hosts


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]