btrfs: prefix fsid to all trace events
authorJeff Mahoney <jeffm@suse.com>
Thu, 9 Jun 2016 21:27:55 +0000 (17:27 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Jul 2016 11:53:16 +0000 (13:53 +0200)
commitbc074524e123ded281cde25ebc5661910f9679e3
treef8231fd35d5cf2838817c40df07c40a1b8f9f911
parentcb001095ca705dcd95f57fe98867e38a4889916d
btrfs: prefix fsid to all trace events

When using trace events to debug a problem, it's impossible to determine
which file system generated a particular event.  This patch adds a
macro to prefix standard information to the head of a trace event.

The extent_state alloc/free events are all that's left without an
fs_info available.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-ref.c
fs/btrfs/extent-tree.c
fs/btrfs/qgroup.c
fs/btrfs/qgroup.h
fs/btrfs/super.c
include/trace/events/btrfs.h