From: jdesfossez@efficios.com (Julien Desfossez)
Subject: [lttng-dev] [PATCH lttng-modules v5 1/5] Add ctf_integer_bitfield_type
Date: Fri, 22 Apr 2016 20:16:48 -0400 [thread overview]
Message-ID: <1461370612-15264-2-git-send-email-jdesfossez@efficios.com> (raw)
In-Reply-To: <1461370612-15264-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
next prev parent reply other threads:[~2016-04-23 0:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-23 0:16 [lttng-dev] [PATCH lttng-modules v5 0/5] Extract payload from polling syscalls Julien Desfossez
2016-04-23 0:16 ` Julien Desfossez [this message]
2016-04-23 0:16 ` [lttng-dev] [PATCH lttng-modules v5 2/5] Extract the FD sets in select and pselect6 Julien Desfossez
2016-04-25 20:42 ` Julien Desfossez
2016-04-29 18:13 ` Mathieu Desnoyers
2016-04-29 18:25 ` Mathieu Desnoyers
2016-04-23 0:16 ` [lttng-dev] [PATCH lttng-modules v5 3/5] Extract the FDs and flags from poll and ppoll Julien Desfossez
2016-04-29 18:31 ` Mathieu Desnoyers
2016-04-23 0:16 ` [lttng-dev] [PATCH lttng-modules v5 4/5] Extract the payload for epoll_ctl Julien Desfossez
2016-04-29 18:35 ` Mathieu Desnoyers
2016-04-23 0:16 ` [lttng-dev] [PATCH lttng-modules v5 5/5] Extract the payload of epoll_wait/epoll_pwait Julien Desfossez
2016-04-29 18:45 ` 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=1461370612-15264-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