diff options
| author | José Roberto de Souza <jose.souza@intel.com> | 2024-03-07 16:52:28 +0300 |
|---|---|---|
| committer | José Roberto de Souza <jose.souza@intel.com> | 2024-03-22 18:08:47 +0300 |
| commit | e5f661bb56d49f05d095b3d40e27c0ce8039aef0 (patch) | |
| tree | 0e12c814f94338d999f5c0e5694dadc38c61e0dd /tools/perf/scripts/python/gecko.py | |
| parent | 241dea210153fe12dc7814b14d8cd9ee76c8510d (diff) | |
| download | linux-e5f661bb56d49f05d095b3d40e27c0ce8039aef0.tar.xz | |
drm/xe/devcoredump: Print errno if VM snapshot was not captured
My testing machine has only 8GB of RAM and while running piglit tests
I can reach the OOM cache in xe_vm_snapshot_capture() snap allocaiton
sometimes.
So to differentiate the OOM from race between capture and UMDs
unbinbind VMs here I'm adding a '[0].error: -12' to devcoredump.
v2:
- fix returned errno values
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240307135229.41973-2-jose.souza@intel.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
