mesa/src/intel/tools/intel_hang_replay_xe.h
Carlos Santa 3b8fb95fec intel/hang_replay: add option to dump VM state as part of the dump
Replaying a dump file requires the VM state in order to feed the
replay tool with the necessary VMA properties that described the hang,
however, these properties are not necessarily useful once the replay
tool re-runs said traces, however, this patch makes this optional.

Signed-off-by: Carlos Santa <carlos.santa@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34829>
2026-01-07 19:16:25 +00:00

19 lines
605 B
C

/*
* Copyright 2025 Intel Corporation
* SPDX-License-Identifier: MIT
*/
#pragma once
#include <stdio.h>
#include <stdbool.h>
#include "util/u_dynarray.h"
#include "common/intel_hang_dump.h"
#include "intel/dev/intel_device_info.h"
bool process_xe_dmp_file(int file_fd, int drm_fd, const struct intel_device_info *devinfo,
struct util_dynarray *buffers, void *mem_ctx,
struct intel_hang_dump_block_exec *init,
struct intel_hang_dump_block_exec *exec,
uint32_t vm_uapi_flags, uint32_t bo_dumpable);