Commit 934b1f5f authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Ingo Molnar

perf probe: Fix probe array index for multiple probe points

Fix the index of formatted probe array for multiple probe
points, which should be probes[i] instead of probes[0].
Signed-off-by: default avatarMasami Hiramatsu <>
Cc: systemtap <>
Cc: DLE <>
Cc: Steven Rostedt <>
Cc: Jim Keniston <>
Cc: Ananth N Mavinakayanahalli <>
Cc: Christoph Hellwig <>
Cc: Frank Ch. Eigler <>
Cc: Frederic Weisbecker <>
Cc: Jason Baron <>
Cc: K.Prasad <>
Cc: Peter Zijlstra <>
Cc: Srikar Dronamraju <>
Cc: Arnaldo Carvalho de Melo <>
Cc: Frederic Weisbecker <>
LKML-Reference: <20091201001950.10235.54781.stgit@harusame>
Signed-off-by: default avatarIngo Molnar <>
parent 74ca4c0e
......@@ -428,7 +428,7 @@ int cmd_probe(int argc, const char **argv, const char *prefix __used)
pp->retprobe ? 'r' : 'p',
pp->function, pp->offset, i,
write_new_event(fd, buf);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment