intel/perf: create a vtable entries for buffer object map/unmap

These operations are needed to refactor subsequent methods into perf

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Mark Janes
2019-06-26 12:26:21 -07:00
parent a330d759c5
commit df18acee78
3 changed files with 17 additions and 6 deletions

View File

@@ -42,6 +42,9 @@
#define FILE_DEBUG_FLAG DEBUG_PERFMON
#define MAP_READ (1 << 0)
#define MAP_WRITE (1 << 1)
static bool
get_sysfs_dev_dir(struct gen_perf_config *perf, int fd)
{