btrfs: tracepoints: convert flush states to using EM macros
authorNikolay Borisov <nborisov@suse.com>
Fri, 19 Jun 2020 12:24:51 +0000 (15:24 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 27 Jul 2020 10:55:30 +0000 (12:55 +0200)
commitf0cdd15c219dd0be8cae47f60b773efe1361336e
tree5ba370c57b1948c2477b4c53cb56810f934143c0
parentc92bb3046ff639df5c39fea6cfedea6e9885e36d
btrfs: tracepoints: convert flush states to using EM macros

Only 6 out of all flush states were being printed correctly since
only they were exported via the TRACE_DEFINE_ENUM macro. This patch
converts all flush states to use the newly introduced EM macro so that
they can all be printed correctly.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
include/trace/events/btrfs.h