Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: jdesfossez@efficios.com (Julien Desfossez)
Subject: [lttng-dev] [PATCH lttng-modules v6 1/5] Add ctf_integer_bitfield_type
Date: Fri, 29 Apr 2016 18:53:20 -0400	[thread overview]
Message-ID: <1461970404-27468-2-git-send-email-jdesfossez@efficios.com> (raw)
In-Reply-To: <1461970404-27468-1-git-send-email-jdesfossez@efficios.com>

Signed-off-by: Julien Desfossez <jdesfossez at efficios.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
---
 probes/lttng-events-write.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/probes/lttng-events-write.h b/probes/lttng-events-write.h
index 5db66eb..87741a1 100644
--- a/probes/lttng-events-write.h
+++ b/probes/lttng-events-write.h
@@ -22,6 +22,10 @@
 #define ctf_integer(_type, _item, _src)				\
 	_ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 10, 0, 0)
 
+#undef ctf_integer_bitfield
+#define ctf_integer_bitfield(_type, _item, _src)			\
+	_ctf_integer_ext(_type, _item, _src, __LITTLE_ENDIAN, 10, 0, 0)
+
 #undef ctf_integer_hex
 #define ctf_integer_hex(_type, _item, _src)			\
 	_ctf_integer_ext(_type, _item, _src, __BYTE_ORDER, 16, 0, 0)
@@ -145,6 +149,10 @@
 #define ctf_integer_type(_type, _src)					\
 	ctf_integer(_type, unused, _src)
 
+#undef ctf_integer_bitfield_type
+#define ctf_integer_bitfield_type(_type, _src)				\
+	ctf_integer_bitfield(_type, unused, _src)
+
 #undef ctf_integer_hex_type
 #define ctf_integer_hex_type(_type, _src)				\
 	ctf_integer_hex(_type, unused, _src)
-- 
1.9.1



  reply	other threads:[~2016-04-29 22:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-29 22:53 [lttng-dev] [PATCH lttng-modules v6 0/5] Extract payload from polling syscalls Julien Desfossez
2016-04-29 22:53 ` Julien Desfossez [this message]
2016-04-29 22:53 ` [lttng-dev] [PATCH lttng-modules v6 2/5] Extract the FD sets in select and pselect6 Julien Desfossez
2016-04-29 22:53 ` [lttng-dev] [PATCH lttng-modules v6 3/5] Extract the FDs and flags from poll and ppoll Julien Desfossez
2016-04-30 14:14   ` Mathieu Desnoyers
2016-04-29 22:53 ` [lttng-dev] [PATCH lttng-modules v6 4/5] Extract the payload for epoll_ctl Julien Desfossez
2016-04-30 14:17   ` Mathieu Desnoyers
2016-04-30 14:19     ` Mathieu Desnoyers
2016-04-30 14:54       ` Julien Desfossez
2016-04-29 22:53 ` [lttng-dev] [PATCH lttng-modules v6 5/5] Extract the payload of epoll_wait/epoll_pwait Julien Desfossez
2016-04-30 14:22   ` Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461970404-27468-2-git-send-email-jdesfossez@efficios.com \
    --to=jdesfossez@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox