public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* too many transport failure
@ 2011-04-01  0:40 Zhiwei Ying
  2011-04-01  1:35 ` Josh Stone
  0 siblings, 1 reply; 8+ messages in thread
From: Zhiwei Ying @ 2011-04-01  0:40 UTC (permalink / raw)
  To: systemtap

Hi,

I am tracing a driver module to understand the call flow. In general I
will trace every function in the module.

probe module("xxx").function("*@*.c").call
{
        printf("D %s %s\n", thread_indent(1), pp())
}
probe module("xxx").function("*@*.c").return
{
        printf("D %s %s\n", thread_indent(-1), probefunc())
}


The log looks like
D      0 Audio_Timing(1245):
module("xxx").function("video_pvt_atc_check_render_health@/home/zhiwei/zhiwei-work/working_copy/otm/trunk/sshg/video/core/i686-linux-kernel/videedio_timing_control.c:1968").call

I run the code on a develop board, it reports many many "transport
failure", something like 500000+. I tried to increase the buf size for
staprun, but since there is not too much memory, only ~50M memory
could be used as the buffer for staprun, I can reduce some "transport
failure" to 200000+, the result is still not satisfied.
In this situation how can I reduce the "transport failure" to near
zero? I can tolerate some performance penalty.

pp() will print a long string, thought that consumes a lot of buffer.
Does systemtap has a ppid(), only print the function address? And
provide a map between ppid() and pp() offline, so I can restore the
pp() information offline.

Any help is appreciated.

Thanks,
Zhiwei

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-04-06  1:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-01  0:40 too many transport failure Zhiwei Ying
2011-04-01  1:35 ` Josh Stone
2011-04-01  9:10   ` Zhiwei Ying
2011-04-01 10:45     ` Adrien Kunysz
2011-04-01 18:18     ` Josh Stone
2011-04-01 19:48   ` Frank Ch. Eigler
2011-04-01 20:07     ` Josh Stone
2011-04-06  1:33       ` Zhiwei Ying

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).