diff options
Diffstat (limited to 'include/linux/perf_counter.h')
| -rw-r--r-- | include/linux/perf_counter.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 282d8cc48980..d8c0eb480f9a 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
| @@ -605,8 +605,14 @@ extern int hw_perf_group_sched_in(struct perf_counter *group_leader, | |||
| 605 | struct perf_counter_context *ctx, int cpu); | 605 | struct perf_counter_context *ctx, int cpu); |
| 606 | extern void perf_counter_update_userpage(struct perf_counter *counter); | 606 | extern void perf_counter_update_userpage(struct perf_counter *counter); |
| 607 | 607 | ||
| 608 | extern int perf_counter_overflow(struct perf_counter *counter, | 608 | struct perf_sample_data { |
| 609 | int nmi, struct pt_regs *regs, u64 addr); | 609 | struct pt_regs *regs; |
| 610 | u64 addr; | ||
| 611 | }; | ||
| 612 | |||
| 613 | extern int perf_counter_overflow(struct perf_counter *counter, int nmi, | ||
| 614 | struct perf_sample_data *data); | ||
| 615 | |||
| 610 | /* | 616 | /* |
| 611 | * Return 1 for a software counter, 0 for a hardware counter | 617 | * Return 1 for a software counter, 0 for a hardware counter |
| 612 | */ | 618 | */ |
