scoutfs: remove bio page add trace

This is a very chatty trace evenet that doesn't add much value.  Let's
remove it and make a lot more room for other more interesting trace
events.

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2018-03-07 15:35:15 -08:00
committed by Zach Brown
parent 6adb24f0f5
commit 8ec5b7efe3
2 changed files with 0 additions and 23 deletions

View File

@@ -122,8 +122,6 @@ void scoutfs_bio_submit(struct super_block *sb, int rw, struct page **pages,
continue;
}
trace_scoutfs_bio_submit_added(sb, page, bio);
blkno += SCOUTFS_BLOCKS_PER_PAGE;
nr_blocks -= SCOUTFS_BLOCKS_PER_PAGE;
}

View File

@@ -148,27 +148,6 @@ TRACE_EVENT(scoutfs_bio_init_comp,
TP_printk("initing comp %p", __entry->comp)
);
TRACE_EVENT(scoutfs_bio_submit_added,
TP_PROTO(struct super_block *sb, void *page, void *bio),
TP_ARGS(sb, page, bio),
TP_STRUCT__entry(
__field(__u64, fsid)
__field(void *, page)
__field(void *, bio)
),
TP_fast_assign(
__entry->fsid = FSID_ARG(sb);
__entry->page = page;
__entry->bio = bio;
),
TP_printk(FSID_FMT" added page %p to bio %p", __entry->fsid,
__entry->page, __entry->bio)
);
DECLARE_EVENT_CLASS(scoutfs_bio_class,
TP_PROTO(struct super_block *sb, void *bio, void *args, int in_flight),