test: perf: prevent overflow counter from stopping counter

Fixes: 1a204b6 "perf: overflow test"
Change-Id: I4d8e93b97f7a8d58ef7811f55b5c995b16c5af69
This commit is contained in:
Masamichi Takagi
2020-03-27 02:12:04 -04:00
parent d086100b35
commit c3c0b7197f
3 changed files with 32 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ void print_usage(void);
//system call
long perf_event_open(struct perf_event_attr *event_attr, pid_t pid,
int cpu, int group_fd, unsigned long flags);
int perf_event_ioc_refresh(int fd, void *_args);
int init_perf_event_attr(struct perf_event_attr *event_attr);
int asm_ioctl3(int fd, unsigned long arg1, unsigned long arg2);
int asm_read(int fd, void *buf, size_t size);