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] STP_STRING_SIZE set by stap is too small


------- 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.


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