smbd-all.d revision ed81dd52230eff1a7c7625caad21af232c36f6cb
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. Watch everything it does.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * Usage: dtrace -s smbd-all.d -p `pgrep smbd`
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * Trace everything in smbd
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 * Also, libmlrpc has rather deep call stacks, particularly under
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * ndr_encode_decode_common(), so this stops traces below there.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * Remove that from the mask actions to see the details.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * Get some of the smbd debug messages, etc.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk * Now inverses of above, unwind order.