diff options
Diffstat (limited to 'tools/testing/selftests/powerpc/pmu/event.h')
| -rw-r--r-- | tools/testing/selftests/powerpc/pmu/event.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/pmu/event.h b/tools/testing/selftests/powerpc/pmu/event.h index e6993192ff3..a0ea6b1eef7 100644 --- a/tools/testing/selftests/powerpc/pmu/event.h +++ b/tools/testing/selftests/powerpc/pmu/event.h @@ -29,8 +29,12 @@ void event_init_named(struct event *e, u64 config, char *name);  void event_init_opts(struct event *e, u64 config, int type, char *name);  int event_open_with_options(struct event *e, pid_t pid, int cpu, int group_fd);  int event_open_with_group(struct event *e, int group_fd); +int event_open_with_pid(struct event *e, pid_t pid); +int event_open_with_cpu(struct event *e, int cpu);  int event_open(struct event *e);  void event_close(struct event *e); +int event_enable(struct event *e); +int event_disable(struct event *e);  int event_reset(struct event *e);  int event_read(struct event *e);  void event_report_justified(struct event *e, int name_width, int result_width);  | 
