diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_trace.h')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_trace.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/fs/xfs/linux-2.6/xfs_trace.h b/fs/xfs/linux-2.6/xfs_trace.h index a4574dcf5065..fcaa62f0799e 100644 --- a/fs/xfs/linux-2.6/xfs_trace.h +++ b/fs/xfs/linux-2.6/xfs_trace.h | |||
@@ -197,13 +197,13 @@ TRACE_EVENT(xfs_iext_insert, | |||
197 | __entry->caller_ip = caller_ip; | 197 | __entry->caller_ip = caller_ip; |
198 | ), | 198 | ), |
199 | TP_printk("dev %d:%d ino 0x%llx state %s idx %ld " | 199 | TP_printk("dev %d:%d ino 0x%llx state %s idx %ld " |
200 | "offset %lld block %s count %lld flag %d caller %pf", | 200 | "offset %lld block %lld count %lld flag %d caller %pf", |
201 | MAJOR(__entry->dev), MINOR(__entry->dev), | 201 | MAJOR(__entry->dev), MINOR(__entry->dev), |
202 | __entry->ino, | 202 | __entry->ino, |
203 | __print_flags(__entry->bmap_state, "|", XFS_BMAP_EXT_FLAGS), | 203 | __print_flags(__entry->bmap_state, "|", XFS_BMAP_EXT_FLAGS), |
204 | (long)__entry->idx, | 204 | (long)__entry->idx, |
205 | __entry->startoff, | 205 | __entry->startoff, |
206 | xfs_fmtfsblock(__entry->startblock), | 206 | (__int64_t)__entry->startblock, |
207 | __entry->blockcount, | 207 | __entry->blockcount, |
208 | __entry->state, | 208 | __entry->state, |
209 | (char *)__entry->caller_ip) | 209 | (char *)__entry->caller_ip) |
@@ -241,13 +241,13 @@ DECLARE_EVENT_CLASS(xfs_bmap_class, | |||
241 | __entry->caller_ip = caller_ip; | 241 | __entry->caller_ip = caller_ip; |
242 | ), | 242 | ), |
243 | TP_printk("dev %d:%d ino 0x%llx state %s idx %ld " | 243 | TP_printk("dev %d:%d ino 0x%llx state %s idx %ld " |
244 | "offset %lld block %s count %lld flag %d caller %pf", | 244 | "offset %lld block %lld count %lld flag %d caller %pf", |
245 | MAJOR(__entry->dev), MINOR(__entry->dev), | 245 | MAJOR(__entry->dev), MINOR(__entry->dev), |
246 | __entry->ino, | 246 | __entry->ino, |
247 | __print_flags(__entry->bmap_state, "|", XFS_BMAP_EXT_FLAGS), | 247 | __print_flags(__entry->bmap_state, "|", XFS_BMAP_EXT_FLAGS), |
248 | (long)__entry->idx, | 248 | (long)__entry->idx, |
249 | __entry->startoff, | 249 | __entry->startoff, |
250 | xfs_fmtfsblock(__entry->startblock), | 250 | (__int64_t)__entry->startblock, |
251 | __entry->blockcount, | 251 | __entry->blockcount, |
252 | __entry->state, | 252 | __entry->state, |
253 | (char *)__entry->caller_ip) | 253 | (char *)__entry->caller_ip) |
@@ -593,7 +593,7 @@ DECLARE_EVENT_CLASS(xfs_dquot_class, | |||
593 | TP_ARGS(dqp), | 593 | TP_ARGS(dqp), |
594 | TP_STRUCT__entry( | 594 | TP_STRUCT__entry( |
595 | __field(dev_t, dev) | 595 | __field(dev_t, dev) |
596 | __field(__be32, id) | 596 | __field(u32, id) |
597 | __field(unsigned, flags) | 597 | __field(unsigned, flags) |
598 | __field(unsigned, nrefs) | 598 | __field(unsigned, nrefs) |
599 | __field(unsigned long long, res_bcount) | 599 | __field(unsigned long long, res_bcount) |
@@ -606,7 +606,7 @@ DECLARE_EVENT_CLASS(xfs_dquot_class, | |||
606 | ), \ | 606 | ), \ |
607 | TP_fast_assign( | 607 | TP_fast_assign( |
608 | __entry->dev = dqp->q_mount->m_super->s_dev; | 608 | __entry->dev = dqp->q_mount->m_super->s_dev; |
609 | __entry->id = dqp->q_core.d_id; | 609 | __entry->id = be32_to_cpu(dqp->q_core.d_id); |
610 | __entry->flags = dqp->dq_flags; | 610 | __entry->flags = dqp->dq_flags; |
611 | __entry->nrefs = dqp->q_nrefs; | 611 | __entry->nrefs = dqp->q_nrefs; |
612 | __entry->res_bcount = dqp->q_res_bcount; | 612 | __entry->res_bcount = dqp->q_res_bcount; |
@@ -622,10 +622,10 @@ DECLARE_EVENT_CLASS(xfs_dquot_class, | |||
622 | be64_to_cpu(dqp->q_core.d_ino_softlimit); | 622 | be64_to_cpu(dqp->q_core.d_ino_softlimit); |
623 | ), | 623 | ), |
624 | TP_printk("dev %d:%d id 0x%x flags %s nrefs %u res_bc 0x%llx " | 624 | TP_printk("dev %d:%d id 0x%x flags %s nrefs %u res_bc 0x%llx " |
625 | "bcnt 0x%llx [hard 0x%llx | soft 0x%llx] " | 625 | "bcnt 0x%llx bhardlimit 0x%llx bsoftlimit 0x%llx " |
626 | "icnt 0x%llx [hard 0x%llx | soft 0x%llx]", | 626 | "icnt 0x%llx ihardlimit 0x%llx isoftlimit 0x%llx]", |
627 | MAJOR(__entry->dev), MINOR(__entry->dev), | 627 | MAJOR(__entry->dev), MINOR(__entry->dev), |
628 | be32_to_cpu(__entry->id), | 628 | __entry->id, |
629 | __print_flags(__entry->flags, "|", XFS_DQ_FLAGS), | 629 | __print_flags(__entry->flags, "|", XFS_DQ_FLAGS), |
630 | __entry->nrefs, | 630 | __entry->nrefs, |
631 | __entry->res_bcount, | 631 | __entry->res_bcount, |
@@ -881,7 +881,7 @@ TRACE_EVENT(name, \ | |||
881 | ), \ | 881 | ), \ |
882 | TP_printk("dev %d:%d ino 0x%llx size 0x%llx new_size 0x%llx " \ | 882 | TP_printk("dev %d:%d ino 0x%llx size 0x%llx new_size 0x%llx " \ |
883 | "offset 0x%llx count %zd flags %s " \ | 883 | "offset 0x%llx count %zd flags %s " \ |
884 | "startoff 0x%llx startblock %s blockcount 0x%llx", \ | 884 | "startoff 0x%llx startblock %lld blockcount 0x%llx", \ |
885 | MAJOR(__entry->dev), MINOR(__entry->dev), \ | 885 | MAJOR(__entry->dev), MINOR(__entry->dev), \ |
886 | __entry->ino, \ | 886 | __entry->ino, \ |
887 | __entry->size, \ | 887 | __entry->size, \ |
@@ -890,7 +890,7 @@ TRACE_EVENT(name, \ | |||
890 | __entry->count, \ | 890 | __entry->count, \ |
891 | __print_flags(__entry->flags, "|", BMAPI_FLAGS), \ | 891 | __print_flags(__entry->flags, "|", BMAPI_FLAGS), \ |
892 | __entry->startoff, \ | 892 | __entry->startoff, \ |
893 | xfs_fmtfsblock(__entry->startblock), \ | 893 | (__int64_t)__entry->startblock, \ |
894 | __entry->blockcount) \ | 894 | __entry->blockcount) \ |
895 | ) | 895 | ) |
896 | DEFINE_IOMAP_EVENT(xfs_iomap_enter); | 896 | DEFINE_IOMAP_EVENT(xfs_iomap_enter); |