projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: ring buffer check deliver compile fix
[lttng-modules.git]
/
lttng-events.h
diff --git
a/lttng-events.h
b/lttng-events.h
index 09d561812d77dcc8cb843046437e16e6d11385d9..19fd5080f5fed73ca6381d60afd161a31c057c3e 100644
(file)
--- a/
lttng-events.h
+++ b/
lttng-events.h
@@
-30,8
+30,7
@@
#include "lttng-abi.h"
#include "lttng-abi-old.h"
#include "lttng-abi.h"
#include "lttng-abi-old.h"
-#undef is_signed_type
-#define is_signed_type(type) (((type)(-1)) < 0)
+#define lttng_is_signed_type(type) (((type)(-1)) < 0)
struct lttng_channel;
struct lttng_session;
struct lttng_channel;
struct lttng_session;
@@
-71,7
+70,7
@@
struct lttng_enum_entry {
{ \
.size = sizeof(_type) * CHAR_BIT, \
.alignment = lttng_alignof(_type) * CHAR_BIT, \
{ \
.size = sizeof(_type) * CHAR_BIT, \
.alignment = lttng_alignof(_type) * CHAR_BIT, \
- .signedness =
is_signed_type(_type),
\
+ .signedness =
lttng_is_signed_type(_type),
\
.reverse_byte_order = _byte_order != __BYTE_ORDER, \
.base = _base, \
.encoding = lttng_encode_##_encoding, \
.reverse_byte_order = _byte_order != __BYTE_ORDER, \
.base = _base, \
.encoding = lttng_encode_##_encoding, \
@@
-163,7
+162,8
@@
struct lttng_ctx {
};
struct lttng_event_desc {
};
struct lttng_event_desc {
- const char *name;
+ const char *name; /* lttng-modules name */
+ const char *kname; /* Linux kernel name (tracepoints) */
void *probe_callback;
const struct lttng_event_ctx *ctx; /* context */
const struct lttng_event_field *fields; /* event payload */
void *probe_callback;
const struct lttng_event_ctx *ctx; /* context */
const struct lttng_event_field *fields; /* event payload */
This page took
0.023861 seconds
and
4
git commands to generate.