xref: /openbmc/linux/fs/nfs/nfs4trace.c (revision 088f3e68)
1b2441318SGreg Kroah-Hartman // SPDX-License-Identifier: GPL-2.0
2c6d01c6fSTrond Myklebust /*
3c6d01c6fSTrond Myklebust  * Copyright (c) 2013 Trond Myklebust <Trond.Myklebust@netapp.com>
4c6d01c6fSTrond Myklebust  */
5c6d01c6fSTrond Myklebust #include <linux/nfs_fs.h>
6c6d01c6fSTrond Myklebust #include "nfs4_fs.h"
7c6d01c6fSTrond Myklebust #include "internal.h"
82f92ae34STrond Myklebust #include "nfs4session.h"
92f92ae34STrond Myklebust #include "callback.h"
10f4848303STrond Myklebust #include "pnfs.h"
11c6d01c6fSTrond Myklebust 
12c6d01c6fSTrond Myklebust #define CREATE_TRACE_POINTS
13c6d01c6fSTrond Myklebust #include "nfs4trace.h"
14c6d01c6fSTrond Myklebust 
15cc668ab3STrond Myklebust #ifdef CONFIG_NFS_V4_1
16cc668ab3STrond Myklebust EXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_read);
17cc668ab3STrond Myklebust EXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_write);
18cc668ab3STrond Myklebust EXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_commit_ds);
19d5b9216fSTrond Myklebust 
20d5b9216fSTrond Myklebust EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_pg_init_read);
21d5b9216fSTrond Myklebust EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_pg_init_write);
22d5b9216fSTrond Myklebust EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_pg_get_mirror_count);
23d5b9216fSTrond Myklebust EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_read_done);
24d5b9216fSTrond Myklebust EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_write_done);
25d5b9216fSTrond Myklebust EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_read_pagelist);
26d5b9216fSTrond Myklebust EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_write_pagelist);
27088f3e68STrond Myklebust 
28088f3e68STrond Myklebust EXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_read_error);
29088f3e68STrond Myklebust EXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_write_error);
30088f3e68STrond Myklebust EXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_commit_error);
31cc668ab3STrond Myklebust #endif
32