From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13146 invoked by alias); 30 Mar 2006 09:39:55 -0000 Received: (qmail 13119 invoked by uid 48); 30 Mar 2006 09:39:53 -0000 Date: Thu, 30 Mar 2006 09:39:00 -0000 From: "guanglei at cn dot ibm dot com" To: systemtap@sources.redhat.com Message-ID: <20060330093952.2497.guanglei@cn.ibm.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/2497] New: STP_STRING_SIZE set by stap is too small X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00893.txt.bz2 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.