aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/tools
diff options
context:
space:
mode:
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>2015-02-10 19:41:30 +0000
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>2015-02-10 19:41:30 +0000
commitfcb560670601b2a4d87bb31d7531c8dcc37ee71b (patch)
tree04f2661f10ad407d8e68f760bfcd884bcfdc5cc3 /cddl/contrib/opensolaris/tools
parent950813c4870e6ea4cc19aa62349b59a4ea8be9c1 (diff)
downloadsrc-fcb560670601b2a4d87bb31d7531c8dcc37ee71b.tar.gz
src-fcb560670601b2a4d87bb31d7531c8dcc37ee71b.zip
Initial version of DTrace on ARM32.
Submitted by: Howard Su based on work by Oleksandr Tymoshenko Reviewed by: ian, andrew, rpaulo, markj
Notes
Notes: svn path=/head/; revision=278529
Diffstat (limited to 'cddl/contrib/opensolaris/tools')
-rw-r--r--cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c b/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c
index 82ec5fafda4a..c6f47af867d8 100644
--- a/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c
+++ b/cddl/contrib/opensolaris/tools/ctf/cvt/ctf.c
@@ -169,12 +169,12 @@ write_objects(iidesc_t *idp, ctf_buf_t *b)
{
ushort_t id = (idp ? idp->ii_dtype->t_id : 0);
- ctf_buf_write(b, &id, sizeof (id));
-
if (target_requires_swap) {
SWAP_16(id);
}
+ ctf_buf_write(b, &id, sizeof (id));
+
debug(3, "Wrote object %s (%d)\n", (idp ? idp->ii_name : "(null)"), id);
}