forked from Minki/linux
xfs: standardize AG number formatting in ftrace output
Always print allocation group numbers in hexadecimal and preceded with the unit "agno". Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
This commit is contained in:
parent
af6265a008
commit
9febf39dfe
@ -103,7 +103,7 @@ DECLARE_EVENT_CLASS(xchk_class,
|
||||
__entry->flags = sm->sm_flags;
|
||||
__entry->error = error;
|
||||
),
|
||||
TP_printk("dev %d:%d ino 0x%llx type %s agno %u inum 0x%llx gen %u flags 0x%x error %d",
|
||||
TP_printk("dev %d:%d ino 0x%llx type %s agno 0x%x inum 0x%llx gen %u flags 0x%x error %d",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->ino,
|
||||
__print_symbolic(__entry->type, XFS_SCRUB_TYPE_STRINGS),
|
||||
@ -145,7 +145,7 @@ TRACE_EVENT(xchk_op_error,
|
||||
__entry->error = error;
|
||||
__entry->ret_ip = ret_ip;
|
||||
),
|
||||
TP_printk("dev %d:%d type %s agno %u agbno %u error %d ret_ip %pS",
|
||||
TP_printk("dev %d:%d type %s agno 0x%x agbno %u error %d ret_ip %pS",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__print_symbolic(__entry->type, XFS_SCRUB_TYPE_STRINGS),
|
||||
__entry->agno,
|
||||
@ -203,7 +203,7 @@ DECLARE_EVENT_CLASS(xchk_block_error_class,
|
||||
__entry->agbno = xfs_daddr_to_agbno(sc->mp, daddr);
|
||||
__entry->ret_ip = ret_ip;
|
||||
),
|
||||
TP_printk("dev %d:%d type %s agno %u agbno %u ret_ip %pS",
|
||||
TP_printk("dev %d:%d type %s agno 0x%x agbno %u ret_ip %pS",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__print_symbolic(__entry->type, XFS_SCRUB_TYPE_STRINGS),
|
||||
__entry->agno,
|
||||
@ -338,7 +338,7 @@ TRACE_EVENT(xchk_btree_op_error,
|
||||
__entry->error = error;
|
||||
__entry->ret_ip = ret_ip;
|
||||
),
|
||||
TP_printk("dev %d:%d type %s btree %s level %d ptr %d agno %u agbno %u error %d ret_ip %pS",
|
||||
TP_printk("dev %d:%d type %s btree %s level %d ptr %d agno 0x%x agbno %u error %d ret_ip %pS",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__print_symbolic(__entry->type, XFS_SCRUB_TYPE_STRINGS),
|
||||
__print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
|
||||
@ -381,7 +381,7 @@ TRACE_EVENT(xchk_ifork_btree_op_error,
|
||||
__entry->error = error;
|
||||
__entry->ret_ip = ret_ip;
|
||||
),
|
||||
TP_printk("dev %d:%d ino 0x%llx fork %d type %s btree %s level %d ptr %d agno %u agbno %u error %d ret_ip %pS",
|
||||
TP_printk("dev %d:%d ino 0x%llx fork %d type %s btree %s level %d ptr %d agno 0x%x agbno %u error %d ret_ip %pS",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->ino,
|
||||
__entry->whichfork,
|
||||
@ -420,7 +420,7 @@ TRACE_EVENT(xchk_btree_error,
|
||||
__entry->ptr = cur->bc_ptrs[level];
|
||||
__entry->ret_ip = ret_ip;
|
||||
),
|
||||
TP_printk("dev %d:%d type %s btree %s level %d ptr %d agno %u agbno %u ret_ip %pS",
|
||||
TP_printk("dev %d:%d type %s btree %s level %d ptr %d agno 0x%x agbno %u ret_ip %pS",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__print_symbolic(__entry->type, XFS_SCRUB_TYPE_STRINGS),
|
||||
__print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
|
||||
@ -460,7 +460,7 @@ TRACE_EVENT(xchk_ifork_btree_error,
|
||||
__entry->ptr = cur->bc_ptrs[level];
|
||||
__entry->ret_ip = ret_ip;
|
||||
),
|
||||
TP_printk("dev %d:%d ino 0x%llx fork %d type %s btree %s level %d ptr %d agno %u agbno %u ret_ip %pS",
|
||||
TP_printk("dev %d:%d ino 0x%llx fork %d type %s btree %s level %d ptr %d agno 0x%x agbno %u ret_ip %pS",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->ino,
|
||||
__entry->whichfork,
|
||||
@ -499,7 +499,7 @@ DECLARE_EVENT_CLASS(xchk_sbtree_class,
|
||||
__entry->nlevels = cur->bc_nlevels;
|
||||
__entry->ptr = cur->bc_ptrs[level];
|
||||
),
|
||||
TP_printk("dev %d:%d type %s btree %s agno %u agbno %u level %d nlevels %d ptr %d",
|
||||
TP_printk("dev %d:%d type %s btree %s agno 0x%x agbno %u level %d nlevels %d ptr %d",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__print_symbolic(__entry->type, XFS_SCRUB_TYPE_STRINGS),
|
||||
__print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
|
||||
@ -572,7 +572,7 @@ TRACE_EVENT(xchk_iallocbt_check_cluster,
|
||||
__entry->holemask = holemask;
|
||||
__entry->cluster_ino = cluster_ino;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %d startino 0x%x daddr 0x%llx len %d chunkino 0x%x nr_inodes %u cluster_mask 0x%x holemask 0x%x cluster_ino 0x%x",
|
||||
TP_printk("dev %d:%d agno 0x%x startino 0x%x daddr 0x%llx len %d chunkino 0x%x nr_inodes %u cluster_mask 0x%x holemask 0x%x cluster_ino 0x%x",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->startino,
|
||||
@ -662,7 +662,7 @@ DECLARE_EVENT_CLASS(xrep_extent_class,
|
||||
__entry->agbno = agbno;
|
||||
__entry->len = len;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->agbno,
|
||||
@ -699,7 +699,7 @@ DECLARE_EVENT_CLASS(xrep_rmap_class,
|
||||
__entry->offset = offset;
|
||||
__entry->flags = flags;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u owner %lld offset %llu flags 0x%x",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u owner %lld offset %llu flags 0x%x",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->agbno,
|
||||
@ -737,7 +737,7 @@ TRACE_EVENT(xrep_refcount_extent_fn,
|
||||
__entry->blockcount = irec->rc_blockcount;
|
||||
__entry->refcount = irec->rc_refcount;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u refcount %u",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u refcount %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->startblock,
|
||||
@ -761,7 +761,7 @@ TRACE_EVENT(xrep_init_btblock,
|
||||
__entry->agbno = agbno;
|
||||
__entry->btnum = btnum;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u btree %s",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u btree %s",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->agbno,
|
||||
@ -785,7 +785,7 @@ TRACE_EVENT(xrep_findroot_block,
|
||||
__entry->magic = magic;
|
||||
__entry->level = level;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u magic 0x%x level %u",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u magic 0x%x level %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->agbno,
|
||||
@ -813,7 +813,7 @@ TRACE_EVENT(xrep_calc_ag_resblks,
|
||||
__entry->freelen = freelen;
|
||||
__entry->usedlen = usedlen;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %d icount %u aglen %u freelen %u usedlen %u",
|
||||
TP_printk("dev %d:%d agno 0x%x icount %u aglen %u freelen %u usedlen %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->icount,
|
||||
@ -842,7 +842,7 @@ TRACE_EVENT(xrep_calc_ag_resblks_btsize,
|
||||
__entry->rmapbt_sz = rmapbt_sz;
|
||||
__entry->refcbt_sz = refcbt_sz;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %d bnobt %u inobt %u rmapbt %u refcountbt %u",
|
||||
TP_printk("dev %d:%d agno 0x%x bnobt %u inobt %u rmapbt %u refcountbt %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->bnobt_sz,
|
||||
@ -886,7 +886,7 @@ TRACE_EVENT(xrep_ialloc_insert,
|
||||
__entry->freecount = freecount;
|
||||
__entry->freemask = freemask;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %d startino 0x%x holemask 0x%x count %u freecount %u freemask 0x%llx",
|
||||
TP_printk("dev %d:%d agno 0x%x startino 0x%x holemask 0x%x count %u freecount %u freemask 0x%llx",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->startino,
|
||||
|
@ -139,7 +139,7 @@ DECLARE_EVENT_CLASS(xfs_perag_class,
|
||||
__entry->refcount = refcount;
|
||||
__entry->caller_ip = caller_ip;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u refcount %d caller %pS",
|
||||
TP_printk("dev %d:%d agno 0x%x refcount %d caller %pS",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->refcount,
|
||||
@ -246,7 +246,7 @@ DECLARE_EVENT_CLASS(xfs_ag_class,
|
||||
__entry->dev = mp->m_super->s_dev;
|
||||
__entry->agno = agno;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u",
|
||||
TP_printk("dev %d:%d agno 0x%x",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno)
|
||||
);
|
||||
@ -612,7 +612,7 @@ DECLARE_EVENT_CLASS(xfs_filestream_class,
|
||||
__entry->agno = agno;
|
||||
__entry->streams = xfs_filestream_peek_ag(mp, agno);
|
||||
),
|
||||
TP_printk("dev %d:%d ino 0x%llx agno %u streams %d",
|
||||
TP_printk("dev %d:%d ino 0x%llx agno 0x%x streams %d",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->ino,
|
||||
__entry->agno,
|
||||
@ -646,7 +646,7 @@ TRACE_EVENT(xfs_filestream_pick,
|
||||
__entry->free = free;
|
||||
__entry->nscan = nscan;
|
||||
),
|
||||
TP_printk("dev %d:%d ino 0x%llx agno %u streams %d free %d nscan %d",
|
||||
TP_printk("dev %d:%d ino 0x%llx agno 0x%x streams %d free %d nscan %d",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->ino,
|
||||
__entry->agno,
|
||||
@ -858,7 +858,7 @@ TRACE_EVENT(xfs_irec_merge_pre,
|
||||
__entry->nagino = nagino;
|
||||
__entry->nholemask = holemask;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %d agino 0x%x holemask 0x%x new_agino 0x%x new_holemask 0x%x",
|
||||
TP_printk("dev %d:%d agno 0x%x agino 0x%x holemask 0x%x new_agino 0x%x new_holemask 0x%x",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->agino,
|
||||
@ -883,7 +883,7 @@ TRACE_EVENT(xfs_irec_merge_post,
|
||||
__entry->agino = agino;
|
||||
__entry->holemask = holemask;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %d agino 0x%x holemask 0x%x",
|
||||
TP_printk("dev %d:%d agno 0x%x agino 0x%x holemask 0x%x",
|
||||
MAJOR(__entry->dev),
|
||||
MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
@ -1607,7 +1607,7 @@ DECLARE_EVENT_CLASS(xfs_extent_busy_class,
|
||||
__entry->agbno = agbno;
|
||||
__entry->len = len;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->agbno,
|
||||
@ -1645,7 +1645,7 @@ TRACE_EVENT(xfs_extent_busy_trim,
|
||||
__entry->tbno = tbno;
|
||||
__entry->tlen = tlen;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u tbno %u tlen %u",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u tbno %u tlen %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->agbno,
|
||||
@ -1692,7 +1692,7 @@ DECLARE_EVENT_CLASS(xfs_agf_class,
|
||||
__entry->longest = be32_to_cpu(agf->agf_longest);
|
||||
__entry->caller_ip = caller_ip;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u flags %s length %u roots b %u c %u "
|
||||
TP_printk("dev %d:%d agno 0x%x flags %s length %u roots b %u c %u "
|
||||
"levels b %u c %u flfirst %u fllast %u flcount %u "
|
||||
"freeblks %u longest %u caller %pS",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
@ -1741,7 +1741,7 @@ TRACE_EVENT(xfs_free_extent,
|
||||
__entry->haveleft = haveleft;
|
||||
__entry->haveright = haveright;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u resv %d %s",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u resv %d %s",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->agbno,
|
||||
@ -1798,7 +1798,7 @@ DECLARE_EVENT_CLASS(xfs_alloc_class,
|
||||
__entry->datatype = args->datatype;
|
||||
__entry->firstblock = args->tp->t_firstblock;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u minlen %u maxlen %u mod %u "
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u minlen %u maxlen %u mod %u "
|
||||
"prod %u minleft %u total %u alignment %u minalignslop %u "
|
||||
"len %u type %s otype %s wasdel %d wasfromfl %d resv %d "
|
||||
"datatype 0x%x firstblock 0x%llx",
|
||||
@ -2369,7 +2369,7 @@ DECLARE_EVENT_CLASS(xfs_log_recover_icreate_item_class,
|
||||
__entry->length = be32_to_cpu(in_f->icl_length);
|
||||
__entry->gen = be32_to_cpu(in_f->icl_gen);
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u count %u isize %u length %u "
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u count %u isize %u length %u "
|
||||
"gen %u", MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno, __entry->agbno, __entry->count, __entry->isize,
|
||||
__entry->length, __entry->gen)
|
||||
@ -2398,7 +2398,7 @@ DECLARE_EVENT_CLASS(xfs_discard_class,
|
||||
__entry->agbno = agbno;
|
||||
__entry->len = len;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->agbno,
|
||||
@ -2557,7 +2557,7 @@ DECLARE_EVENT_CLASS(xfs_phys_extent_deferred_class,
|
||||
__entry->agbno = agbno;
|
||||
__entry->len = len;
|
||||
),
|
||||
TP_printk("dev %d:%d op %d agno %u agbno %u len %u",
|
||||
TP_printk("dev %d:%d op %d agno 0x%x agbno %u len %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->type,
|
||||
__entry->agno,
|
||||
@ -2604,7 +2604,7 @@ DECLARE_EVENT_CLASS(xfs_map_extent_deferred_class,
|
||||
__entry->l_state = state;
|
||||
__entry->op = op;
|
||||
),
|
||||
TP_printk("dev %d:%d op %d agno %u agbno %u owner %lld %s offset %llu len %llu state %d",
|
||||
TP_printk("dev %d:%d op %d agno 0x%x agbno %u owner %lld %s offset %llu len %llu state %d",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->op,
|
||||
__entry->agno,
|
||||
@ -2674,7 +2674,7 @@ DECLARE_EVENT_CLASS(xfs_rmap_class,
|
||||
if (unwritten)
|
||||
__entry->flags |= XFS_RMAP_UNWRITTEN;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u owner %lld offset %llu flags 0x%lx",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u owner %lld offset %llu flags 0x%lx",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->agbno,
|
||||
@ -2707,7 +2707,7 @@ DECLARE_EVENT_CLASS(xfs_ag_error_class,
|
||||
__entry->error = error;
|
||||
__entry->caller_ip = caller_ip;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u error %d caller %pS",
|
||||
TP_printk("dev %d:%d agno 0x%x error %d caller %pS",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->error,
|
||||
@ -2754,7 +2754,7 @@ DECLARE_EVENT_CLASS(xfs_rmapbt_class,
|
||||
__entry->offset = offset;
|
||||
__entry->flags = flags;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u owner %lld offset %llu flags 0x%x",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u owner %lld offset %llu flags 0x%x",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->agbno,
|
||||
@ -2823,7 +2823,7 @@ DECLARE_EVENT_CLASS(xfs_ag_resv_class,
|
||||
__entry->asked = r ? r->ar_asked : 0;
|
||||
__entry->len = len;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u resv %d freeblks %u flcount %u "
|
||||
TP_printk("dev %d:%d agno 0x%x resv %d freeblks %u flcount %u "
|
||||
"resv %u ask %u len %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
@ -2876,7 +2876,7 @@ DECLARE_EVENT_CLASS(xfs_ag_btree_lookup_class,
|
||||
__entry->agbno = agbno;
|
||||
__entry->dir = dir;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u cmp %s(%d)",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u cmp %s(%d)",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->agbno,
|
||||
@ -2909,7 +2909,7 @@ DECLARE_EVENT_CLASS(xfs_refcount_extent_class,
|
||||
__entry->blockcount = irec->rc_blockcount;
|
||||
__entry->refcount = irec->rc_refcount;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u refcount %u",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u refcount %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->startblock,
|
||||
@ -2944,7 +2944,7 @@ DECLARE_EVENT_CLASS(xfs_refcount_extent_at_class,
|
||||
__entry->refcount = irec->rc_refcount;
|
||||
__entry->agbno = agbno;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u refcount %u @ agbno %u",
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u refcount %u @ agbno %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->startblock,
|
||||
@ -2984,7 +2984,7 @@ DECLARE_EVENT_CLASS(xfs_refcount_double_extent_class,
|
||||
__entry->i2_blockcount = i2->rc_blockcount;
|
||||
__entry->i2_refcount = i2->rc_refcount;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u refcount %u -- "
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u refcount %u -- "
|
||||
"agbno %u len %u refcount %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
@ -3030,7 +3030,7 @@ DECLARE_EVENT_CLASS(xfs_refcount_double_extent_at_class,
|
||||
__entry->i2_refcount = i2->rc_refcount;
|
||||
__entry->agbno = agbno;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u refcount %u -- "
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u refcount %u -- "
|
||||
"agbno %u len %u refcount %u @ agbno %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
@ -3082,7 +3082,7 @@ DECLARE_EVENT_CLASS(xfs_refcount_triple_extent_class,
|
||||
__entry->i3_blockcount = i3->rc_blockcount;
|
||||
__entry->i3_refcount = i3->rc_refcount;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agbno %u len %u refcount %u -- "
|
||||
TP_printk("dev %d:%d agno 0x%x agbno %u len %u refcount %u -- "
|
||||
"agbno %u len %u refcount %u -- "
|
||||
"agbno %u len %u refcount %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
@ -3171,7 +3171,7 @@ TRACE_EVENT(xfs_refcount_finish_one_leftover,
|
||||
__entry->new_agbno = new_agbno;
|
||||
__entry->new_len = new_len;
|
||||
),
|
||||
TP_printk("dev %d:%d type %d agno %u agbno %u len %u new_agbno %u new_len %u",
|
||||
TP_printk("dev %d:%d type %d agno 0x%x agbno %u len %u new_agbno %u new_len %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->type,
|
||||
__entry->agno,
|
||||
@ -3423,7 +3423,7 @@ DECLARE_EVENT_CLASS(xfs_fsmap_class,
|
||||
__entry->offset = rmap->rm_offset;
|
||||
__entry->flags = rmap->rm_flags;
|
||||
),
|
||||
TP_printk("dev %d:%d keydev %d:%d agno %u bno %llu len %llu owner %lld offset %llu flags 0x%x",
|
||||
TP_printk("dev %d:%d keydev %d:%d agno 0x%x bno %llu len %llu owner %lld offset %llu flags 0x%x",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
MAJOR(__entry->keydev), MINOR(__entry->keydev),
|
||||
__entry->agno,
|
||||
@ -3562,7 +3562,7 @@ TRACE_EVENT(xfs_iunlink_update_bucket,
|
||||
__entry->old_ptr = old_ptr;
|
||||
__entry->new_ptr = new_ptr;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u bucket %u old 0x%x new 0x%x",
|
||||
TP_printk("dev %d:%d agno 0x%x bucket %u old 0x%x new 0x%x",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->bucket,
|
||||
@ -3588,7 +3588,7 @@ TRACE_EVENT(xfs_iunlink_update_dinode,
|
||||
__entry->old_ptr = old_ptr;
|
||||
__entry->new_ptr = new_ptr;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agino 0x%x old 0x%x new 0x%x",
|
||||
TP_printk("dev %d:%d agno 0x%x agino 0x%x old 0x%x new 0x%x",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno,
|
||||
__entry->agino,
|
||||
@ -3609,7 +3609,7 @@ DECLARE_EVENT_CLASS(xfs_ag_inode_class,
|
||||
__entry->agno = XFS_INO_TO_AGNO(ip->i_mount, ip->i_ino);
|
||||
__entry->agino = XFS_INO_TO_AGINO(ip->i_mount, ip->i_ino);
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u agino 0x%x",
|
||||
TP_printk("dev %d:%d agno 0x%x agino 0x%x",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno, __entry->agino)
|
||||
)
|
||||
@ -3661,7 +3661,7 @@ DECLARE_EVENT_CLASS(xfs_ag_corrupt_class,
|
||||
__entry->agno = agno;
|
||||
__entry->flags = flags;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %u flags 0x%x",
|
||||
TP_printk("dev %d:%d agno 0x%x flags 0x%x",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__entry->agno, __entry->flags)
|
||||
);
|
||||
@ -3712,7 +3712,7 @@ TRACE_EVENT(xfs_iwalk_ag,
|
||||
__entry->agno = agno;
|
||||
__entry->startino = startino;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %d startino 0x%x",
|
||||
TP_printk("dev %d:%d agno 0x%x startino 0x%x",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev), __entry->agno,
|
||||
__entry->startino)
|
||||
)
|
||||
@ -3733,7 +3733,7 @@ TRACE_EVENT(xfs_iwalk_ag_rec,
|
||||
__entry->startino = irec->ir_startino;
|
||||
__entry->freemask = irec->ir_free;
|
||||
),
|
||||
TP_printk("dev %d:%d agno %d startino 0x%x freemask 0x%llx",
|
||||
TP_printk("dev %d:%d agno 0x%x startino 0x%x freemask 0x%llx",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev), __entry->agno,
|
||||
__entry->startino, __entry->freemask)
|
||||
)
|
||||
@ -3821,7 +3821,7 @@ TRACE_EVENT(xfs_btree_commit_afakeroot,
|
||||
__entry->levels = cur->bc_ag.afake->af_levels;
|
||||
__entry->blocks = cur->bc_ag.afake->af_blocks;
|
||||
),
|
||||
TP_printk("dev %d:%d btree %s ag %u levels %u blocks %u root %u",
|
||||
TP_printk("dev %d:%d btree %s agno 0x%x levels %u blocks %u root %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
|
||||
__entry->agno,
|
||||
@ -3853,7 +3853,7 @@ TRACE_EVENT(xfs_btree_commit_ifakeroot,
|
||||
__entry->blocks = cur->bc_ino.ifake->if_blocks;
|
||||
__entry->whichfork = cur->bc_ino.whichfork;
|
||||
),
|
||||
TP_printk("dev %d:%d btree %s ag %u agino 0x%x whichfork %s levels %u blocks %u",
|
||||
TP_printk("dev %d:%d btree %s agno 0x%x agino 0x%x whichfork %s levels %u blocks %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
|
||||
__entry->agno,
|
||||
@ -3936,7 +3936,7 @@ TRACE_EVENT(xfs_btree_bload_block,
|
||||
}
|
||||
__entry->nr_records = nr_records;
|
||||
),
|
||||
TP_printk("dev %d:%d btree %s level %u block %llu/%llu fsb (%u/%u) recs %u",
|
||||
TP_printk("dev %d:%d btree %s level %u block %llu/%llu agno 0x%x agbno %u recs %u",
|
||||
MAJOR(__entry->dev), MINOR(__entry->dev),
|
||||
__print_symbolic(__entry->btnum, XFS_BTNUM_STRINGS),
|
||||
__entry->level,
|
||||
|
Loading…
Reference in New Issue
Block a user