]> arthur.barton.de Git - netatalk.git/commit
Add dtrace provider 'afp' and dtrace probes
authorRalph Boehme <sloowfranklin@gmail.com>
Mon, 11 Feb 2013 13:42:12 +0000 (14:42 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Tue, 19 Feb 2013 17:50:12 +0000 (18:50 +0100)
commitdfae8b42d7696b7a845ae9ac8198656d288f05f3
tree6983782a358ca3f11307cb25d97643a82167905b
parent22ad101eb72bf10fe5144526209798c677b2d1d8
Add dtrace provider 'afp' and dtrace probes

There are three dtrace probes:
- all AFP functions, passing the function name as argument
- AFP read and write, passing the IO size as argument
- all CNID functions

In order to be able to simply differintiate between disk IO and
network IO, replace all occurences of read and write on sockets
with send/recv, and replace the use of writev in the logging code
with two calls to write.
As a result, using dtrace probes for read() and write() syscalls
can be used to gather metrics for disk IO, while probing send(),
recv() and writev() probe network IO.
22 files changed:
Makefile.am
NEWS
configure.ac
etc/afpd/Makefile.am
etc/afpd/afp_dsi.c
etc/afpd/appl.c
etc/afpd/catsearch.c
etc/afpd/directory.c
etc/afpd/enumerate.c
etc/afpd/file.c
etc/afpd/filedir.c
etc/afpd/fork.c
include/atalk/.gitignore
include/atalk/Makefile.am
include/atalk/afp_dtrace.d [new file with mode: 0644]
include/atalk/globals.h
libatalk/dsi/dsi_stream.c
libatalk/util/logger.c
libatalk/util/socket.c
macros/netatalk.m4
macros/summary.m4
test/afpd/Makefile.am