tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/static_call
head: 814cfbceba54e980b1f949a13d04b1909bbe80da
commit: 742ae762f81fd75c8bbcbfb3a807502aabd75291 [29/34] tracepoints: Use static_call
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
git checkout 742ae762f81fd75c8bbcbfb3a807502aabd75291
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from fs/cifs/trace.h:13:0,
from fs/cifs/trace.c:8:
include/linux/tracepoint.h:292:5: error: implicit declaration of function
'STATIC_CALL_TRAMP_ADDR'; did you mean 'STATOC_CALL_TRAMP_ADDR'?
[-Werror=implicit-function-declaration]
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
> fs/cifs/./trace.h:59:1: note: in expansion of macro
'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(write_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: warning: initialization makes pointer from integer
without a cast [-Wint-conversion]
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
> fs/cifs/./trace.h:59:1: note: in expansion of macro
'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(write_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_smb3_write_err.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
> fs/cifs/./trace.h:59:1: note: in expansion of macro
'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(write_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: error: initializer element is not constant
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
> fs/cifs/./trace.h:59:1: note: in expansion of macro
'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(write_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_smb3_write_err.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
> fs/cifs/./trace.h:59:1: note: in expansion of macro
'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(write_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: warning: initialization makes pointer from integer
without a cast [-Wint-conversion]
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
fs/cifs/./trace.h:60:1: note: in expansion of macro 'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(read_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_smb3_read_err.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
fs/cifs/./trace.h:60:1: note: in expansion of macro 'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(read_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: error: initializer element is not constant
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
fs/cifs/./trace.h:60:1: note: in expansion of macro 'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(read_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_smb3_read_err.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
fs/cifs/./trace.h:60:1: note: in expansion of macro 'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(read_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: warning: initialization makes pointer from integer
without a cast [-Wint-conversion]
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
fs/cifs/./trace.h:61:1: note: in expansion of macro 'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(query_dir_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_smb3_query_dir_err.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
fs/cifs/./trace.h:61:1: note: in expansion of macro 'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(query_dir_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: error: initializer element is not constant
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
fs/cifs/./trace.h:61:1: note: in expansion of macro 'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(query_dir_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_smb3_query_dir_err.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
fs/cifs/./trace.h:61:1: note: in expansion of macro 'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(query_dir_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: warning: initialization makes pointer from integer
without a cast [-Wint-conversion]
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
fs/cifs/./trace.h:62:1: note: in expansion of macro 'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(zero_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_smb3_zero_err.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/cifs/./trace.h:49:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(smb3_rw_err_class, smb3_##name, \
^~~~~~~~~~~~
fs/cifs/./trace.h:62:1: note: in expansion of macro 'DEFINE_SMB3_RW_ERR_EVENT'
DEFINE_SMB3_RW_ERR_EVENT(zero_err);
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: error: initializer element is not constant
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
--
In file included from fs/xfs/xfs_trace.h:12:0,
from fs/xfs/xfs_trace.c:36:
include/linux/tracepoint.h:292:5: error: implicit declaration of function
'STATIC_CALL_TRAMP_ADDR'; did you mean 'STATOC_CALL_TRAMP_ADDR'?
[-Werror=implicit-function-declaration]
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:88:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: warning: initialization makes pointer from integer
without a cast [-Wint-conversion]
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:88:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_xfs_attr_list_sf.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:88:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: error: initializer element is not constant
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:88:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_xfs_attr_list_sf.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:88:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: warning: initialization makes pointer from integer
without a cast [-Wint-conversion]
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
fs/xfs/./xfs_trace.h:89:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf_all);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_xfs_attr_list_sf_all.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
fs/xfs/./xfs_trace.h:89:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf_all);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: error: initializer element is not constant
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
fs/xfs/./xfs_trace.h:89:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf_all);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_xfs_attr_list_sf_all.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
fs/xfs/./xfs_trace.h:89:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_sf_all);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: warning: initialization makes pointer from integer
without a cast [-Wint-conversion]
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
fs/xfs/./xfs_trace.h:90:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_leaf);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_xfs_attr_list_leaf.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
fs/xfs/./xfs_trace.h:90:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_leaf);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: error: initializer element is not constant
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
fs/xfs/./xfs_trace.h:90:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_leaf);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_xfs_attr_list_leaf.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
fs/xfs/./xfs_trace.h:90:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_leaf);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: warning: initialization makes pointer from integer
without a cast [-Wint-conversion]
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
fs/xfs/./xfs_trace.h:91:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_leaf_end);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: note: (near initialization for
'__tracepoint_xfs_attr_list_leaf_end.static_call_tramp')
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
> fs/xfs/./xfs_trace.h:85:1: note: in expansion of macro
'DEFINE_EVENT'
DEFINE_EVENT(xfs_attr_list_class, name, \
^~~~~~~~~~~~
fs/xfs/./xfs_trace.h:91:1: note: in expansion of macro
'DEFINE_ATTR_LIST_EVENT'
DEFINE_ATTR_LIST_EVENT(xfs_attr_list_leaf_end);
^~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:292:5: error: initializer element is not constant
STATIC_CALL_TRAMP_ADDR(tp_func_##name), \
^
include/linux/tracepoint.h:313:2: note: in expansion of macro
'DEFINE_TRACE_FN'
DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args));
^~~~~~~~~~~~~~~
include/trace/define_trace.h:57:2: note: in expansion of macro 'DEFINE_TRACE'
DEFINE_TRACE(name, PARAMS(proto), PARAMS(args))
^~~~~~~~~~~~
vim +/DEFINE_EVENT +49 fs/cifs/./trace.h
eccb4422cf97a4 Steve French 2018-05-17 47
eccb4422cf97a4 Steve French 2018-05-17 48 #define DEFINE_SMB3_RW_ERR_EVENT(name)
\
eccb4422cf97a4 Steve French 2018-05-17 @49 DEFINE_EVENT(smb3_rw_err_class, smb3_##name,
\
eccb4422cf97a4 Steve French 2018-05-17 50 TP_PROTO(unsigned int xid, \
eccb4422cf97a4 Steve French 2018-05-17 51 __u64 fid, \
eccb4422cf97a4 Steve French 2018-05-17 52 __u32 tid, \
eccb4422cf97a4 Steve French 2018-05-17 53 __u64 sesid, \
eccb4422cf97a4 Steve French 2018-05-17 54 __u64 offset, \
eccb4422cf97a4 Steve French 2018-05-17 55 __u32 len, \
eccb4422cf97a4 Steve French 2018-05-17 56 int rc), \
eccb4422cf97a4 Steve French 2018-05-17 57 TP_ARGS(xid, fid, tid, sesid, offset, len,
rc))
eccb4422cf97a4 Steve French 2018-05-17 58
eccb4422cf97a4 Steve French 2018-05-17 @59 DEFINE_SMB3_RW_ERR_EVENT(write_err);
eccb4422cf97a4 Steve French 2018-05-17 60 DEFINE_SMB3_RW_ERR_EVENT(read_err);
adb3b4e90e103f Steve French 2019-02-25 61 DEFINE_SMB3_RW_ERR_EVENT(query_dir_err);
779ede040dd491 Steve French 2019-03-13 62 DEFINE_SMB3_RW_ERR_EVENT(zero_err);
779ede040dd491 Steve French 2019-03-13 63 DEFINE_SMB3_RW_ERR_EVENT(falloc_err);
eccb4422cf97a4 Steve French 2018-05-17 64
eccb4422cf97a4 Steve French 2018-05-17 65
eccb4422cf97a4 Steve French 2018-05-17 66 /* For logging successful read or write */
eccb4422cf97a4 Steve French 2018-05-17 67 DECLARE_EVENT_CLASS(smb3_rw_done_class,
eccb4422cf97a4 Steve French 2018-05-17 68 TP_PROTO(unsigned int xid,
eccb4422cf97a4 Steve French 2018-05-17 69 __u64 fid,
eccb4422cf97a4 Steve French 2018-05-17 70 __u32 tid,
eccb4422cf97a4 Steve French 2018-05-17 71 __u64 sesid,
eccb4422cf97a4 Steve French 2018-05-17 72 __u64 offset,
eccb4422cf97a4 Steve French 2018-05-17 73 __u32 len),
eccb4422cf97a4 Steve French 2018-05-17 74 TP_ARGS(xid, fid, tid, sesid, offset, len),
eccb4422cf97a4 Steve French 2018-05-17 75 TP_STRUCT__entry(
eccb4422cf97a4 Steve French 2018-05-17 76 __field(unsigned int, xid)
eccb4422cf97a4 Steve French 2018-05-17 77 __field(__u64, fid)
eccb4422cf97a4 Steve French 2018-05-17 78 __field(__u32, tid)
eccb4422cf97a4 Steve French 2018-05-17 79 __field(__u64, sesid)
eccb4422cf97a4 Steve French 2018-05-17 80 __field(__u64, offset)
eccb4422cf97a4 Steve French 2018-05-17 81 __field(__u32, len)
eccb4422cf97a4 Steve French 2018-05-17 82 ),
eccb4422cf97a4 Steve French 2018-05-17 83 TP_fast_assign(
eccb4422cf97a4 Steve French 2018-05-17 84 __entry->xid = xid;
eccb4422cf97a4 Steve French 2018-05-17 85 __entry->fid = fid;
eccb4422cf97a4 Steve French 2018-05-17 86 __entry->tid = tid;
eccb4422cf97a4 Steve French 2018-05-17 87 __entry->sesid = sesid;
eccb4422cf97a4 Steve French 2018-05-17 88 __entry->offset = offset;
eccb4422cf97a4 Steve French 2018-05-17 89 __entry->len = len;
eccb4422cf97a4 Steve French 2018-05-17 90 ),
d683bcd3e5d157 Steve French 2018-05-19 91 TP_printk("xid=%u sid=0x%llx tid=0x%x
fid=0x%llx offset=0x%llx len=0x%x",
d683bcd3e5d157 Steve French 2018-05-19 92 __entry->xid, __entry->sesid,
__entry->tid, __entry->fid,
eccb4422cf97a4 Steve French 2018-05-17 93 __entry->offset, __entry->len)
eccb4422cf97a4 Steve French 2018-05-17 94 )
eccb4422cf97a4 Steve French 2018-05-17 95
eccb4422cf97a4 Steve French 2018-05-17 96 #define DEFINE_SMB3_RW_DONE_EVENT(name)
\
eccb4422cf97a4 Steve French 2018-05-17 @97 DEFINE_EVENT(smb3_rw_done_class, smb3_##name,
\
eccb4422cf97a4 Steve French 2018-05-17 98 TP_PROTO(unsigned int xid, \
eccb4422cf97a4 Steve French 2018-05-17 99 __u64 fid, \
eccb4422cf97a4 Steve French 2018-05-17 100 __u32 tid, \
eccb4422cf97a4 Steve French 2018-05-17 101 __u64 sesid, \
eccb4422cf97a4 Steve French 2018-05-17 102 __u64 offset, \
eccb4422cf97a4 Steve French 2018-05-17 103 __u32 len), \
eccb4422cf97a4 Steve French 2018-05-17 104 TP_ARGS(xid, fid, tid, sesid, offset, len))
eccb4422cf97a4 Steve French 2018-05-17 105
d323c24617527f Steve French 2019-02-25 @106 DEFINE_SMB3_RW_DONE_EVENT(write_enter);
d323c24617527f Steve French 2019-02-25 107 DEFINE_SMB3_RW_DONE_EVENT(read_enter);
d323c24617527f Steve French 2019-02-25 108 DEFINE_SMB3_RW_DONE_EVENT(query_dir_enter);
779ede040dd491 Steve French 2019-03-13 109 DEFINE_SMB3_RW_DONE_EVENT(zero_enter);
779ede040dd491 Steve French 2019-03-13 110 DEFINE_SMB3_RW_DONE_EVENT(falloc_enter);
eccb4422cf97a4 Steve French 2018-05-17 111 DEFINE_SMB3_RW_DONE_EVENT(write_done);
eccb4422cf97a4 Steve French 2018-05-17 112 DEFINE_SMB3_RW_DONE_EVENT(read_done);
adb3b4e90e103f Steve French 2019-02-25 113 DEFINE_SMB3_RW_DONE_EVENT(query_dir_done);
779ede040dd491 Steve French 2019-03-13 114 DEFINE_SMB3_RW_DONE_EVENT(zero_done);
779ede040dd491 Steve French 2019-03-13 115 DEFINE_SMB3_RW_DONE_EVENT(falloc_done);
eccb4422cf97a4 Steve French 2018-05-17 116
eccb4422cf97a4 Steve French 2018-05-17 117 /*
eccb4422cf97a4 Steve French 2018-05-17 118 * For handle based calls other than read and
write, and get/set info
eccb4422cf97a4 Steve French 2018-05-17 119 */
f90f979726bc37 Steve French 2019-09-03 120 DECLARE_EVENT_CLASS(smb3_fd_class,
f90f979726bc37 Steve French 2019-09-03 121 TP_PROTO(unsigned int xid,
f90f979726bc37 Steve French 2019-09-03 122 __u64 fid,
f90f979726bc37 Steve French 2019-09-03 123 __u32 tid,
f90f979726bc37 Steve French 2019-09-03 124 __u64 sesid),
f90f979726bc37 Steve French 2019-09-03 125 TP_ARGS(xid, fid, tid, sesid),
f90f979726bc37 Steve French 2019-09-03 126 TP_STRUCT__entry(
f90f979726bc37 Steve French 2019-09-03 127 __field(unsigned int, xid)
f90f979726bc37 Steve French 2019-09-03 128 __field(__u64, fid)
f90f979726bc37 Steve French 2019-09-03 129 __field(__u32, tid)
f90f979726bc37 Steve French 2019-09-03 130 __field(__u64, sesid)
f90f979726bc37 Steve French 2019-09-03 131 ),
f90f979726bc37 Steve French 2019-09-03 132 TP_fast_assign(
f90f979726bc37 Steve French 2019-09-03 133 __entry->xid = xid;
f90f979726bc37 Steve French 2019-09-03 134 __entry->fid = fid;
f90f979726bc37 Steve French 2019-09-03 135 __entry->tid = tid;
f90f979726bc37 Steve French 2019-09-03 136 __entry->sesid = sesid;
f90f979726bc37 Steve French 2019-09-03 137 ),
f90f979726bc37 Steve French 2019-09-03 138 TP_printk("\txid=%u sid=0x%llx tid=0x%x
fid=0x%llx",
f90f979726bc37 Steve French 2019-09-03 139 __entry->xid, __entry->sesid,
__entry->tid, __entry->fid)
f90f979726bc37 Steve French 2019-09-03 140 )
f90f979726bc37 Steve French 2019-09-03 141
f90f979726bc37 Steve French 2019-09-03 142 #define DEFINE_SMB3_FD_EVENT(name)
\
f90f979726bc37 Steve French 2019-09-03 @143 DEFINE_EVENT(smb3_fd_class, smb3_##name,
\
f90f979726bc37 Steve French 2019-09-03 144 TP_PROTO(unsigned int xid, \
f90f979726bc37 Steve French 2019-09-03 145 __u64 fid, \
f90f979726bc37 Steve French 2019-09-03 146 __u32 tid, \
f90f979726bc37 Steve French 2019-09-03 147 __u64 sesid), \
f90f979726bc37 Steve French 2019-09-03 148 TP_ARGS(xid, fid, tid, sesid))
f90f979726bc37 Steve French 2019-09-03 149
f90f979726bc37 Steve French 2019-09-03 @150 DEFINE_SMB3_FD_EVENT(flush_enter);
f90f979726bc37 Steve French 2019-09-03 151 DEFINE_SMB3_FD_EVENT(flush_done);
f90f979726bc37 Steve French 2019-09-03 152 DEFINE_SMB3_FD_EVENT(close_enter);
f90f979726bc37 Steve French 2019-09-03 153 DEFINE_SMB3_FD_EVENT(close_done);
f90f979726bc37 Steve French 2019-09-03 154
eccb4422cf97a4 Steve French 2018-05-17 155 DECLARE_EVENT_CLASS(smb3_fd_err_class,
eccb4422cf97a4 Steve French 2018-05-17 156 TP_PROTO(unsigned int xid,
eccb4422cf97a4 Steve French 2018-05-17 157 __u64 fid,
eccb4422cf97a4 Steve French 2018-05-17 158 __u32 tid,
eccb4422cf97a4 Steve French 2018-05-17 159 __u64 sesid,
eccb4422cf97a4 Steve French 2018-05-17 160 int rc),
eccb4422cf97a4 Steve French 2018-05-17 161 TP_ARGS(xid, fid, tid, sesid, rc),
eccb4422cf97a4 Steve French 2018-05-17 162 TP_STRUCT__entry(
eccb4422cf97a4 Steve French 2018-05-17 163 __field(unsigned int, xid)
eccb4422cf97a4 Steve French 2018-05-17 164 __field(__u64, fid)
eccb4422cf97a4 Steve French 2018-05-17 165 __field(__u32, tid)
eccb4422cf97a4 Steve French 2018-05-17 166 __field(__u64, sesid)
eccb4422cf97a4 Steve French 2018-05-17 167 __field(int, rc)
eccb4422cf97a4 Steve French 2018-05-17 168 ),
eccb4422cf97a4 Steve French 2018-05-17 169 TP_fast_assign(
eccb4422cf97a4 Steve French 2018-05-17 170 __entry->xid = xid;
eccb4422cf97a4 Steve French 2018-05-17 171 __entry->fid = fid;
eccb4422cf97a4 Steve French 2018-05-17 172 __entry->tid = tid;
eccb4422cf97a4 Steve French 2018-05-17 173 __entry->sesid = sesid;
eccb4422cf97a4 Steve French 2018-05-17 174 __entry->rc = rc;
eccb4422cf97a4 Steve French 2018-05-17 175 ),
d683bcd3e5d157 Steve French 2018-05-19 176 TP_printk("\txid=%u sid=0x%llx tid=0x%x
fid=0x%llx rc=%d",
d683bcd3e5d157 Steve French 2018-05-19 177 __entry->xid, __entry->sesid,
__entry->tid, __entry->fid,
eccb4422cf97a4 Steve French 2018-05-17 178 __entry->rc)
eccb4422cf97a4 Steve French 2018-05-17 179 )
eccb4422cf97a4 Steve French 2018-05-17 180
eccb4422cf97a4 Steve French 2018-05-17 181 #define DEFINE_SMB3_FD_ERR_EVENT(name)
\
eccb4422cf97a4 Steve French 2018-05-17 @182 DEFINE_EVENT(smb3_fd_err_class, smb3_##name,
\
eccb4422cf97a4 Steve French 2018-05-17 183 TP_PROTO(unsigned int xid, \
eccb4422cf97a4 Steve French 2018-05-17 184 __u64 fid, \
eccb4422cf97a4 Steve French 2018-05-17 185 __u32 tid, \
eccb4422cf97a4 Steve French 2018-05-17 186 __u64 sesid, \
eccb4422cf97a4 Steve French 2018-05-17 187 int rc), \
eccb4422cf97a4 Steve French 2018-05-17 188 TP_ARGS(xid, fid, tid, sesid, rc))
eccb4422cf97a4 Steve French 2018-05-17 189
eccb4422cf97a4 Steve French 2018-05-17 @190 DEFINE_SMB3_FD_ERR_EVENT(flush_err);
eccb4422cf97a4 Steve French 2018-05-17 191 DEFINE_SMB3_FD_ERR_EVENT(lock_err);
eccb4422cf97a4 Steve French 2018-05-17 192 DEFINE_SMB3_FD_ERR_EVENT(close_err);
eccb4422cf97a4 Steve French 2018-05-17 193
eccb4422cf97a4 Steve French 2018-05-17 194 /*
eccb4422cf97a4 Steve French 2018-05-17 195 * For handle based query/set info calls
eccb4422cf97a4 Steve French 2018-05-17 196 */
d42043a600abfd Steve French 2019-02-26 197 DECLARE_EVENT_CLASS(smb3_inf_enter_class,
d42043a600abfd Steve French 2019-02-26 198 TP_PROTO(unsigned int xid,
d42043a600abfd Steve French 2019-02-26 199 __u64 fid,
d42043a600abfd Steve French 2019-02-26 200 __u32 tid,
d42043a600abfd Steve French 2019-02-26 201 __u64 sesid,
d42043a600abfd Steve French 2019-02-26 202 __u8 infclass,
d42043a600abfd Steve French 2019-02-26 203 __u32 type),
d42043a600abfd Steve French 2019-02-26 204 TP_ARGS(xid, fid, tid, sesid, infclass,
type),
d42043a600abfd Steve French 2019-02-26 205 TP_STRUCT__entry(
d42043a600abfd Steve French 2019-02-26 206 __field(unsigned int, xid)
d42043a600abfd Steve French 2019-02-26 207 __field(__u64, fid)
d42043a600abfd Steve French 2019-02-26 208 __field(__u32, tid)
d42043a600abfd Steve French 2019-02-26 209 __field(__u64, sesid)
d42043a600abfd Steve French 2019-02-26 210 __field(__u8, infclass)
d42043a600abfd Steve French 2019-02-26 211 __field(__u32, type)
d42043a600abfd Steve French 2019-02-26 212 ),
d42043a600abfd Steve French 2019-02-26 213 TP_fast_assign(
d42043a600abfd Steve French 2019-02-26 214 __entry->xid = xid;
d42043a600abfd Steve French 2019-02-26 215 __entry->fid = fid;
d42043a600abfd Steve French 2019-02-26 216 __entry->tid = tid;
d42043a600abfd Steve French 2019-02-26 217 __entry->sesid = sesid;
d42043a600abfd Steve French 2019-02-26 218 __entry->infclass = infclass;
d42043a600abfd Steve French 2019-02-26 219 __entry->type = type;
d42043a600abfd Steve French 2019-02-26 220 ),
d42043a600abfd Steve French 2019-02-26 221 TP_printk("xid=%u sid=0x%llx tid=0x%x
fid=0x%llx class=%u type=0x%x",
d42043a600abfd Steve French 2019-02-26 222 __entry->xid, __entry->sesid,
__entry->tid, __entry->fid,
d42043a600abfd Steve French 2019-02-26 223 __entry->infclass, __entry->type)
d42043a600abfd Steve French 2019-02-26 224 )
d42043a600abfd Steve French 2019-02-26 225
d42043a600abfd Steve French 2019-02-26 226 #define DEFINE_SMB3_INF_ENTER_EVENT(name)
\
d42043a600abfd Steve French 2019-02-26 @227 DEFINE_EVENT(smb3_inf_enter_class,
smb3_##name, \
d42043a600abfd Steve French 2019-02-26 228 TP_PROTO(unsigned int xid, \
d42043a600abfd Steve French 2019-02-26 229 __u64 fid, \
d42043a600abfd Steve French 2019-02-26 230 __u32 tid, \
d42043a600abfd Steve French 2019-02-26 231 __u64 sesid, \
d42043a600abfd Steve French 2019-02-26 232 __u8 infclass, \
d42043a600abfd Steve French 2019-02-26 233 __u32 type), \
d42043a600abfd Steve French 2019-02-26 234 TP_ARGS(xid, fid, tid, sesid, infclass,
type))
d42043a600abfd Steve French 2019-02-26 235
d42043a600abfd Steve French 2019-02-26 @236
DEFINE_SMB3_INF_ENTER_EVENT(query_info_enter);
d42043a600abfd Steve French 2019-02-26 237
DEFINE_SMB3_INF_ENTER_EVENT(query_info_done);
c3498185b7898d Steve French 2019-09-15 238 DEFINE_SMB3_INF_ENTER_EVENT(notify_enter);
c3498185b7898d Steve French 2019-09-15 239 DEFINE_SMB3_INF_ENTER_EVENT(notify_done);
d42043a600abfd Steve French 2019-02-26 240
:::::: The code at line 49 was first introduced by commit
:::::: eccb4422cf97a4b0daf97b3f3d68044514fea7bd smb3: Add ftrace tracepoints for improved
SMB3 debugging
:::::: TO: Steve French <stfrench(a)microsoft.com>
:::::: CC: Steve French <stfrench(a)microsoft.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation