This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: some questions about systemtap
- From: Arnaldo Carvalho de Melo <acme at redhat dot com>
- To: zshan <zshan at cse dot buaa dot edu dot cn>
- Cc: Peter Teoh <htmldeveloper at gmail dot com>, William Cohen <wcohen at redhat dot com>, "Frank Ch. Eigler" <fche at redhat dot com>, SystemTAP <systemtap at sources dot redhat dot com>, Don Domingo <ddomingo at redhat dot com>, haoqf <haoqf at buaa dot edu dot cn>, ææé <haoqinfen at gmail dot com>
- Date: Tue, 25 Nov 2008 08:00:46 -0200
- Subject: Re: some questions about systemtap
- References: <200811250222241096246@cse.buaa.edu.cn> <804dabb00811250020m3562b357s340b66f69b53eaf5@mail.gmail.com>
Em Tue, Nov 25, 2008 at 04:20:39PM +0800, Peter Teoh escreveu:
> kernel path tracing is what systemtap is good at, for for TCP -
> evolution of stack trace indicate something of the kernel path
> traversed:
<SNIP>
> but for time measurement...u need another tool, possibly some network
> benchmarking tool.
>
> 2008/11/25 zshan <zshan@cse.buaa.edu.cn>:
> > Hello,
> >
> > I and my mentor Mr hao ïcc-ed in the mail ïwant to research on is the
> > network I/O, which including dececting the network I/O path and the time
> > each process takes durning one network I/O request .
> >
> > We wonder whether it is feasible ?
> >
> > Any ideas ?
Something like this? For the TCP receive path as seen from functions
that have pointers to struct sock instances:
http://oops.ghostprotocols.net:81/acme/dwarves/callgraphs/sock/0xf61bf500/
More on
http://oops.ghostprotocols.net:81/acme/dwarves/callgraphs/
For dccp, that shares a lot of infrastructure with TCP:
http://oops.ghostprotocols.net:81/ostra/dccp/tx/
http://oops.ghostprotocols.net:81/ostra/dccp/rx/
It generates a systemtap script to insert the hooks at function
entry/exit and uses some postprocessing tools to generate the HTML + CSS
callgraphs, read about it at:
http://git.kernel.org/?p=linux/kernel/git/acme/pahole.git;a=blob_plain;f=README.ctracer
- Arnaldo