diff options
author | Matthew Brost <matthew.brost@intel.com> | 2024-05-30 23:33:41 +0300 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2024-05-31 20:31:09 +0300 |
commit | f2bf9e95989c0163650dbeaede658d0fcf929063 (patch) | |
tree | 75cd068b96e23e97ff9ef31a81cccf35cd4cf319 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c063cce7df3a765539e2a2d75ab943f334446cce (diff) | |
download | linux-f2bf9e95989c0163650dbeaede658d0fcf929063.tar.xz |
drm/xe: Fix NULL ptr dereference in devcoredump
Kernel VM do not have an Xe file. Include a check for Xe file in the VM
before trying to get pid from VM's Xe file when taking a devcoredump.
Fixes: b10d0c5e9df7 ("drm/xe: Add process name to devcoredump")
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240530203341.1795181-1-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions