diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-12-08 10:00:04 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-09 10:32:21 +0100 |
commit | 822a6961112f0c9101d3359d8524604c3309ee6c (patch) | |
tree | ba66dda1220c6f3f9208b56cb50f716bbf08fa13 /drivers/net/vxge | |
parent | ec89a06fd4e12301f11ab039ee07d2353a18addc (diff) |
tracing/kprobes: Fix field creation's bad error handling
When we define the common event fields in kprobe, we invert the error
handling and return immediately in case of success. Then we omit
to define specific kprobes fields (ip and nargs), and specific
kretprobes fields (func, ret_ip, nargs). And we only define them
when we fail to create common fields.
The most visible consequence is that we can't create filter for
k(ret)probes specific fields.
This patch re-invert the success/error handling to fix it.
Reported-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <1260263815-5167-1-git-send-regression-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/net/vxge')
0 files changed, 0 insertions, 0 deletions