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 runtime/2497] New: STP_STRING_SIZE set by stap is too small


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.


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