projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makes kprobe attribute specific to kernel
[lttng-tools.git]
/
include
/
lttng-kernel.h
diff --git
a/include/lttng-kernel.h
b/include/lttng-kernel.h
index 3259bff84d8b8821b42e0a978a030ff3b1cb8920..29731748501aee899240b27b2976f218e26b1bf3 100644
(file)
--- a/
include/lttng-kernel.h
+++ b/
include/lttng-kernel.h
@@
-45,15
+45,8
@@
enum lttng_kernel_output {
* This is the kernel ABI copied from lttng-modules tree.
*/
* This is the kernel ABI copied from lttng-modules tree.
*/
-/* Either addr is used or symbol_name and offset. */
-struct lttng_kernel_kprobe {
- uint64_t addr;
-
- uint64_t offset;
- char symbol_name[LTTNG_SYM_NAME_LEN];
-};
-
-struct lttng_kernel_function_tracer {
+/* Function tracer */
+struct lttng_kernel_function_attr {
char symbol_name[LTTNG_SYM_NAME_LEN];
};
char symbol_name[LTTNG_SYM_NAME_LEN];
};
@@
-62,8
+55,8
@@
struct lttng_kernel_event {
enum lttng_kernel_instrumentation instrumentation;
/* Per instrumentation type configuration */
union {
enum lttng_kernel_instrumentation instrumentation;
/* Per instrumentation type configuration */
union {
- struct lttng_kernel_kprobe kprobe;
- struct lttng_kernel_function_
trace
r ftrace;
+ struct lttng_kernel_kprobe
_attr
kprobe;
+ struct lttng_kernel_function_
att
r ftrace;
} u;
};
} u;
};
This page took
0.023587 seconds
and
4
git commands to generate.