ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * This file and its contents are supplied under the terms of the
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * Common Development and Distribution License ("CDDL"), version 1.0.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * You may only use this file in accordance with the terms of version
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * 1.0 of the CDDL.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * A full copy of the text of the CDDL should have accompanied this
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * source. A copy of the CDDL is also available via the Internet at
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * User-level dtrace for smbd
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * Usage: dtrace -s smbd-doorsvc.d -p `pgrep smbd`
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * smbd_door_dispatch_op() is the logical top of smbd door service calls.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * If traced and not masked, print entry/return
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * Mask (don't print) all function calls below these functions.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * These make many boring, repetitive function calls like
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * smb_mbtowc, smb_msgbuf_has_space, ...
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * Now inverses of above, unwind order.