diff options
author | Lionel Landwerlin <[email protected]> | 2018-08-27 00:19:29 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2019-03-07 15:08:31 +0000 |
commit | 69ee5bde4e3ce8c88e16bb16e0bccf440cf516ac (patch) | |
tree | daa536ad6ac14a9f0abf26046824f1322e70a914 /src/intel/tools/error2aub.c | |
parent | 01443f34b4133e23b04718a0a26f317d658de760 (diff) |
intel/aub_write: write header in init
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Rafael Antognolli <[email protected]>
Diffstat (limited to 'src/intel/tools/error2aub.c')
-rw-r--r-- | src/intel/tools/error2aub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/tools/error2aub.c b/src/intel/tools/error2aub.c index e0eca2778e7..fff36085fef 100644 --- a/src/intel/tools/error2aub.c +++ b/src/intel/tools/error2aub.c @@ -218,11 +218,11 @@ main(int argc, char *argv[]) int matched = sscanf(line, "PCI ID: 0x%04x\n", &pci_id); fail_if(!matched, "Invalid error state file!\n"); - aub_file_init(&aub, aub_file, pci_id); + aub_file_init(&aub, aub_file, + NULL, pci_id, "error_state"); fail_if(!aub_use_execlists(&aub), "%s currently only works on gen8+\n", argv[0]); - aub_write_header(&aub, "error state"); aub_write_default_setup(&aub); continue; } |