Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169845
b: refs/heads/master
c: 7be077f
h: refs/heads/master
i:
  169843: 7766c25
v: v3
  • Loading branch information
Lai Jiangshan authored and Ingo Molnar committed Dec 1, 2009
1 parent 92a6b36 commit b374c83
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 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: 3bbe84e9d385205d638035ee9dcc4db1b486ea08
refs/heads/master: 7be077f56370cd52c48c08272b0867132f87bc48
16 changes: 0 additions & 16 deletions trunk/kernel/trace/trace_syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,6 @@ static struct syscall_metadata *syscall_nr_to_meta(int nr)
return syscalls_metadata[nr];
}

static int syscall_name_to_nr(const char *name)
{
int i;

if (!syscalls_metadata)
return -1;

for (i = 0; i < NR_syscalls; i++) {
if (syscalls_metadata[i]) {
if (!strcmp(syscalls_metadata[i]->name, name))
return i;
}
}
return -1;
}

enum print_line_t
print_syscall_enter(struct trace_iterator *iter, int flags)
{
Expand Down

0 comments on commit b374c83

Please sign in to comment.