projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add sys_clone x86 instrumentation
[lttng-modules.git]
/
wrapper
/
ftrace.h
diff --git
a/wrapper/ftrace.h
b/wrapper/ftrace.h
index 9c18cc5648424667f5a907a1170e2714685ce651..0f15ee4a31daca2942a28ea9d864ebf4255c98c5 100644
(file)
--- a/
wrapper/ftrace.h
+++ b/
wrapper/ftrace.h
@@
-1,5
+1,5
@@
-#ifndef _LTT_WRAPPER_FTRACE_H
-#define _LTT_WRAPPER_FTRACE_H
+#ifndef _LTT
NG
_WRAPPER_FTRACE_H
+#define _LTT
NG
_WRAPPER_FTRACE_H
/*
* Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com)
/*
* Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com)
@@
-16,6
+16,7
@@
#ifdef CONFIG_KALLSYMS
#include <linux/kallsyms.h>
#ifdef CONFIG_KALLSYMS
#include <linux/kallsyms.h>
+#include "kallsyms.h"
static inline
int wrapper_register_ftrace_function_probe(char *glob,
static inline
int wrapper_register_ftrace_function_probe(char *glob,
@@
-24,7
+25,7
@@
int wrapper_register_ftrace_function_probe(char *glob,
int (*register_ftrace_function_probe_sym)(char *glob,
struct ftrace_probe_ops *ops, void *data);
int (*register_ftrace_function_probe_sym)(char *glob,
struct ftrace_probe_ops *ops, void *data);
- register_ftrace_function_probe_sym = (void *) kallsyms_lookup_
name
("register_ftrace_function_probe");
+ register_ftrace_function_probe_sym = (void *) kallsyms_lookup_
funcptr
("register_ftrace_function_probe");
if (register_ftrace_function_probe_sym) {
return register_ftrace_function_probe_sym(glob, ops, data);
} else {
if (register_ftrace_function_probe_sym) {
return register_ftrace_function_probe_sym(glob, ops, data);
} else {
@@
-40,7
+41,7
@@
void wrapper_unregister_ftrace_function_probe(char *glob,
void (*unregister_ftrace_function_probe_sym)(char *glob,
struct ftrace_probe_ops *ops, void *data);
void (*unregister_ftrace_function_probe_sym)(char *glob,
struct ftrace_probe_ops *ops, void *data);
- unregister_ftrace_function_probe_sym = (void *) kallsyms_lookup_
name
("unregister_ftrace_function_probe");
+ unregister_ftrace_function_probe_sym = (void *) kallsyms_lookup_
funcptr
("unregister_ftrace_function_probe");
if (unregister_ftrace_function_probe_sym) {
unregister_ftrace_function_probe_sym(glob, ops, data);
} else {
if (unregister_ftrace_function_probe_sym) {
unregister_ftrace_function_probe_sym(glob, ops, data);
} else {
@@
-66,4
+67,4
@@
void wrapper_unregister_ftrace_function_probe(char *glob,
}
#endif
}
#endif
-#endif /* _LTT_WRAPPER_FTRACE_H */
+#endif /* _LTT
NG
_WRAPPER_FTRACE_H */
This page took
0.024048 seconds
and
4
git commands to generate.