Bug 2677 - stp_symbol_sprint should have simple variant
Summary: stp_symbol_sprint should have simple variant
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: runtime (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Josh Stone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-20 14:19 UTC by Frank Ch. Eigler
Modified: 2006-05-24 20:09 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2006-05-20 14:19:35 UTC
The new probefunc() routine in tapset/context.stp has to post-process
the output of stp_symbol_sprint() because the former only wants the
function name and not the other numeric data.  A variant of stp_symbol_sprint
should be created that just returns the function name alone, and context.stp
should use that instead.
Comment 1 Frank Ch. Eigler 2006-05-20 14:21:28 UTC
While at it, the "String" runtime data type should not be used - it
can just take a char* and length like snprintf.
Comment 2 Josh Stone 2006-05-24 20:09:02 UTC
Fix committed
runtime/sym.c  r1.9
tapset/context.stp  r1.22