diff options
author | Theodore Ts'o <tytso@mit.edu> | 2010-05-17 09:00:00 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-05-17 09:00:00 +0200 |
commit | f307333e14f6b18045eb4198fe646d9b6028f3ed (patch) | |
tree | 71611b08a95f4f07de9b4c19100474188027e62e /fs/ext4/mballoc.c | |
parent | ext4: Add a missing trace hook (diff) | |
download | linux-f307333e14f6b18045eb4198fe646d9b6028f3ed.tar.xz linux-f307333e14f6b18045eb4198fe646d9b6028f3ed.zip |
ext4: Add new tracepoints to track mballoc's buddy bitmap loads
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r-- | fs/ext4/mballoc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 0bdc0188e5e2..a93f554b6803 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c @@ -890,6 +890,7 @@ static int ext4_mb_init_cache(struct page *page, char *incore) BUG_ON(incore == NULL); mb_debug(1, "put buddy for group %u in page %lu/%x\n", group, page->index, i * blocksize); + trace_ext4_mb_buddy_bitmap_load(sb, group); grinfo = ext4_get_group_info(sb, group); grinfo->bb_fragments = 0; memset(grinfo->bb_counters, 0, @@ -907,6 +908,7 @@ static int ext4_mb_init_cache(struct page *page, char *incore) BUG_ON(incore != NULL); mb_debug(1, "put bitmap for group %u in page %lu/%x\n", group, page->index, i * blocksize); + trace_ext4_mb_bitmap_load(sb, group); /* see comments in ext4_mb_put_pa() */ ext4_lock_group(sb, group); |