test: Add testcase for #1001
Refs: #1001 Change-Id: I3edd750108bd3f887af1f0afe3f2651f1243062b
This commit is contained in:
committed by
Masamichi Takagi
parent
786649d2a3
commit
d4fa953975
13
test/issues/1001/perf_tool.h
Normal file
13
test/issues/1001/perf_tool.h
Normal 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
|
||||
Reference in New Issue
Block a user