1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Copyright (c) 2013 Trond Myklebust <Trond.Myklebust@netapp.com> 4 */ 5 #include <linux/nfs_fs.h> 6 #include "nfs4_fs.h" 7 #include "internal.h" 8 #include "nfs4session.h" 9 #include "callback.h" 10 #include "pnfs.h" 11 12 #define CREATE_TRACE_POINTS 13 #include "nfs4trace.h" 14 15 #ifdef CONFIG_NFS_V4_1 16 EXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_read); 17 EXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_write); 18 EXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_commit_ds); 19 20 EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_pg_init_read); 21 EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_pg_init_write); 22 EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_pg_get_mirror_count); 23 EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_read_done); 24 EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_write_done); 25 EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_read_pagelist); 26 EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_write_pagelist); 27 28 EXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_read_error); 29 EXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_write_error); 30 EXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_commit_error); 31 #endif 32