projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wrapper: remove tracepoint wrapper
[lttng-modules.git]
/
lttng-syscalls.c
diff --git
a/lttng-syscalls.c
b/lttng-syscalls.c
index 3d2025eb35525f9a2f601e7379e7899aaf24179a..e1f1809808573367b701b62cfe9a90d4af8e075c 100644
(file)
--- a/
lttng-syscalls.c
+++ b/
lttng-syscalls.c
@@
-23,11
+23,11
@@
#include <asm/syscall.h>
#include <lib/bitfield.h>
#include <asm/syscall.h>
#include <lib/bitfield.h>
-#include <wrapper/tracepoint.h>
#include <wrapper/file.h>
#include <wrapper/rcu.h>
#include <wrapper/syscall.h>
#include <lttng-events.h>
#include <wrapper/file.h>
#include <wrapper/rcu.h>
#include <wrapper/syscall.h>
#include <lttng-events.h>
+#include "lttng-tracepoint.h"
#ifndef CONFIG_COMPAT
# ifndef is_compat_task
#ifndef CONFIG_COMPAT
# ifndef is_compat_task
@@
-883,7
+883,7
@@
int lttng_syscalls_register(struct lttng_channel *chan, void *filter)
return ret;
#endif
if (!chan->sys_enter_registered) {
return ret;
#endif
if (!chan->sys_enter_registered) {
- ret = lttng_
wrapper_
tracepoint_probe_register("sys_enter",
+ ret = lttng_tracepoint_probe_register("sys_enter",
(void *) syscall_entry_probe, chan);
if (ret)
return ret;
(void *) syscall_entry_probe, chan);
if (ret)
return ret;
@@
-894,10
+894,10
@@
int lttng_syscalls_register(struct lttng_channel *chan, void *filter)
* conflict with sys_exit syscall entry.
*/
if (!chan->sys_exit_registered) {
* conflict with sys_exit syscall entry.
*/
if (!chan->sys_exit_registered) {
- ret = lttng_
wrapper_
tracepoint_probe_register("sys_exit",
+ ret = lttng_tracepoint_probe_register("sys_exit",
(void *) syscall_exit_probe, chan);
if (ret) {
(void *) syscall_exit_probe, chan);
if (ret) {
- WARN_ON_ONCE(lttng_
wrapper_
tracepoint_probe_unregister("sys_enter",
+ WARN_ON_ONCE(lttng_tracepoint_probe_unregister("sys_enter",
(void *) syscall_entry_probe, chan));
return ret;
}
(void *) syscall_entry_probe, chan));
return ret;
}
@@
-916,14
+916,14
@@
int lttng_syscalls_unregister(struct lttng_channel *chan)
if (!chan->sc_table)
return 0;
if (chan->sys_enter_registered) {
if (!chan->sc_table)
return 0;
if (chan->sys_enter_registered) {
- ret = lttng_
wrapper_
tracepoint_probe_unregister("sys_enter",
+ ret = lttng_tracepoint_probe_unregister("sys_enter",
(void *) syscall_entry_probe, chan);
if (ret)
return ret;
chan->sys_enter_registered = 0;
}
if (chan->sys_exit_registered) {
(void *) syscall_entry_probe, chan);
if (ret)
return ret;
chan->sys_enter_registered = 0;
}
if (chan->sys_exit_registered) {
- ret = lttng_
wrapper_
tracepoint_probe_unregister("sys_exit",
+ ret = lttng_tracepoint_probe_unregister("sys_exit",
(void *) syscall_exit_probe, chan);
if (ret)
return ret;
(void *) syscall_exit_probe, chan);
if (ret)
return ret;
This page took
0.025121 seconds
and
4
git commands to generate.