nfsattrstats (246e7a2b6494cd991b08ac669ed761ecea0cc98c) nfsattrstats (c1eb4109f3b1d90a9c1538179ea6a52a191899b2)
1#!/usr/sbin/dtrace -s
2/*
3 * Copyright (c) 2012 Robert N. M. Watson
4 * All rights reserved.
5 *
6 * This software was developed at the University of Cambridge Computer
7 * Laboratory with support from a grant from Google, Inc.
8 *

--- 42 unchanged lines hidden (view full) ---

51}
52
53syscall:::return
54{
55
56 self->syscallname = "";
57}
58
1#!/usr/sbin/dtrace -s
2/*
3 * Copyright (c) 2012 Robert N. M. Watson
4 * All rights reserved.
5 *
6 * This software was developed at the University of Cambridge Computer
7 * Laboratory with support from a grant from Google, Inc.
8 *

--- 42 unchanged lines hidden (view full) ---

51}
52
53syscall:::return
54{
55
56 self->syscallname = "";
57}
58
59nfsclient:::
59nfscl:::
60/self->syscallname != 0 && self->syscallname != ""/
61{
62
63 printf("%s\t%s\t%s\t%s\n", probemod, stringof(arg0), execname,
64 self->syscallname);
65}
66
60/self->syscallname != 0 && self->syscallname != ""/
61{
62
63 printf("%s\t%s\t%s\t%s\n", probemod, stringof(arg0), execname,
64 self->syscallname);
65}
66
67nfsclient:::
67nfscl:::
68/self->syscallname == 0 || self->syscallname == ""/
69{
70
71 printf("%s\t%s\t%s\t%s\n", probemod, stringof(arg0), execname,
72 self->syscallname);
73}
68/self->syscallname == 0 || self->syscallname == ""/
69{
70
71 printf("%s\t%s\t%s\t%s\n", probemod, stringof(arg0), execname,
72 self->syscallname);
73}