Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169839
b: refs/heads/master
c: bf56a4e
h: refs/heads/master
i:
  169837: 56e8397
  169835: c55630b
  169831: 4fc34eb
  169823: 8b27dfd
v: v3
  • Loading branch information
Lai Jiangshan authored and Ingo Molnar committed Dec 1, 2009
1 parent 99d65b5 commit 4d88924
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 59d069eb5ae9b033ed1c124c92e1532c4a958991
refs/heads/master: bf56a4ea9f1683c5b223fd3a5dbea23f1fa91c34
4 changes: 2 additions & 2 deletions trunk/include/linux/syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ static void prof_sysexit_disable_##sname(struct ftrace_event_call *unused) \
event_enter_##sname = { \
.name = "sys_enter"#sname, \
.system = "syscalls", \
.event = &event_syscall_enter, \
.event = &enter_syscall_print_##sname, \
.raw_init = init_enter_##sname, \
.show_format = syscall_enter_format, \
.define_fields = syscall_enter_define_fields, \
Expand Down Expand Up @@ -214,7 +214,7 @@ static void prof_sysexit_disable_##sname(struct ftrace_event_call *unused) \
event_exit_##sname = { \
.name = "sys_exit"#sname, \
.system = "syscalls", \
.event = &event_syscall_exit, \
.event = &exit_syscall_print_##sname, \
.raw_init = init_exit_##sname, \
.show_format = syscall_exit_format, \
.define_fields = syscall_exit_define_fields, \
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/trace/syscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ extern unsigned long arch_syscall_addr(int nr);
extern int syscall_name_to_nr(char *name);
void set_syscall_enter_id(int num, int id);
void set_syscall_exit_id(int num, int id);
extern struct trace_event event_syscall_enter;
extern struct trace_event event_syscall_exit;

extern int syscall_enter_format(struct ftrace_event_call *call,
struct trace_seq *s);
Expand Down
8 changes: 0 additions & 8 deletions trunk/kernel/trace/trace_syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,14 +444,6 @@ void unreg_event_syscall_exit(struct ftrace_event_call *call)
mutex_unlock(&syscall_trace_lock);
}

struct trace_event event_syscall_enter = {
.trace = print_syscall_enter,
};

struct trace_event event_syscall_exit = {
.trace = print_syscall_exit,
};

int __init init_ftrace_syscalls(void)
{
struct syscall_metadata *meta;
Expand Down

0 comments on commit 4d88924

Please sign in to comment.