diff options
Diffstat (limited to 'tools/perf/builtin-probe.c')
-rw-r--r-- | tools/perf/builtin-probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c index 510fdd4e5d37..5f47e624e57e 100644 --- a/tools/perf/builtin-probe.c +++ b/tools/perf/builtin-probe.c | |||
@@ -428,7 +428,7 @@ end_dwarf: | |||
428 | pp->retprobe ? 'r' : 'p', | 428 | pp->retprobe ? 'r' : 'p', |
429 | PERFPROBE_GROUP, | 429 | PERFPROBE_GROUP, |
430 | pp->function, pp->offset, i, | 430 | pp->function, pp->offset, i, |
431 | pp->probes[0]); | 431 | pp->probes[i]); |
432 | write_new_event(fd, buf); | 432 | write_new_event(fd, buf); |
433 | } | 433 | } |
434 | } | 434 | } |