projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test_sessions: add fflush after printf not ending with newline
[lttng-tools.git]
/
include
/
lttng-kernel.h
diff --git
a/include/lttng-kernel.h
b/include/lttng-kernel.h
index 9eb207bb2fd4e255cf88bccc8de61f27ce99deec..455b1c460714cb3e233803c1f798fb7f50c9f4f7 100644
(file)
--- a/
include/lttng-kernel.h
+++ b/
include/lttng-kernel.h
@@
-21,9
+21,11
@@
#ifndef _LTTNG_KERNEL_H
#define _LTTNG_KERNEL_H
#ifndef _LTTNG_KERNEL_H
#define _LTTNG_KERNEL_H
-#include
"lttng-share.h"
+#include
<stdint.h>
-#define LTTNG_SYM_NAME_LEN 128
+#include <lttng-share.h>
+
+#define LTTNG_SYM_NAME_LEN 256
/*
* LTTng DebugFS ABI structures.
/*
* LTTng DebugFS ABI structures.
@@
-32,10
+34,13
@@
*/
enum lttng_kernel_instrumentation {
*/
enum lttng_kernel_instrumentation {
+ LTTNG_KERNEL_ALL = -1, /* Used within lttng-tools */
LTTNG_KERNEL_TRACEPOINT = 0,
LTTNG_KERNEL_KPROBE = 1,
LTTNG_KERNEL_FUNCTION = 2,
LTTNG_KERNEL_KRETPROBE = 3,
LTTNG_KERNEL_TRACEPOINT = 0,
LTTNG_KERNEL_KPROBE = 1,
LTTNG_KERNEL_FUNCTION = 2,
LTTNG_KERNEL_KRETPROBE = 3,
+ LTTNG_KERNEL_NOOP = 4, /* not hooked */
+ LTTNG_KERNEL_SYSCALL = 5,
};
enum lttng_kernel_context_type {
};
enum lttng_kernel_context_type {
@@
-55,7
+60,7
@@
enum lttng_kernel_context_type {
struct lttng_kernel_perf_counter_ctx {
uint32_t type;
uint64_t config;
struct lttng_kernel_perf_counter_ctx {
uint32_t type;
uint64_t config;
- char name[LTTNG_SYM
BOL
_NAME_LEN];
+ char name[LTTNG_SYM_NAME_LEN];
};
/* Event/Channel context */
};
/* Event/Channel context */
@@
-105,4
+110,12
@@
struct lttng_kernel_tracer_version {
uint32_t sublevel;
};
uint32_t sublevel;
};
+enum lttng_kernel_calibrate_type {
+ LTTNG_KERNEL_CALIBRATE_KRETPROBE,
+};
+
+struct lttng_kernel_calibrate {
+ enum lttng_kernel_calibrate_type type; /* type (input) */
+};
+
#endif /* _LTTNG_KERNEL_H */
#endif /* _LTTNG_KERNEL_H */
This page took
0.026986 seconds
and
5
git commands to generate.