From: Darrick J. Wong Date: Wed, 27 Feb 2019 23:13:45 +0000 (-0600) Subject: xfs: stringify scrub types in ftrace output X-Git-Tag: v5.0.0-rc1~55 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Flibxfs-5.0-sync;p=users%2Fhch%2Fxfsprogs.git xfs: stringify scrub types in ftrace output Source kernel commit: 86d163dbfe2ac0b30fbb6e256301abbfa9e4549e Use __print_symbolic to print the scrub type in ftrace output. Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_types.h b/libxfs/xfs_types.h index 75dfa9741..8f02855a0 100644 --- a/libxfs/xfs_types.h +++ b/libxfs/xfs_types.h @@ -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,