diff options
author | Charles Manning <cdhmanning@gmail.com> | 2010-12-10 15:15:30 +1300 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2010-12-10 15:15:30 +1300 |
commit | 79d0e028d5b777b2e4cf55d96b737cb024988abe (patch) | |
tree | 73e95fda748d315f0ff77e1f4886e95649a264e6 /yaffs_packedtags2.c | |
parent | fb1a7ee223619260cfd9b6366fd78747cc572cd5 (diff) |
yaffs Change tracing to yaffs_trace
Make the tracing a whole lot easier on the eye.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_packedtags2.c')
-rw-r--r-- | yaffs_packedtags2.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/yaffs_packedtags2.c b/yaffs_packedtags2.c index 6c12aed..8e7fea3 100644 --- a/yaffs_packedtags2.c +++ b/yaffs_packedtags2.c @@ -41,9 +41,9 @@ static void yaffs_dump_packed_tags2_tags_only(const struct yaffs_packed_tags2_tags_only *ptt) { - T(YAFFS_TRACE_MTD, - (TSTR("packed tags obj %d chunk %d byte %d seq %d" TENDSTR), - ptt->obj_id, ptt->chunk_id, ptt->n_bytes, ptt->seq_number)); + yaffs_trace(YAFFS_TRACE_MTD, + "packed tags obj %d chunk %d byte %d seq %d", + ptt->obj_id, ptt->chunk_id, ptt->n_bytes, ptt->seq_number); } static void yaffs_dump_packed_tags2(const struct yaffs_packed_tags2 *pt) @@ -53,12 +53,11 @@ static void yaffs_dump_packed_tags2(const struct yaffs_packed_tags2 *pt) static void yaffs_dump_tags2(const struct yaffs_ext_tags *t) { - T(YAFFS_TRACE_MTD, - (TSTR - ("ext.tags eccres %d blkbad %d chused %d obj %d chunk%d byte %d del %d ser %d seq %d" - TENDSTR), t->ecc_result, t->block_bad, t->chunk_used, t->obj_id, - t->chunk_id, t->n_bytes, t->is_deleted, t->serial_number, - t->seq_number)); + yaffs_trace(YAFFS_TRACE_MTD, + "ext.tags eccres %d blkbad %d chused %d obj %d chunk%d byte %d del %d ser %d seq %d", + t->ecc_result, t->block_bad, t->chunk_used, t->obj_id, + t->chunk_id, t->n_bytes, t->is_deleted, t->serial_number, + t->seq_number); } |