]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: stringify scrub types in ftrace output libxfs-5.0-sync
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 27 Feb 2019 23:13:45 +0000 (17:13 -0600)
committerEric Sandeen <sandeen@redhat.com>
Wed, 27 Feb 2019 23:13:45 +0000 (17:13 -0600)
Source kernel commit: 86d163dbfe2ac0b30fbb6e256301abbfa9e4549e

Use __print_symbolic to print the scrub type in ftrace output.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_types.h

index 75dfa974172b7d4ffe8fd52f057a71dcb1a21dea..8f02855a019a41c5d1c481e044af88102792308c 100644 (file)
@@ -114,8 +114,8 @@ typedef enum {
        { XFS_LOOKUP_GEi,       "ge" }
 
 /*
- * This enum is used in string mapping in xfs_trace.h; please keep the
- * TRACE_DEFINE_ENUMs for it up to date.
+ * This enum is used in string mapping in xfs_trace.h and scrub/trace.h;
+ * please keep the TRACE_DEFINE_ENUMs for it up to date.
  */
 typedef enum {
        XFS_BTNUM_BNOi, XFS_BTNUM_CNTi, XFS_BTNUM_RMAPi, XFS_BTNUM_BMAPi,