mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-07 19:20:44 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user