[Intel-gfx] [PATCH i-g-t 2/3] debugger: Clean up register access helper in debug_rdata

Rhys Kidd rhyskidd at gmail.com
Wed Jan 10 04:25:10 UTC 2018


Clean up the register access helper initialized with
intel_register_access_init() by debug_rdata

Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>
---
 debugger/debug_rdata.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debugger/debug_rdata.c b/debugger/debug_rdata.c
index 45084b8e..4db7cbcd 100644
--- a/debugger/debug_rdata.c
+++ b/debugger/debug_rdata.c
@@ -138,5 +138,6 @@ int main(int argc, char *argv[]) {
 	intel_register_access_init(pci_dev, 0, 1);
 	find_stuck_threads();
 //	collect_rdata(atoi(argv[1]), atoi(argv[2]));
+	intel_register_access_fini();
 	return 0;
 }
-- 
2.14.1



More information about the Intel-gfx mailing list