Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169811
b: refs/heads/master
c: 0f1ef51
h: refs/heads/master
i:
  169809: cbfb610
  169807: 08dc771
v: v3
  • Loading branch information
Lai Jiangshan authored and Ingo Molnar committed Nov 27, 2009
1 parent c1bfd84 commit 93d7a34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dd1853c3f493f6d22d9e5390b192a07b73d2ac0a
refs/heads/master: 0f1ef51d244809f417bdf45cdb00109fb6005672
8 changes: 8 additions & 0 deletions trunk/kernel/trace/trace_syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ int syscall_enter_define_fields(struct ftrace_event_call *call)
if (ret)
return ret;

ret = trace_define_field(call, SYSCALL_FIELD(int, nr), FILTER_OTHER);
if (ret)
return ret;

for (i = 0; i < meta->nb_args; i++) {
ret = trace_define_field(call, meta->types[i],
meta->args[i], offset,
Expand All @@ -281,6 +285,10 @@ int syscall_exit_define_fields(struct ftrace_event_call *call)
if (ret)
return ret;

ret = trace_define_field(call, SYSCALL_FIELD(int, nr), FILTER_OTHER);
if (ret)
return ret;

ret = trace_define_field(call, SYSCALL_FIELD(long, ret),
FILTER_OTHER);

Expand Down

0 comments on commit 93d7a34

Please sign in to comment.