selftests/powerpc: Add tests of PMU EBBs
The Power8 Performance Monitor Unit (PMU) has a new feature called Event Based Branches (EBB). This commit adds tests of the kernel API for using EBBs. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:

committed by
Benjamin Herrenschmidt

parent
33b4819f3b
commit
3752e453f6
@@ -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);
|
||||
|
Reference in New Issue
Block a user