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] | |
On Fri, Nov 25, 2011 at 02:57:28PM +0100, Mark Wielaard wrote:
> I noticed the compiled printf support does bloat the generated src.c
> file a bit for things like:
> stap -e 'probe process("/bin/ls").function("*")
> { printf("%s(%s)\n", probefunc(), $$parms) }'
>
> It produces with stap 1.6 a 781K .c source file and a 1.2M .ko file.
> and with stap git trunk a 1.1M .c source file and a 1.5M .ko file.
On irc Frank asked for a -t comparison. See attached.
It looks like the probe overhead is often hundreds of cycles lower.
But Pass 4 get more than a second slower.
Cheers,
Mark
Attachment:
stap-1.6.out
Description: Text document
Attachment:
stap-git.out
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |