Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140962
b: refs/heads/master
c: 6404434
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker authored and Ingo Molnar committed Mar 16, 2009
1 parent eb9b5b6 commit bd49a5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: ac99c58c9e56967037382e31f865b72b10127965
refs/heads/master: 6404434525bb9f8f2239998f30fd7c93f2efa5b3
10 changes: 2 additions & 8 deletions trunk/kernel/trace/trace_syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

static atomic_t refcount;

/* Our two options */
/* Option to display the parameters types */
enum {
TRACE_SYSCALLS_OPT_TYPES = 0x1,
};
Expand All @@ -18,7 +18,7 @@ static struct tracer_opt syscalls_opts[] = {
};

static struct tracer_flags syscalls_flags = {
.val = 0, /* By default: no args types */
.val = 0, /* By default: no parameters types */
.opts = syscalls_opts
};

Expand Down Expand Up @@ -135,12 +135,9 @@ void ftrace_syscall_enter(struct pt_regs *regs)
struct ring_buffer_event *event;
int size;
int syscall_nr;
int cpu;

syscall_nr = syscall_get_nr(current, regs);

cpu = raw_smp_processor_id();

sys_data = syscall_nr_to_meta(syscall_nr);
if (!sys_data)
return;
Expand All @@ -166,12 +163,9 @@ void ftrace_syscall_exit(struct pt_regs *regs)
struct syscall_metadata *sys_data;
struct ring_buffer_event *event;
int syscall_nr;
int cpu;

syscall_nr = syscall_get_nr(current, regs);

cpu = raw_smp_processor_id();

sys_data = syscall_nr_to_meta(syscall_nr);
if (!sys_data)
return;
Expand Down

0 comments on commit bd49a5b

Please sign in to comment.