/* 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
/* * 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 unsigned# DEFINE_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
)
/* * 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(unsignedint 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_PROTOunsignedintxid, 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))
DECLARE_EVENT_CLASS(smb3_copy_range_done_class,
TP_PROTOunsignedint 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(unsignedint, 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 unsignedint rreq_debug_index, unsignedintDEFINE_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(unsignedint, 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(unsignedint java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 1 unsigned rreq_debug_index unsignedint 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(unsignedint 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)
)
/* For logging successful set EOF (truncate) */int, rc
DECLARE_EVENT_CLASS(
TP_PROTO(unsignedint xid _entry- = tid
_u64fid
__u32 tid,
_entry- = cmd
__u64 offset),
TP_ARGSxid, fid tid, sesid, offset),
TP_STRUCT__entry(
__field(unsignedint _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
/* * For handle based calls other than read and write, and get/set info
*/
DECLARE_EVENT_CLASS(smb3_fd_class,
TP_PROTO(unsignedint 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_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))
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(unsignedint, 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\
)
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 constchar *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(unsignedint xid,
__u32 tid,
__u64 sesid),
TP_ARGS(xid, tid TP_ARGSxid, tid sesid unc_name, rc)
TP_STRUCT__entry(
__(unsignedint 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(unsignedint 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(unsignedint 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_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
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
__u32 pid,
when_sent unsignedlong 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)
)
#efineDEFINE_SMB3_SYNC_ERR_EVENTname\
DEFINE_EVENT(smb3_sync_err_class, cifs_##name, \
TP_PROTO(unsignedlong 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(unsignedint xid, constchar *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, constchar *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
(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(unsignedint, 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_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
(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
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)
_>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
__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)
)
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.