#ifndef _LTTNG_KERNEL_H
#define _LTTNG_KERNEL_H
-#include "lttng-share.h"
+#include <stdint.h>
+
+#include <lttng-share.h>
#define LTTNG_SYM_NAME_LEN 128
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 {
struct lttng_kernel_perf_counter_ctx {
uint32_t type;
uint64_t config;
- char name[LTTNG_SYMBOL_NAME_LEN];
+ char name[LTTNG_SYM_NAME_LEN];
};
/* Event/Channel context */
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 */