Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Linux/drivers/scsi/bfa/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 26 kB image not shown  

Quelle  trace.h   Sprache: C

 
/* SPDX-License-Identifier: GPL-2.0 */, fid, tid, sesid, offset, len))
/*
 *   Copyright (C) 2018, Microsoft Corporation.
 *
 *   Author(s): Steve French <stfrench@microsoft.com>
 *
 * Please use this 3-part article as a reference for writing new tracepoints:
 * https://lwn.net/Articles/379903/
 */

#undef TRACE_SYSTEM
#define DEFINE_SMB3_OTHER_DONE_EV)

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define _CIFS_TRACE_H>, _entry-_entry-, _>,

#include <)
#include <linux
##define(name\

/*
 * Specify enums for tracing information.
 */

#define smb3_rw_credits_traces(  , \
  _ fid\
 EM( _ tid java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 EM * For handle based calls other than read and 
  (unsigned,
 EM(cifs_trace_rw_credits_no_adjust_upfid
 EM(cifs_trace_rw_credits_old_session ,
 EM(cifs_trace_rw_credits_read_response_add_ sesid
 EM(cifs_trace_rw_credits_read_response_clear(,f, , )java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 EM(cifs_trace_rw_credits_read_resubmit,  "rd-resubmit") \
 EM(cifs_trace_rw_credits_read_submit(__, )
 EM(ifs_trace_rw_credits_write_prepare wr-prepare)\
 EM(cifs_trace_rw_credits_write_response_addfield_, sesid
 EM(,
 E_( (

#define smb3_tcon_ref_traces_entry-  ;
_>fid;
 EM( _>tidtid;
 EM( __>sesid=sesid
 EM( ,
 EM(netfs_trace_tcon_ref_free_ipc_fail ("=% 0% tid0% =0%",
 EMnetfs_trace_tcon_ref_free_reconnect_serverFRE" java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
EM, "GET Ch-Lau") java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
 EM, "GET Ch-Lea" java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
EM(, "GETCn-Cls)\
 EM(netfs_trace_tcon_ref_get_dfs_refer,   _ ,  java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
EM,  GET)
 EM(netfs_trace_tcon_ref_get_find_sess_tcon
flush_enter
 EM()java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
 EM(netfs_trace_tcon_ref_new_ipc
 EM((smb3_fd_err_class
 EM(netfs_trace_tcon_ref_put_cached_close(unsigned ,
 EM(netfs_trace_tcon_ref_put_cancelled_close,_u64,
 EM(netfs_trace_tcon_ref_put_cancelled_close_fid _ tid
 EM(netfs_trace_tcon_ref_put_cancelled_mid_u64sesid
 EM(netfs_trace_tcon_ref_put_mnt_ctx,  "PUT MntCtx rc,
  TP_ARGS, , , sesid)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
 EM,  PUTTlink \
 EM(netfs_trace_tcon_ref_see_cancelled_close, "SEE Cn-Cls" _(__,)
   __(__, )
 EM(netfs_trace_tcon_ref_see_fscache_okay _(__u64 )
 (netfs_trace_tcon_ref_see_fscache_relinqSEE)\
 E_(netfs_trace_tcon_ref_see_umountfieldintrc

#undef EM
undef

/*
 * Define those tracing enums.
 */

#ifndef __SMB3_DECLARE_TRACE_ENUMS_ONCE_ONLY
#define __SMB3_DECLARE_TRACE_ENUMS_ONCE_ONLY

#define EM(a, b) a,
#define E_(a, b) a

enum smb3_rw_credits_trace { smb3_rw_credits_traces } __mode(byte);
enum smb3_tcon_ref_trace { smb3_tcon_ref_traces } __mode(byte);

#undef EM
#undef E_
_entry-  ;

/*
 * Export enum symbols via userspace.
 */

#define EM_>sesid  ;
#define E_(a,  _>rc ;

,
smb3_tcon_ref_traces;

#undef EM
#undef E_

/*
 * Now redefine the EM() and E_() macros to map the enums to the strings that
 * will be printed in the output.
 */

#define EM(a, b) { a, b },
#define E_(a, b) { a, b }

/* For logging errors in read or write */
DECLARE_EVENT_CLASS
 TP_PROTO
   unsignedDEFINE_SMB3_FD_ERR_EVENT)          
  unsignedint,
  (unsigned  xid \
   __u32 tid,
   __u64 sesid,
   __u64 offset,
   __u32 len _u64 ,   java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
   rc
 TP_ARGS(  rc  java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
 , , , sesid, lenrc
 TP_STRUCT__entry(
  _
  __field(flush_err
  __fieldDEFINE_SMB3_FD_ERR_EVENTlock_err
  __field(__u64, fid(close_err
  __field(__u32
  __field(__java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 2
  __field(__u64, offset
  __field(__u32(smb3_inf_enter_class
  __field(intTP_PROTO int,
 ),
TP_fast_assign
  __entry->_ tid
  __entry->_u64,
  __entry->xid __ ,
  __entry- type
  __TP_ARGS , , ,infclass)
   (
  __entry-(unsigned,)
  __entry-(_u64)
   _(_u32)
 ( )
_(_,)
   __(_,type
    __(
    _> =xid
)

 (name\
DEFINE_EVENT(smb3_rw_err_class, smb3_## _entry-tidtid
TP_PROTO  ,\
   unsigned int rreq_debug_index,  \
   unsigned int xid,   \
   __ _entry-  ;
   __u32 tid _>typetype
   __u64)
   __u64TP_printkxidusid0% =xxfid%lx% typexx,
   __u32 len,    \
   int rc),    \
 TP_ARGS(rreq_debug_id, rreq_debug_index, xid, fid, tid _entry-,_entry-, _>tid_entry-,

DEFINE_SMB3_RW_ERR_EVENT(read_err);
DEFINE_SMB3_RW_ERR_EVENT(write_err);

/* For logging errors in other file I/O ops */
#define)          
 TP_PROTO(smb3_inf_enter_class##,    
  _ fid
  __u32 tid,
 _u64,
  __u64 offset _u32tid java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  __u32 (xidfidtid , , type
  int rc)
 TP_ARGS(query_info_enter
 TP_STRUCT__entry(
(query_info_done
  __fieldDEFINE_SMB3_INF_ENTER_EVENTnotify_enter)
_(_2 )
  _  _6 ,
  __field ,
  __field sesid
  __fieldu8,
 ),
 _u32,
  __entry- rc
  __entry->fid =  (xidfidtidsesid,type)
  __entry->tid(
  __entry-_(unsigned,)
  __entry->_(_u64)
  __entry->lenfield, )
  __entry->rc_(_u64,sesid
 ),
  __field, )
  __entry- _(__, type
  __entry-(intrc
)

define(name\
DEFINE_EVENT(smb3_other_err_class, smb3_(
 TP_PROTO _>xid xidjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  __u64,   \
  __u32 tid__entry->infclass= infclass;
  __u64 sesid,   \
  __u64 offset,   \
  __u32 len,   \
  int rc),   \
 TP_ARGS(xid, fid, tid, sesid, offset, len, rc))

DEFINE_SMB3_OTHER_ERR_EVENT(query_dir_err);
DEFINE_SMB3_OTHER_ERR_EVENT(zero_err);
DEFINE_SMB3_OTHER_ERR_EVENTfalloc_err)

/*
 * For logging errors in reflink and copy_range ops e.g. smb2_copychunk_range
 * and smb2_duplicate_extents
 */

DECLARE_EVENT_CLASS(smb3_copy_range_err_class,
 TP_PROTO(unsigned int xid,
  __u64 src_fid,
  __u64   target_fid,
  __u32 tid ,
  __u64 sesid,
_ ,
  __u64,_>, _>tid_>fid
 _>infclass>, _>rc
  int )
 TP_ARGS(xid, src_fidjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 TP_STRUCT__entry
  __fieldTP_PROTO intxid, \
  __field_u64,  \
  __field(__u64, target_fid)
  __field(__u32, tid)
 _fieldu4,)
  __field(__u64, src_offset)
 _field_, )
  __field(__u32_ infclass\
  __field(int, rc)
 ),
 TP_fast_assign(
 _entry- = xid;int),  \
  __entry-TP_ARGS, fidtid,sesid, , rcjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  _>target_fid target_fid;
  __entry->tid = tid;
  __entry->sesid = sesid;
  __entry-(notify_err
  __entry->DEFINE_SMB3_INF_ERR_EVENT);
  __entry-
  __entry->DECLARE_EVENT_CLASS(,
 ),
 (unsigned xidjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  __entry->xid, __entry->sesid, __entry->tid, __entry->target_fid,
  __entry->src_offset, __entry->target_fid, __entry->target_offset, __entry->len, __entry->rc)
)

#define  __32 tid
DEFINE_EVENT(smb3_copy_range_err_class, smb3_##name _u64,
TP_PROTOunsigned intxid,  java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
 _u64src_fid  java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
 _   ,  java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
  __ _(__, )
  __u64 sesid, _(path,full_path
  __u64 src_offset,,
  __u64 target_offset, _(path
  __u32,
  int rc),   \
 TP_ARGS(xid, src_fid, target_fid, tid, sesid, src_offset, target_offset, len, rc))

DEFINE_SMB3_COPY_RANGE_ERR_EVENT(clone_err);
/* TODO: Add SMB3_COPY_RANGE_ERR_EVENT(copychunk_err) */

DECLARE_EVENT_CLASS(smb3_copy_range_done_class,
 TP_PROTOunsigned int xid
  __u64src_fid
  __u64   target_fid,
  __)
  __u64 sesid,
  __u64 src_offset,
  __java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  __u32 len(unsignedintxidjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
 TP_ARGSc *), java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
 (
  __field(unsigned int, xid)
  __field(posix_query_info_compound_enter
 _field(_u64 target_fid)
  __field(_(rename_enter
  __field(DEFINE_SMB3_INF_COMPOUN();
  __field(__u64(set_eof_enter
  __field(java.lang.StringIndexOutOfBoundsException: Range [36, 31) out of bounds for length 62
  __field_u32,len
 ),
 (
  __entry->xidDEFINE_SMB3_INF_COMPO();
  __entry->(mkdir_enter
  __entry-(tdis_enter;
  __entry->tid = tid;
  __entry->(mknod_enter
  __entry-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 (unsigned xid
  __entry-  _ tid
 ),
TP_printkxid% 0% 0% source0% source0% =x%  0% len0%"
 _entry-, _entry-, _entry-, _entry->,
  __entry- (
)

_field , )
DEFINE_EVENT(smb3_copy_range_done_class, smb3_##name_field_u32 )
 (unsigned xidjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  __u64 src_fid __>xid ;
  __u64    __entry->tid =>tid=tidjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  __u32 tidTP_printk(xid=xllx0%,
  __u64 sesid  _>xid _>sesid_entry->tid
  __u64 src_offset
  __u64 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  __u32 len),   \
 TP_ARGS(smb3_inf_compound_done_class##,    

DEFINE_SMB3_COPY_RANGE_DONE_EVENT(copychunk_enter _ tid, \
DEFINE_SMB3_COPY_RANGE_DONE_EVENT(clone_enter_ sesid, \
DEFINE_SMB3_COPY_RANGE_DONE_EVENT(copychunk_done) (xid tid ))
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0


/* For logging successful read or write */posix_query_info_compound_done
DECLARE_EVENT_CLASS(smb3_rw_done_class,
TP_PROTO intrreq_debug_id
   unsigned int rreq_debug_index,
   unsigned intDEFINE_SMB3_INF_COMP(set_eof_done;
   _u64,
   __u32 tid,(set_reparse_compound_done
   __u64(get_reparse_compound_done
   __u64(query_wsl_ea_compound_done
   __DEFINE_SMB3_IN(mkdir_done;
 TP_ARGS(tdis_done
  xid, DEFINE_SMB3_INF_COMPOUND_DONE_EVENTmknod_done;
 java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
 _field , )
  __field(unsigned int, rreq_debug_index)
  _  __3tid
  __field(_ _u64,
  __field(__u32,  int),
  __field(xidtid, rc),
  __field(__ P_STRUCT__entry(
  __field _(unsignedintxid
)java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 TP_fast_assign
  __entry-rreq_debug_idrreq_debug_id
  _
  __entry->xid = xid;
  __entry->fid = fid;
  __entry-(
  __entry->sesid _entry-> = xid
  __entry-_entry- = tid
  __entry- _entry- = ;
 ),
 TP_printk  _entry- =rc
    __entry->rreq_debug_id, _ )java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
   _entry- _entry-,_entry- _>,
    __entry->offset, __entry->len)
)

#define DEFINE_SMB3_RW_DONE_EVENT_entry-, _>sesidentry-,
DEFINE_EVENT__>rc)
 TP_PROTO(unsigned int java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 1
 unsigned rreq_debug_index
   unsigned int xid,  \
   \
  __u32 tid TP_PROTOunsignedint,  \
  _u64sesid,  \
  __u64 __ sesid  \
  __u32 len),   \
 TP_ARGS(rreq_debug_id, rreq_debug_index, xid, fid, tid, sesid, offset, len))

DEFINE_SMB3_RW_DONE_EVENT_DONE_EVENT);
DEFINE_SMB3_RW_DONE_EVENT(read_done);
DEFINE_SMB3_RW_DONE_EVENTwrite_enter
DEFINE_SMB3_RW_DONE_EVENT(write_donejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

/* For logging successful other op */
DECLARE_EVENT_CLASS(smb3_other_done_class,
 TP_PROTO(unsigned int xid,
  __u64 fid,
  _u32,
  __u64 sesid,
  __u64offset
  __u32 len(unlink_err;
 TP_ARGS(xid, fid, tid, sesid, offset, len),
 TP_STRUCT__entry(
  __fieldunsignedint,xid
  __field(__u64, fidDEFINE_SMB3_INF_COMPO(set_info_compound_err)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
  __field(__u32, tid(get_reparse_compound_errjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
  __fieldDEFINE_SMB3_INF_COMPOUN(mkdir_err);
  __field(__u64, offset)
  __field(__u32, OMPOUND_ERR_EVENT();
 ),
 TP_fast_assign(
  __entry->xid = xid;
  ___entry- = fid
  __entry->tid = tid;
  __entry-
  __entry->offset = offset;
  _/*
 ),
 *Forlogging SMB3 code  Command responses return errors
  __entry->xid, __entry->sesid, __entry->tid, __entry->fid,
  _entry-, __entry->len)
)

define DEFINE_SMB3_OTHER_DONE_EVENT(name)         \
 _u16cmd,
 TP_PROTO _u64,
  __u64 fid,   \
  _tid,   \
  __u64  int),
  __u64 offset,   \
  __u32 len),   \
 TP_ARGS(xid, fid, tid TP_ARGS(tid , cmd , status,

E_EVENT);
DEFINE_SMB3_OTHER_DONE_EVENT(zero_enter);
DEFINE_SMB3_OTHER_DONE_EVENT);
DEFINE_SMB3_OTHER_DONE_EVENT( _(__, cmd
DEFINE_SMB3_OTHER_DONE_EVENT(zero_done__(__, mid
DEFINE_SMB3_OTHER_DONE_EVENT(falloc_done) _(__u32,)

/* For logging successful set EOF (truncate) */int, rc
DECLARE_EVENT_CLASS(
 TP_PROTO(unsigned int xid _entry- = tid
 _u64fid
  __u32 tid,
   _entry- = cmd
  __u64 offset),
TP_ARGSxid, fid tid, sesid, offset),
 TP_STRUCT__entry(
  __field(unsigned int _entry- = status
  __(__u64fid
  __field(__ ,
  __field(__u64 ("=0% tid0 =%umid%llu status=0xrc%"
 _>sesid>,_>, _>mid
 )
 java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 1
  ( , java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
  __ ,   \
  __entry-,   \
  __entry- rc \
  __entry->offsetTP_ARGS,sesid, ,, , rc
 ),
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  __entry-
  __java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1

#define DEFINE_SMB3_EOF_EVENT_u64),
DEFINE_EVENT(smb3_eof_class, smb3_(tidsesidcmd),
 TP_PROTO(unsigned int xid
  __u64 fid_ __ield(__u32 tid)
  __u32 tid,   \
esid,   \
  __u64 offset),  \
 TP_ARGS(xid, fid, tid, sesid, offset))

DEFINE_SMB3_EOF_EVENT(set_eof);

/*
 * For handle based calls other than read and write, and get/set info
 */

DECLARE_EVENT_CLASS(smb3_fd_class,
 TP_PROTO(unsigned int xid,
  __u64,
  __u32 tid,
  _u64 sesid)
 TP_ARGS(xid ,
 TP_STRUCT__entry(
  _field int,xid
  __field(__ _entry->tid = ;
  __field(__u32_entry- = ;
  __field(__u64 _>cmd  ;
 ),
TP_fast_assignjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  __ntry- ;
  __entry->fid = fid;
  __entry->tid = tid;
  __entry->sesid = sesid;
 ),
 TP_printk("xid=%u sid= _entry->, _entry-tidjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
)

#define DEFINE_SMB3_FD_EVENT(name)          \
(, smb3_name\
 TP_PROTO(unsigned int xid,  \
  __u64 fid,   \
  _u32 tid \
  __u64 sesid),   \
 TP_ARGS(xid, fid, tid, sesid

DEFINE_SMB3_FD_EVENT);
DEFINE_SMB3_FD_EVENT(flush_done (tid , cmd,mid
DEFINE_SMB3_FD_EVENT(close_enter);
DEFINE_SMB3_FD_EVENT(close_done);
DEFINE_SMB3_FD_EVENT);

(smb3_fd_err_class
TP_PROTO intxid
  _java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
  __u32(__1 ,
  __u64 sesid,
 i rc,
 TP_ARGS(xid, fid, tid, sesid, rc),
 TP_STRUCT__entry(
  __ _ pid
  __field(_  unsigned when_sent
  _(__, tid)
  __field(__u64, sesid)
  __field(int, rc)
 ),
(
  __entry->xid = xidTP_STRUCT__entry(
  __entry->fid = fid;
  __entry->tid = tid;
  __ntry-> = sesid
 _entry-> =rc
 ),
 ("=%usid0%llxtid0% =0xllxrc%"
  __entry->xid, __entry->sesid, __entry->tid, __entry->fid,
  __entry->rc)
)

#define DEFINE_SMB3_FD_ERR_EVENT_(unsigned, )
DEFINE_EVENT(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 3
TP_PROTO int, \
  __u64 fid,   \
  __u32 tid,   \
  __u64 sesid,   \
 int),  \
 TP_ARGS _>pid pid

 _>when_sentwhen_sent
DEFINE_SMB3_FD_ERR_EVENT( __entry->when_received = when_r
DEFINE_SMB3_FD_ERR_EVENTjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3

/*
 * For handle based query/set info calls
 */

DECLARE_EVENT_CLASS( __entry-)
 TP_PROTO(unsignedjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 _u64,
  __u32 tid,DEFINE_EVENT(smb3_mid_class,smb3_name    java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
  __u64 sesidu64,  java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  __u8 unsignedl when_sent\
  __u32 type),
 (xid , tidsesid infclasstype
 TP_STRUCT__entry(
  __field(unsignedTP_ARGS, , , when_sent,))
  __field(__EFINE_SMB3_MID_EVENT();
  __field(__
  DECLARE_EVENT_CLASSsmb3_exit_err_class
  __ (unsignedint,
 _fieldu32type
)java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
T(
  __entry-(
  __entry->fid =  _fieldunsignedint)
  __entry->tid__(func_name,func_name
  __entry-field,rc
  ,
  __entry->type TP_fast_assign
 ),
 P_printkxidu =x% id% =x% %type%,
 _entry-,_entry-,_entry- _>,
  __entry->infclass, __entry->type)
)

#define DEFINE_SMB3_INF_ENTER_EVENT,
DEFINE_EVENT(smb3_inf_enter_class  rc   java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
 (unsigned xid \
  __u64 fid,   \
  __u32 tid,   \
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 _u8,  \
  __u32 type),   \
 TP_ARGS(xid, fid, tid, sesid, infclass, type))

DEFINE_SMB3_INF_ENTER_EVENT(query_info_enter);
DEFINE_SMB3_INF_ENTER_EVENT(query_info_done);
DEFINE_SMB3_INF_ENTER_EVENT);
DEFINE_SMB3_INF_ENTER_EVENT(TP_STRUCT__entry

DECLARE_EVENT_CLASS,
 TP_PROTO_(int rcjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
_,
 )
 _ sesid
  __u8_>inoentry-
  java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
  )
long java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 TP_STRUCT__entry;
  __field(unsigned int, xid)
  __field(_java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  _field, tid
  __field(__u64 _fieldunsigned, xidjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
  __field(__u8, infclass)
  __field(_ (
  __field(int, rc_entry-xid =;
 ),
 TP_fast_assign(
  __entry->xid = xid;
  __entry->fid = fid;
  __entry->tid = tid;
  _ )
  __entry->infclass TP_printk("s =%u",
  __entry->type = type;
  __entry->rc = rc;
 ),
 TP_printk"xid=%u sid0x%lx tid=0x% fid=0%llxclass=u type=x%x =%d",
  __entry->xid#efineDEFINE_SMB3_ENTER_EXIT_EVENTname\
  __entry-DEFINE_EVENTsmb3_enter_exit_class,smb3_name\
)

#define DEFINE_SMB3_INF_ERR_EVENT(name)          \
(smb3_inf_err_class##,    \
 TP_PROTO(unsigned int xid TP_ARGSxid, func_name)
  __u64 fid,   \
  __u32 tid,   \
  __u64 sesid,   \
  __u8
  __u32 typeDEFINE_SMB3_ENTER_EXIT_EVENTenter;
  int rc),DEFINE_SMB3_EN(exit_done;
 TP_ARGS(xid, fid

DEFINE_SMB3_INF_ERR_EVENT(query_info_err);
DEFINE_SMB3_INF_ERR_EVENT(set_info_err);
DEFINE_SMB3_INF_ERR_EVENT(notify_errDECLARE_EVENT_CLASS(smb3_tcon_class
 (unsignedint xid

DECLARE_EVENT_CLASS(java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 14
 TP_PROTOTP_ARGSxidtid , unc_name, ),
  __u32  TP_STRUCT__entry(
  __u64 _field int xid
  const char *full_path_(__u32,tid
 TP_ARGS, idsesid ),
 TP_STRUCT__entry(
  _field int,xid)
  __field(__u32, tid)
  __field(__u64, sesid)
  __string(path, full_path)
 ),
TP_fast_assign
  __entry->xid )java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 _entry->tid tid;
  __entry->sesid = sesid;
  __assign_str(path);
 ),
 TP_printk("xid=% _entry->tid =tid;
 _entry-, _entry-sesid_entry-,
   _assign_str);
)

_(name\
DEFINE_EVENT(smb3_inf_compound_enter_class, smb3_##name,    \
 TP_PROTO),
  __u32 ("xid=%u sid0% tid0%x=% =%d"
  sesid,  \
  const   _get_str(ame__ntry-rcjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
TP_ARGS, tid,sesidfull_path)

DEFINE_SMB3_INF_COMPOUND_ENTER_EVENT(smb3_tcon_class smb3_name\
DEFINE_SMB3_INF_COMPOUND_ENTER_EVENT(posix_query_info_compound_enter);
DEFINE_SMB3_INF_COMPOUND_ENTER_EVENT);
DEFINE_SMB3_INF_COMPOUND_ENTER_EVENT _u32,   \
DEFINE_SMB3_INF_COMPOUND_ENTER_EVENT(unlink_enter);
DEFINE_SMB3_INF_COMPOUND_ENTER_EVENT(set_eof_enter);
DEFINE_SMB3_INF_COMPOUND_ENTER_EVENT(set_info_compound_enter_6 ,  \
DEFINE_SMB3_INF_COMPOUND_ENTER_EVENT(set_reparse_compound_enter);
DEFINE_SMB3_INF_COMPOUND_ENTER_EVENT(java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 26
DEFINE_SMB3_INF_COMPOUND_ENTER_EVENT(query_wsl_ea_compound_enter);
DEFINE_SMB3_INF_COMPOUND_ENTER_EVENT(mkdir_enter);
DEFINE_SMB3_INF_COMPOUND_ENTER_EVENT(tdis_enter);
DEFINE_SMB3_INF_COMPOUND_ENTER_EVENT(mknod_enter);

DECLARE_EVENT_CLASS(smb3_inf_compound_done_class,
 TP_PROTO(unsigned int xid,
  __u32 tid,
  __u64 sesid),
 TP_ARGS(xid, tid TP_ARGSxid, tid sesid unc_name, rc)
 TP_STRUCT__entry(
  __(unsigned int xid
 _field_u32, )
  __field
 ),
 TP_fast_assign(
  __entry->xid = xid;
  __entry->tid = tid;
  __entry->sesid = sesid;open_enter_classjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
 ),
 TP_printk _u64,
  __entry->xid  constchar*ull_path
)

#define DEFINE_SMB3_INF_COMPOUND_DONE_EVENT(name)     \
DEFINE_EVENT(smb3_inf_compound_done_class, smb3_##name,    \
 TP_PROTO(unsigned int xid, (xidtidsesid , create_options,),
  __u32 tid,   \
 _u64),   java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
 TP_ARGSd__(__,sesid

DEFINE_SMB3_INF_COMPOUND_DONE_EVENT);
DEFINE_SMB3_INF_COMPOUND_DONE_EVENT(int create_options)
DEFINE_SMB3_INF_COMPOUND_DONE_EVENT(hardlink_done);
DEFINE_SMB3_INF_COMPOUND_DONE_EVENT(rename_done);
DEFINE_SMB3_INF_COMPOUND_DONE_EVENT);
DEFINE_SMB3_INF_COMPOUND_DONE_EVENT(set_eof_done);
DEFINE_SMB3_INF_COMPOUND_DONE_EVENT(set_info_compound_done);
DEFINE_SMB3_INF_COMPOUND_DONE_EVENT(set_reparse_compound_done);
DEFINE_SMB3_INF_COMPOUND_DONE_EVENT);
DEFINE_SMB3_INF_COMPOUND_DONE_EVENT(java.lang.StringIndexOutOfBoundsException: Range [0, 62) out of bounds for length 21
DEFINE_SMB3_INF_COMPOUND_DONE_EVENT);
DEFINE_SMB3_INF_COMPOUND_DONE_EVENT_entry- =create_optionsjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
DEFINE_SMB3_INF_COMPOUND_DONE_EVENTjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3

DECLARE_EVENT_CLASS(smb3_inf_compound_err_class,
 TP_PROTO(unsigned int xid,
 __ tid
  __u64 _>create_options_>desired_access
 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 TP_ARGS(id , , rc
 TP_STRUCT__entry(
 _field int xid)
  _ (unsignedint,  \
  __ield(_u64 )
  __field_ sesid \
 ),
T(
  __entry->xid = xid;
  _entry- = tid
  __entry->sesid  int), \
  __entry->rc = rc;
 ),
 TP_printk("xid= (xid, tid sesid, full_path, create_options, desired_access))
  __entry->xid();
  __entry-


DEFINE_SMB3_INF_COMPOUND_ERR_EVENT)\
DEFINE_EVENT _u32tid
 TP_PROTO_ sesid
  __u32 tid create_options
  __u64 int,
  int),
 TP_ARGS(xidTP_ARGS,tid, , ,rc

DEFINE_SMB3_INF_COMPOUND_ERR_EVENTquery_info_compound_err
DEFINE_SMB3_INF_COMPOUND_ERR_EVENT(posix_query_info_compound_errfield intxid
UND_ERR_EVENThardlink_err
DEFINE_SMB3_INF_COMPOUND_ERR_EVENT(rename_err_(__4 sesid
DEFINE_SMB3_INF_COMPOUND_ERR_EVENT(unlink_err _(int   create_options
DEFINE_SMB3_INF_COMPOUND_ERR_EVENT);
DEFINE_SMB3_INF_COMPOUND_ERR_EVENT_(int rc
DEFINE_SMB3_INF_COMPOUND_ERR_EVENT
DEFINE_SMB3_INF_COMPOUND_ERR_EVENT TP_fast_assign(
DEFINE_SMB3_INF_COMPOUND_ERR_EVENT_>xid xidjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
DEFINE_SMB3_INF_COMPOUND_ERR_EVENT(mkdir_err);
DEFINE_SMB3_INF_COMPOUND_ERR_EVENT);
DEFINE_SMB3_INF_COMPOUND_ERR_EVENT_>rc ;

/*
 * For logging SMB3 Status code and Command for responses which return errors
 */

DECLARE_EVENT_CLASS(smb3_cmd_err_class,
 TP_PROTO(__u32 tid,
 _u64,
 __1 cmd
  __u64
  __u32
 
(,, , , , ),
 TP_STRUCT__entry(
  __field(__u32, tid)
  __field(__u64, sesid)
  __field(__u16, cmd)
  __field  rc  java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14

  __field(posix_mkdir_err
 ),
 TP_fast_assign(DECLARE_EVENT_CLASSsmb3_open_done_class
  __entry-TP_PROTO(unsigned xid,
  __entry->sesid = sesid _u64,
  __entry->cmd __ tid,
  __entry->mid = mid _u64sesid,
  __entry->status = status;
  __entry->rc ;
 ),
 TP_printk(" ),
  __entry- (xid fid tid,,),
  __entry-(
)

#define  __field(__u64, fid
(smb3_cmd_err_classsmb3_#name,\
 TP_PROTO(__u32 tid,   \
 _u64,   \
  __u16 cmd,   \
  __u64 mid,   \
  __u32 status,   \
 ) 
 TP_ARGS __field,)

DEFINE_SMB3_CMD_ERR_EVENT(cmd_err);

DECLARE_EVENT_CLASS__>xid;
  __>fidfid
  __u64 sesid,
 _u16,
  __u64 mid),
 TP_ARGS, sesid, cmd mid
 TP_STRUCT__entry(
  _field(_u32tid
  __field(__  _entry->esired_access = desired_access;
  __field__u16 cmd
  __field(__u64, mid)
 ),
 TP_fast_assign( TP_printk(xid%u sid0xllxtid=0x%x fid0%llxcr_opts0x%xdes_access0%x"
  __entry- __ntry-xid, _entry-sesid, __entry->tid, __entry->fid,
  __entry->sesid = sesid;
  __entry->cmd = cmd;
  __ntry->id = mid
 ),
 TP_printk("sid=0x%llx tid=0x
 # DEFINE_SMB3_OPEN_DONE_EVENT)        
md,_entry-mid)
)

#define DEFINE_SMB3_CMD_DONE_EVENT_u64,  \
DEFINE_EVENT(smb3_cmd_done_class, smb3_##name,    \
 TP_PROTO(__u32 tid,   \
  __u64 sesid,     _u32 ,  \
 __u16cmd \
  __u64 mid),   \
 TP_ARGS(tid, sesid, cmd, mid))

DEFINE_SMB3_CMD_DONE_EVENTdesired_access) java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
DEFINE_SMB3_CMD_DONE_EVENT);
DEFINE_SMB3_CMD_DONE_EVENT(posix_mkdir_done

DECLARE_EVENT_CLASS(smb3_mid_class,
 TP_PROTO(__u16 cmd,

  __u32 pid,
   when_sent
  unsigned long when_received),
 TP_ARGS(cmd _u64 sesidjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
TP_STRUCT__entry
  __field(__u16, (lease_statetidsesid, ),
  __field(__u64 TP_STRUCT__entry(
  _field(_u32pid
  _field(unsignedlong )
  __field(java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 3
 )
  __entry- =tid
  _  _entry-sesid sesid
  __entry->mid = mid;
  __entry->pid = pid
  __entry- _entry- = lease_key_high
 )java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 )
 TP_printk(" __entry->, _entry->tid,_entry-lease_key_highjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
  __entry->cmd, )
  __entry->when_received)
)

#define DEFINE_SMB3_MID_EVENT#efineDEFINE_SMB3_LEASE_DONE_EVENT)        
DEFINE_EVENT(, smb3_name\
 TP_PROTO(__u16 cmd,   \
 _ mid \
  __u32 pid \
  unsigned long when_sent, \
  unsigned long when_received _u64,  
 TP_ARGS(cmd, mid  _u64),\

DEFINE_SMB3_MID_EVENT(slow_rsp);

(smb3_exit_err_class
 TP_PROTO
  const char *func_name,
  int rc),
 TP_ARGS(xid, func_name, rc),
DEFINE_SMB3_LEASE_();
  __field(unsigned int, xid)
  __stringfunc_name func_name
  __field(int, rc)
 ),
  (_u32lease_state,
  __entry->xid = xid;
 __3 ,
  __entry-> __1 epoch
 ),
TP_printk%:xidurcd,
   _ lease_key_low


define(name          
DEFINE_EVENT(smb3_exit_err_class, smb3_(
 TP_PROTO_(__u32 )
  const char _(__, flags
   rc  java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
 TP_ARGS(xid, func_name, rc)) _(__4 lease_key_low

(exit_err


DECLARE_EVENT_CLASS(smb3_sync_err_class,
 TP_PROTO(unsigned long ino,
  int rc),
 TP_ARGS(ino, rc)
 TP_STRUCT__entry(
  __field(unsigned long, ino)
  __field(int, rc  _entry-sesid sesid;
 ),
 TP_fast_assign(
  _entry-ino = ;
  __entry->rc = rc),
 ),
 TP_printk("ino=%lu rc=%d",
  __entry->ino, __entry->rc ("sid0x% tid=0%x lease_key0llxllxlease_state=x% flags=0x%x epoch=%u",
)

#efineDEFINE_SMB3_SYNC_ERR_EVENTname\
DEFINE_EVENT(smb3_sync_err_class, cifs_##name,    \
 TP_PROTO(unsigned long ino,  \
 intrc,  java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
 TP_ARGS(ino rc)

(fsync_err);
DEFINE_SMB3_SYNC_ERR_EVENT( _u32,               \


DECLARE_EVENT_CLASS(smb3_enter_exit_class,
 TP_PROTO(unsigned int xid,
  const char *func_name),
 TP_ARGS(xid, func_name),
TP_STRUCT__entry
  __field(unsigned  _ lease_key_low       java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
 __tring, func_name)
 ),
 TP_fast_assign(
  __entry->xid  ;
  __assign_strjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
 ),
TP_printk%: xidu,
  __get_str(func_name),
)

#define DEFINE_SMB3_ENTER_EXIT_EVENT tid
(smb3_enter_exit_class##name,\
 TP_PROTO _u64,
  const char *func_name) _u64 lease_key_highjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
 TP_ARGS(,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29

(enter
DEFINE_SMB3_ENTER_EXIT_EVENTfield,)

/*
 * For SMB2/SMB3 tree connect
 */


DECLARE_EVENT_CLASS_>sesid;
 TP_PROTO_>  lease_key_low
  __u32 tid,
  __ sesid
  const char  _>rc;
  intrcjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
 TP_ARGS(xid_entry->, _entry-, _entry->,
 _>lease_key_lowentry-, _entry-rc)
  __field
  __field
ldu64)
DEFINE_EVENTsmb3_lease_err_class,smb3_#name,  
  _ TP_PROTO_u32lease_state  \
 ),
 TP_fast_assign(
  __entry->xid = xid;
  __entry->tid = tid;
  __entry-  _u32tid \
  __assign_str(name);
  __entry->rc = rc;
 ),
 TP_printk("xid _u64lease_key_low \
  __entry->xid, __entry->sesid, __entry->tid,
  __get_str(name), __entry->rc)
)

#defineDEFINE_SMB3_TCON_EVENTname)          \
DEFINE_EVENT(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 TP_PROTO(unsigned int xid,  \
  __u32 tid,   \
  __u64 sesid,   \
  const char *,  \
  int rc),   \
 TP_ARGS, tid,sesidunc_namerc)

DEFINE_SMB3_TCON_EVENT(tcon);
DEFINE_SMB3_TCON_EVENT(qfs_done);

/*
 * For smb2/smb3 open (including create and mkdir) calls
 */


DECLARE_EVENT_CLASS(smb3_open_enter_class,
 TP_PROTO(unsigned int xid,
   (hostnameconn_id ),
  __u64TP_STRUCT__entry
  const char _string, hostname
 int,
  int desired_access_(__, , sizeof sockaddr_storage
 TP_ARGS
 TP_STRUCT__entry(
  __field int xid
  __field(__u32, tid)
  __field(__u64, sesid)
  _string, full_path
  __field( pss struct *)_entry-;
  _field(int,desired_access
 ),
 TP_fast_assign(
  __entry->xid  ,
  __entry->tid n_id=xllx=%saddr",
  __entry->sesid = sesid;
  __assign_str(path) __entry-)
  __entry->create_options
 _entry- = desired_access
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
"= =x =x =sx des_accessx"
  __entry-,,addr
  __entry->DEFINE_SMB3_CONNECT_EVENT);
)

#define DEFINE_SMB3_OPEN_ENTER_EVENT(name(smbd_connect_done
DEFINE_EVENT, ##name  \
 TP_PROTO(unsigned int xid,  \
  __u32 tid,   \
  __ (charhostname_u64,
  const char * const struct __kernel_soc*, intrc,
  int create_options,  \
  int desired_access), \
 (xidtid, full_path create_options desired_access

 _fieldu64 )
DEFINE_SMB3_OPEN_ENTER_EVENT_(_u8, (struct))

(smb3_open_err_class
 TP_PROTO(unsigned)java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
  __u32 tid,
   _>conn_idconn_id
  int create_optionsentry-rc rc
  int,
  int rc),
 TP_ARGSxid idsesidcreate_options desired_access,rc,
 TP_STRUCT__entry(
  __field(unsigned int, xid)
  __field(__u32, tid)
   TP_printk(rcd 0% =saddrpISpsfc
  __field(int,   create_options)
  __field(int, desired_access)
  __field(int, rc)
 )
 TP_fast_assign(
  __entry->xid = xid;
  __java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
  __entry-(smb3_connect_err_classsmb3_name\
 (char*,  java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 conststruct_ *addr
 _entry->rc rc
 ),
 TP_printk( (hostname conn_id , rcjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  _entry-, _>sesid_entry-,
  __entry->create_options, _
)

#define  P_PROTO *ostname, charusername conn_idjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
DEFINE_EVENT(smb3_open_err_class, smb3_##name,    \
TP_PROTO int ,  \
  __u32 tid,   \
  __u64 sesid,_string, )
  int create_options,  \
  int desired_access,  \
  rc  java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
 TP_ARGS(xid, tid, sesid, create_options, desired_access, rc))

DEFINE_SMB3_OPEN_ERR_EVENTopen_err
TP_fast_assign

DECLARE_EVENT_CLASS(smb3_open_done_class,
 TP_PROTO(unsigned int
 _u64,
  __u32 tid, _>rc=rc
  __u64 sesid pssstruct *)_>dst_addr
  int,
  int desired_access),
 TP_ARGS(xid, fid, tid __assign_str();
 TP_STRUCT__entry(
  __field(unsigned int, xid) ("% =sconn_id0%lx % =pISpsfc"java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
  __field,
  __field( __(hostname
  __field(__u64, sesid)
  __field(int, create_options)
  __field(int, desired_access)
 ),
 TP_fast_assignTP_PROTO *, \
  __entry->xid = xid;
  __entry->fid = fid;
  __entry->tid = tid;
 _ conn_id\
  __entry->create_options = create_options;
 _entry- = ;
 ),
(x=usid% =xxfidxllx=xxdes_accessxx"
   (hostname username, , addr))
  __entry->create_options, __entry-
)

(
DEFINE_EVENTsmb3_open_done_classsmb3_,  java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
 TP_PROTO
   (
 _ tid\
  __u64 sesid,   \
  int create_options,  \
  int desired_access), \
 P_ARGS,fid, , sesid, desired_access

DEFINE_SMB3_OPEN_DONE_EVENT_(hostname
DEFINE_SMB3_OPEN_DONE_EVENT(posix_mkdir_done);


(smb3_lease_done_class
  _(hostname
  __u32_>currmid
 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
  __u64 lease_key_low,
  __u64 lease_key_high),
 TP_ARGS(lease_state, tid, sesid, lease_key_low, #define DEFINE_SMB3_RECONNECT_EVENTname        \
 (
  __field(_ TP_PROTO_ currmid \
  __field(__u32, tid)
  __field(__u64, sesid)
  __field(__u64, lease_key_low __u64conn_id, \
  __field(__u64, lease_key_high)
 ),
 TP_fast_assign(
  __entry-TP_ARGS, conn_idhostname)
  __entry->tid = tid;
  __entry->sesid = sesid;
  __entry->lease_key_low = lease_key_low;
  __entry->lease_key_high = lease_key_high;
)java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 TP_printk(" TP_PROTO(__u64sesid,
  __entry- (sesid
  __entry-> TP_STRUCT__entry(
)

#)
DEFINE_EVENT TP_fast_assign(
 TP_PROTO(__u32 lease_state,  \
  _ tid java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
 _ ,  \
  __u64 lease_key_low,   _entry-sesid
  __u64
 TP_ARGS(lease_state

DEFINE_SMB3_LEASE_DONE_EVENT)
/* Tracepoint when a lease break request is received/entered (includes epoch and flags) */
DECLARE_EVENT_CLASS(smb3_lease_enter_class(smb3_ioctl_class
TP_PROTO_u32,
  __u32 flags,
  __u16 epoch,
 _ tid
  __u64 TP_ARGS, , ),
  __u64 lease_key_low,
  __u64 lease_key_high),
 TP_ARGS, flagsepoch,tidsesidlease_key_low,lease_key_high
 TP_STRUCT__entry(
  _fieldu32lease_state)
  __field(__u32, flags)
  __field(__u16, epoch)
 _fieldu32tid
  __field(__u64, sesid)
  __field(_ (
  __fieldentry-xid xidjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
 )java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 TP_fast_assign(
 _>  lease_state
  __entry->flags = flags   __entry->, _>fid _>command
  __entry->epoch = epoch;
  __entry->tid = tid;
 java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 25
 __>lease_key_low ;
  __entry- (unsignedxid     java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
 ),
 ("=0l =0% =0xllxllxlease_state=x% =0x% =%u,
  __entry->sesid, __entry- (xid , ))
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
)

# DEFINE_SMB3_LEASE_ENTER_EVENT)\
DEFINE_EVENT(smb3_lease_enter_class, smb3_##name,  \
 TP_PROTO(__u32 lease_stateu32),
  __u32TP_ARGS, ),
  __u16 epoch(
  __u32 tid _field, flags
  __u64  _(_u32tidjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  __u64 lease_key_low,       \
  __u64lease_key_high,    
 TP_ARGS(lease_state_entry- =tidjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21

DEFINE_SMB3_LEASE_ENTER_EVENT(lease_break_enter);
/* Lease not found: reuse lease_enter payload (includes epoch and flags) */
DEFINE_SMB3_LEASE_ENTER_EVENTdefine(name        

DECLARE_EVENT_CLASS(smb3_lease_err_class,
 TP_PROTO(__u32 lease_state,
  __u32 tid,
  __u64 sesid,
  __u64 lease_key_low,
  __u64 lease_key_high,
  int rc),
 TP_ARGS(lease_state, tid, sesid, lease_key_low, lease_key_high, rc(, smb3_namejava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
(
  __field
  _field_u32tid
 (__u64sesid
  __field(__u64, lease_key_low)
  __field(__u64, lease_key_high)
  __field(int, rc)
 ),
TP_fast_assign
  __entry->TP_ARGS, , tid,
  __entry-> (
  __entry-> __field(int, rc
 _entry- =;
  __entry-_(__, )
  __entry- ,
 ),

_>, entry-_entry-,
  __entry->lease_key_low, __entry- _>flags;
)

#define  ("=0x =xx,
(smb3_lease_err_class ##,  
 TP_PROTO
  __u32 tid,   \
 _ sesid,  \
  __u64 lease_key_low,  \
  _u64lease_key_high \
  int rc),   \
 TP_ARGS(lease_state, tid, sesid, lease_key_low, lease_key_high TP_PROTO( rc       \

DEFINE_SMB3_LEASE_ERR_EVENT(lease_ack_err);

DECLARE_EVENT_CLASS(  _u32,  \
 TP_PROTO(char_u32tid,       \
  __u64 conn_id,
  const  TP_ARGSrc flags))
 EFINE_SMB3_SHUTDOWN_ERR_EVENT);
 TP_STRUCT__entryDECLARE_EVENT_CLAS(,
   (_u64,
   _u64,
  __array(__u8,char h,
 ),
 TP_fast_assign(
  struct sockaddr_storage *pss int ),

  __entry-> (
  _field_6 )
  *pss = *dst_addr;
  __assign_str();
 ),
 P_printkconn_id0% =saddr"
  __entry->conn_id,
  __get_str(hostname),
addr
)

#define DEFINE_SMB3_CONNECT_EVENT(name)        \
DEFINE_EVENTsmb3_connect_class,smb3_name\
 TP_PROTO(char *hostname,  \
  __u64 conn_id,   \
  const struct __kernel_sockaddr_storage * __entry-> = urrmid
 TP_ARGS(hostname,  _assign_str);

DEFINE_SMB3_CONNECT_EVENT(connect_done);
DEFINE_SMB3_CONNECT_EVENTsmbd_connect_done)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
DEFINE_SMB3_CONNECT_EVENT)

DECLARE_EVENT_CLASS"=% =%din_flight%"
 TP_PROTO(_entry-,
  const struct _get_str(),
TP_ARGS, , dst_addr rc
 TP_STRUCT__entry(
  __string(hostname, hostname)
  __field(__u64, conn_id)
  __array(__u8, dst_addr, sizeof(struct)
  __field(int, rc)
 ),
 TP_fast_assign(
  struct sockaddr_storage *pssdefine(name\

 _>conn_idconn_id
  __entry->rc  (__u64 ,  \
  pss = (struct sockaddr_storage *)__entry-> _u64,\
  *pss = *dst_addr *,  java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  __assign_str(,conn_id ,c, )java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
 ),
 TP_printk("(credit_timeout;
  _entry-rc
  _entry-java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
 _(),
 java.lang.StringIndexOutOfBoundsException: Range [24, 20) out of bounds for length 38
)

#define DEFINE_SMB3_CONNECT_ERR_EVENT(name)        \
()java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 TP_PROTO(char *(set_credits;
  __java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
TRACE_EVENT,
  int rc),      (unsigned tcon_debug_id ref,
, addrrc

(connect_err

DECLARE_EVENT_CLASS(smb3_sess_setup_err_class_field( int )
  _ield,  ref
  _(enum, trace
 (hostname,conn_id, c,
 TP_STRUCT__entry(
  __string(hostname, hostname)
  __string, )
  __field(__u64,  _entry- =ref
  __array(_     _entry-trace trace
  __field(int, )
 ),
TP_fast_assign
  struct sockaddr_storage *pss       entry-,

  __entry->_>ref
  __entry-java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  pss  java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
  *pss = *dst_addr;
  _(hostname
  __assign_str    , , , race
 ),
 TP_printk("rc=% _( int )
  __entry->rc _field int)
 _get_str),
 _field int )
  __get_str(hostname),
  __entry->dst_addr)
)

     
DEFINE_EVENT(smb3_sess_setup_err_class, smb3_     ,
 TP_PROTO(char *hostname,  \
  char *username,   \
  __u64 conn_id,   \
  const struct_ *ddr\
  int rc),   \
 TP_ARGS(hostname, username,     __entry->subreq_credits;

DEFINE_SMB3_SES_SETUP_ERR_EVENT(_entry-   ;

DECLARE_EVENT_CLASS(,
 TP_PROTO(__u64     _entry-  =trace
_,
  char *hostname),
(, , ),
 TP_STRUCT__entry _print_symbolicentry-, smb3_rw_credits_traces)java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
  __field(__u64, ;
  __field(__u64, conn_id)
  __string(hostname, hostname)
 ),
 TP_fast_assign(
  __ntry-> = currmid;
  __entry-endif/* _CIFS_TRACE_H */
  __assign_str
 ),
TRACE_INCLUDE_PATH.
  TRACE_INCLUDE_FILE
  __get_str#nclude trace.h>
  __entry->currmid)
)

#define DEFINE_SMB3_RECONNECT_EVENT(name)        \
DEFINE_EVENT(smb3_reconnect_class, smb3_##name,  \
 TP_PROTO(__u64 currmid,  \
  __u64 conn_id,   \
  char *hostname),    \
 TP_ARGS(currmid, conn_id, hostname))

DEFINE_SMB3_RECONNECT_EVENT(reconnect);
DEFINE_SMB3_RECONNECT_EVENT(partial_send_reconnect);

DECLARE_EVENT_CLASS(smb3_ses_class,
 TP_PROTO(__u64 sesid),
 TP_ARGS(sesid),
 TP_STRUCT__entry(
  __field(__u64, sesid)
 ),
 TP_fast_assign(
  __entry->sesid = sesid;
 ),
 TP_printk("sid=0x%llx",
  __entry->sesid)
)

#define DEFINE_SMB3_SES_EVENT(name)        \
DEFINE_EVENT(smb3_ses_class, smb3_##name,  \
 TP_PROTO(__u64 sesid),    \
 TP_ARGS(sesid))

DEFINE_SMB3_SES_EVENT(ses_not_found);

DECLARE_EVENT_CLASS(smb3_ioctl_class,
 TP_PROTO(unsigned int xid,
  __u64 fid,
  unsigned int command),
 TP_ARGS(xid, fid, command),
 TP_STRUCT__entry(
  __field(unsigned int, xid)
  __field(__u64, fid)
  __field(unsigned int, command)
 ),
 TP_fast_assign(
  __entry->xid = xid;
  __entry->fid = fid;
  __entry->command = command;
 ),
 TP_printk("xid=%u fid=0x%llx ioctl cmd=0x%x",
    __entry->xid, __entry->fid, __entry->command)
)

#define DEFINE_SMB3_IOCTL_EVENT(name)        \
DEFINE_EVENT(smb3_ioctl_class, smb3_##name,  \
 TP_PROTO(unsigned int xid,      \
  __u64 fid,       \
  unsigned int command),      \
 TP_ARGS(xid, fid, command))

DEFINE_SMB3_IOCTL_EVENT(ioctl);

DECLARE_EVENT_CLASS(smb3_shutdown_class,
 TP_PROTO(__u32 flags,
  __u32 tid),
 TP_ARGS(flags, tid),
 TP_STRUCT__entry(
  __field(__u32, flags)
  __field(__u32, tid)
 ),
 TP_fast_assign(
  __entry->flags = flags;
  __entry->tid = tid;
 ),
 TP_printk("flags=0x%x tid=0x%x",
    __entry->flags, __entry->tid)
)

#define DEFINE_SMB3_SHUTDOWN_EVENT(name)        \
DEFINE_EVENT(smb3_shutdown_class, smb3_##name,  \
 TP_PROTO(__u32 flags,       \
  __u32 tid),       \
 TP_ARGS(flags, tid))

DEFINE_SMB3_SHUTDOWN_EVENT(shutdown_enter);
DEFINE_SMB3_SHUTDOWN_EVENT(shutdown_done);

DECLARE_EVENT_CLASS(smb3_shutdown_err_class,
 TP_PROTO(int rc,
  __u32 flags,
  __u32 tid),
 TP_ARGS(rc, flags, tid),
 TP_STRUCT__entry(
  __field(int, rc)
  __field(__u32, flags)
  __field(__u32, tid)
 ),
 TP_fast_assign(
  __entry->rc = rc;
  __entry->flags = flags;
  __entry->tid = tid;
 ),
 TP_printk("rc=%d flags=0x%x tid=0x%x",
  __entry->rc, __entry->flags, __entry->tid)
)

#define DEFINE_SMB3_SHUTDOWN_ERR_EVENT(name)        \
DEFINE_EVENT(smb3_shutdown_err_class, smb3_##name,  \
 TP_PROTO(int rc,       \
  __u32 flags,       \
  __u32 tid),       \
 TP_ARGS(rc, flags, tid))

DEFINE_SMB3_SHUTDOWN_ERR_EVENT(shutdown_err);

DECLARE_EVENT_CLASS(smb3_credit_class,
 TP_PROTO(__u64 currmid,
  __u64 conn_id,
  char *hostname,
  int credits,
  int credits_to_add,
  int in_flight),
 TP_ARGS(currmid, conn_id, hostname, credits, credits_to_add, in_flight),
 TP_STRUCT__entry(
  __field(__u64, currmid)
  __field(__u64, conn_id)
  __string(hostname, hostname)
  __field(int, credits)
  __field(int, credits_to_add)
  __field(int, in_flight)
 ),
 TP_fast_assign(
  __entry->currmid = currmid;
  __entry->conn_id = conn_id;
  __assign_str(hostname);
  __entry->credits = credits;
  __entry->credits_to_add = credits_to_add;
  __entry->in_flight = in_flight;
 ),
 TP_printk("conn_id=0x%llx server=%s current_mid=%llu "
   "credits=%d credit_change=%d in_flight=%d",
  __entry->conn_id,
  __get_str(hostname),
  __entry->currmid,
  __entry->credits,
  __entry->credits_to_add,
  __entry->in_flight)
)

#define DEFINE_SMB3_CREDIT_EVENT(name)        \
DEFINE_EVENT(smb3_credit_class, smb3_##name,  \
 TP_PROTO(__u64 currmid,  \
  __u64 conn_id,   \
  char *hostname,   \
  int  credits,   \
  int  credits_to_add, \
  int in_flight),   \
 TP_ARGS(currmid, conn_id, hostname, credits, credits_to_add, in_flight))

DEFINE_SMB3_CREDIT_EVENT(reconnect_with_invalid_credits);
DEFINE_SMB3_CREDIT_EVENT(reconnect_detected);
DEFINE_SMB3_CREDIT_EVENT(credit_timeout);
DEFINE_SMB3_CREDIT_EVENT(insufficient_credits);
DEFINE_SMB3_CREDIT_EVENT(too_many_credits);
DEFINE_SMB3_CREDIT_EVENT(add_credits);
DEFINE_SMB3_CREDIT_EVENT(adj_credits);
DEFINE_SMB3_CREDIT_EVENT(hdr_credits);
DEFINE_SMB3_CREDIT_EVENT(nblk_credits);
DEFINE_SMB3_CREDIT_EVENT(pend_credits);
DEFINE_SMB3_CREDIT_EVENT(wait_credits);
DEFINE_SMB3_CREDIT_EVENT(waitff_credits);
DEFINE_SMB3_CREDIT_EVENT(overflow_credits);
DEFINE_SMB3_CREDIT_EVENT(set_credits);


TRACE_EVENT(smb3_tcon_ref,
     TP_PROTO(unsigned int tcon_debug_id, int ref,
       enum smb3_tcon_ref_trace trace),
     TP_ARGS(tcon_debug_id, ref, trace),
     TP_STRUCT__entry(
      __field(unsigned int,  tcon)
      __field(int,   ref)
      __field(enum smb3_tcon_ref_trace, trace)
        ),
     TP_fast_assign(
      __entry->tcon = tcon_debug_id;
      __entry->ref = ref;
      __entry->trace = trace;
      ),
     TP_printk("TC=%08x %s r=%u",
        __entry->tcon,
        __print_symbolic(__entry->trace, smb3_tcon_ref_traces),
        __entry->ref)
     );

TRACE_EVENT(smb3_rw_credits,
     TP_PROTO(unsigned int rreq_debug_id,
       unsigned int subreq_debug_index,
       unsigned int subreq_credits,
       unsigned int server_credits,
       int server_in_flight,
       int credit_change,
       enum smb3_rw_credits_trace trace),
     TP_ARGS(rreq_debug_id, subreq_debug_index, subreq_credits,
      server_credits, server_in_flight, credit_change, trace),
     TP_STRUCT__entry(
      __field(unsigned int, rreq_debug_id)
      __field(unsigned int, subreq_debug_index)
      __field(unsigned int, subreq_credits)
      __field(unsigned int, server_credits)
      __field(int,   in_flight)
      __field(int,   credit_change)
      __field(enum smb3_rw_credits_trace, trace)
        ),
     TP_fast_assign(
      __entry->rreq_debug_id = rreq_debug_id;
      __entry->subreq_debug_index = subreq_debug_index;
      __entry->subreq_credits = subreq_credits;
      __entry->server_credits = server_credits;
      __entry->in_flight  = server_in_flight;
      __entry->credit_change = credit_change;
      __entry->trace  = trace;
      ),
     TP_printk("R=%08x[%x] %s cred=%u chg=%d pool=%u ifl=%d",
        __entry->rreq_debug_id, __entry->subreq_debug_index,
        __print_symbolic(__entry->trace, smb3_rw_credits_traces),
        __entry->subreq_credits, __entry->credit_change,
        __entry->server_credits, __entry->in_flight)
     );


#undef EM
#undef E_
#endif /* _CIFS_TRACE_H */

#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH .
#define TRACE_INCLUDE_FILE trace
#include <trace/define_trace.h>

Messung V0.5
C=99 H=98 G=98

¤ Dauer der Verarbeitung: 0.11 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.