e1adf50c175098121bb2d0ddc73adb34d502328eahl * CDDL HEADER START
e1adf50c175098121bb2d0ddc73adb34d502328eahl * The contents of this file are subject to the terms of the
e1adf50c175098121bb2d0ddc73adb34d502328eahl * Common Development and Distribution License (the "License").
e1adf50c175098121bb2d0ddc73adb34d502328eahl * You may not use this file except in compliance with the License.
e1adf50c175098121bb2d0ddc73adb34d502328eahl * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e1adf50c175098121bb2d0ddc73adb34d502328eahl * See the License for the specific language governing permissions
e1adf50c175098121bb2d0ddc73adb34d502328eahl * and limitations under the License.
e1adf50c175098121bb2d0ddc73adb34d502328eahl * When distributing Covered Code, include this CDDL HEADER in each
e1adf50c175098121bb2d0ddc73adb34d502328eahl * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e1adf50c175098121bb2d0ddc73adb34d502328eahl * If applicable, add the following below this CDDL HEADER, with the
e1adf50c175098121bb2d0ddc73adb34d502328eahl * fields enclosed by brackets "[]" replaced with your own identifying
e1adf50c175098121bb2d0ddc73adb34d502328eahl * information: Portions Copyright [yyyy] [name of copyright owner]
e1adf50c175098121bb2d0ddc73adb34d502328eahl * CDDL HEADER END
e1adf50c175098121bb2d0ddc73adb34d502328eahl * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
e1adf50c175098121bb2d0ddc73adb34d502328eahl * Use is subject to license terms.
e1adf50c175098121bb2d0ddc73adb34d502328eahl#pragma ident "%Z%%M% %I% %E% SMI"
e1adf50c175098121bb2d0ddc73adb34d502328eahl * ASSERTION: Make sure nfsv3 provider probes are firing, and that the
e1adf50c175098121bb2d0ddc73adb34d502328eahl * arguments are properly visible.
e1adf50c175098121bb2d0ddc73adb34d502328eahl * SECTION: nfs3 provider
e1adf50c175098121bb2d0ddc73adb34d502328eahl printf("noi_cred->cr_uid: %d\n", args[1]->noi_cred->cr_uid);
e1adf50c175098121bb2d0ddc73adb34d502328eahl printf("noi_cred->cr_uid: %d\n", args[1]->noi_cred->cr_uid);
e1adf50c175098121bb2d0ddc73adb34d502328eahl printf("%d ops seen, latest op is %s\n", numberseen, probename);
e1adf50c175098121bb2d0ddc73adb34d502328eahl printf("%d nfsv3 ops seen; should be 22\n", numberseen);