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