This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/2497] New: 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: 30 Mar 2006 09:39:53 -0000
- Subject: [Bug runtime/2497] New: STP_STRING_SIZE set by stap is too small
- Reply-to: sourceware-bugzilla at sourceware dot org
Hi,
If you use:
log(backtrace( ))
in your codes, you will find that in many cases the result string will be
truncated.
I found it is due to the following codes generated by translator:
...
#ifndef MAXSTRINGLEN
#define MAXSTRINGLEN 128
...
#define STP_STRING_SIZE MAXSTRINGLEN
so STP_STRING_SIZE is set to 128, and this is obviously too small for some
underlying transport functions.
--
Summary: STP_STRING_SIZE set by stap is too small
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: guanglei at cn dot ibm dot com
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.