Print this page
NEX-1643 dtrace provider for smbsrv
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
*** 19,28 ****
--- 19,30 ----
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright 2017 Nexenta Systems, Inc. All rights reserved.
*/
/*
* The seek message is sent to set the current file pointer for FID.
* This request should generally only be used by clients wishing to
*** 78,95 ****
* current file pointer to the start of the file.
*/
smb_sdrc_t
smb_pre_seek(smb_request_t *sr)
{
! DTRACE_SMB_1(op__Seek__start, smb_request_t *, sr);
return (SDRC_SUCCESS);
}
void
smb_post_seek(smb_request_t *sr)
{
! DTRACE_SMB_1(op__Seek__done, smb_request_t *, sr);
}
smb_sdrc_t
smb_com_seek(smb_request_t *sr)
{
--- 80,97 ----
* current file pointer to the start of the file.
*/
smb_sdrc_t
smb_pre_seek(smb_request_t *sr)
{
! DTRACE_SMB_START(op__Seek, smb_request_t *, sr);
return (SDRC_SUCCESS);
}
void
smb_post_seek(smb_request_t *sr)
{
! DTRACE_SMB_DONE(op__Seek, smb_request_t *, sr);
}
smb_sdrc_t
smb_com_seek(smb_request_t *sr)
{