Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169812
b: refs/heads/master
c: abab9d3
h: refs/heads/master
v: v3
  • Loading branch information
Lai Jiangshan authored and Ingo Molnar committed Nov 27, 2009
1 parent 93d7a34 commit 301a560
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 0f1ef51d244809f417bdf45cdb00109fb6005672
refs/heads/master: abab9d37d2a826fcf588c5f30152dbe05c40111c
4 changes: 3 additions & 1 deletion trunk/kernel/trace/trace_kprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,10 +704,12 @@ static int create_trace_probe(int argc, char **argv)
ret = parse_probe_arg(arg, &tp->args[i].fetch, is_return);
if (ret) {
pr_info("Parse error at argument%d. (%d)\n", i, ret);
kfree(tp->args[i].name);
goto error;
}

tp->nr_args++;
}
tp->nr_args = i;

ret = register_trace_probe(tp);
if (ret)
Expand Down

0 comments on commit 301a560

Please sign in to comment.