test: Add testcase for #1001

Refs: #1001
Change-Id: I3edd750108bd3f887af1f0afe3f2651f1243062b
This commit is contained in:
Ken Sato
2018-08-01 12:55:08 +09:00
committed by Masamichi Takagi
parent 786649d2a3
commit d4fa953975
12 changed files with 810 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#ifndef __PERFTOOL_H__
#define __PERFTOOL_H__
#include <linux/perf_event.h>
int perf_event_open(struct perf_event_attr *hw_event, pid_t pid,
int cpu, int group_fd, unsigned long flags);
long long hw_cache_build(long long id, long long op_id, long long op_result_id);
void memory_task(void);
void calc_task(void);
#endif