projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
format-cpp: run clang-format in parallel
[lttng-tools.git]
/
src
/
common
/
lttng-kernel-old.hpp
diff --git
a/src/common/lttng-kernel-old.hpp
b/src/common/lttng-kernel-old.hpp
index 2ffb75483240ebfafd6b7278b90f615081d4ef87..f746c3475cbc768cc423fd574c1709e83548ec65 100644
(file)
--- a/
src/common/lttng-kernel-old.hpp
+++ b/
src/common/lttng-kernel-old.hpp
@@
-9,9
+9,10
@@
#ifndef _LTTNG_KERNEL_OLD_H
#define _LTTNG_KERNEL_OLD_H
#ifndef _LTTNG_KERNEL_OLD_H
#define _LTTNG_KERNEL_OLD_H
-#include <stdint.h>
#include <common/lttng-kernel.hpp>
#include <common/lttng-kernel.hpp>
+#include <stdint.h>
+
/*
* LTTng DebugFS ABI structures.
*
/*
* LTTng DebugFS ABI structures.
*
@@
-26,8
+27,8
@@
struct lttng_kernel_abi_old_perf_counter_ctx {
};
/* Event/Channel context */
};
/* Event/Channel context */
-#define LTTNG_KERNEL_ABI_OLD_CONTEXT_PADDING1
16
-#define LTTNG_KERNEL_ABI_OLD_CONTEXT_PADDING2
LTTNG_KERNEL_ABI_SYM_NAME_LEN + 32
+#define LTTNG_KERNEL_ABI_OLD_CONTEXT_PADDING1 16
+#define LTTNG_KERNEL_ABI_OLD_CONTEXT_PADDING2
((LTTNG_KERNEL_ABI_SYM_NAME_LEN + 32))
struct lttng_kernel_abi_old_context {
enum lttng_kernel_abi_context_type ctx;
char padding[LTTNG_KERNEL_ABI_OLD_CONTEXT_PADDING1];
struct lttng_kernel_abi_old_context {
enum lttng_kernel_abi_context_type ctx;
char padding[LTTNG_KERNEL_ABI_OLD_CONTEXT_PADDING1];
@@
-60,8
+61,8
@@
struct lttng_kernel_abi_old_function {
char symbol_name[LTTNG_KERNEL_ABI_SYM_NAME_LEN];
};
char symbol_name[LTTNG_KERNEL_ABI_SYM_NAME_LEN];
};
-#define LTTNG_KERNEL_ABI_OLD_EVENT_PADDING1
16
-#define LTTNG_KERNEL_ABI_OLD_EVENT_PADDING2
LTTNG_KERNEL_ABI_SYM_NAME_LEN + 32
+#define LTTNG_KERNEL_ABI_OLD_EVENT_PADDING1 16
+#define LTTNG_KERNEL_ABI_OLD_EVENT_PADDING2
((LTTNG_KERNEL_ABI_SYM_NAME_LEN + 32))
struct lttng_kernel_abi_old_event {
char name[LTTNG_KERNEL_ABI_SYM_NAME_LEN];
enum lttng_kernel_abi_instrumentation instrumentation;
struct lttng_kernel_abi_old_event {
char name[LTTNG_KERNEL_ABI_SYM_NAME_LEN];
enum lttng_kernel_abi_instrumentation instrumentation;
@@
-85,14
+86,14
@@
struct lttng_kernel_abi_old_tracer_version {
/*
* kernel channel
*/
/*
* kernel channel
*/
-#define LTTNG_KERNEL_ABI_OLD_CHANNEL_PADDING1
LTTNG_SYMBOL_NAME_LEN + 32
+#define LTTNG_KERNEL_ABI_OLD_CHANNEL_PADDING1
((LTTNG_SYMBOL_NAME_LEN + 32))
struct lttng_kernel_abi_old_channel {
struct lttng_kernel_abi_old_channel {
- int overwrite;
/* 1: overwrite, 0: discard */
- uint64_t subbuf_size;
/* bytes */
- uint64_t num_subbuf;
/* power of 2 */
+ int overwrite; /* 1: overwrite, 0: discard */
+ uint64_t subbuf_size; /* bytes */
+ uint64_t num_subbuf; /* power of 2 */
unsigned int switch_timer_interval; /* usec */
unsigned int switch_timer_interval; /* usec */
- unsigned int read_timer_interval;
/* usec */
- enum lttng_event_output output;
/* splice, mmap */
+ unsigned int read_timer_interval; /* usec */
+ enum lttng_event_output output; /* splice, mmap */
char padding[LTTNG_KERNEL_ABI_OLD_CHANNEL_PADDING1];
};
char padding[LTTNG_KERNEL_ABI_OLD_CHANNEL_PADDING1];
};
This page took
0.024766 seconds
and
4
git commands to generate.