This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/2497] STP_STRING_SIZE set by stap is too small
- From: "guanglei at cn dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 31 Mar 2006 14:49:32 -0000
- Subject: [Bug runtime/2497] STP_STRING_SIZE set by stap is too small
- References: <20060330093952.2497.guanglei@cn.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From guanglei at cn dot ibm dot com 2006-03-31 14:49 -------
> So now if I want to print backtrace or want some large _stp_string inside my
> codes, I can:
> stap -D STP_STRING_SIZE=2048 ...
> I tested it and it worked well for me.
sorry, forgot to mention that the 'it' refers to LKET.
backtrace() will still be truncated because of the limitations of its return
value(type of string_t).
So if a use want the complete backtrace to be stored in a large string buffer,
he can use the embedded c code.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2497
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.