7799611c01
Open SMI event file handle, prefetch to migrate svm range to GPU, read HMM profiling events, then check event_id, address, size, pid, event triggers are the expected value. Start separate thread to read SMI event, the same way applications use. Use thread barrier to ensure no event is dropped. Change-Id: I0683969d18d1579847e125d86aa4257602adb13f Signed-off-by: Philip Yang <Philip.Yang@amd.com>