From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30366 invoked by alias); 31 Mar 2006 14:49:34 -0000 Received: (qmail 30324 invoked by uid 48); 31 Mar 2006 14:49:32 -0000 Date: Fri, 31 Mar 2006 14:49:00 -0000 Message-ID: <20060331144932.30321.qmail@sourceware.org> From: "guanglei at cn dot ibm dot com" To: systemtap@sources.redhat.com In-Reply-To: <20060330093952.2497.guanglei@cn.ibm.com> References: <20060330093952.2497.guanglei@cn.ibm.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/2497] 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/msg00912.txt.bz2 ------- 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.