From 583fe329a5164a61e28be79063a6908574e994e6 Mon Sep 17 00:00:00 2001 From: Laura Abbott <lauraa@codeaurora.org> Date: Wed, 22 Jan 2014 11:07:12 -0800 Subject: [PATCH] linux-ramdump-parser-v2: Fix missing imports Several imports were dropped during code refactor. Re-add them. Change-Id: I29b6d680c19400f1e246891ec0e32730f8a6424c --- linux-ramdump-parser-v2/parsers/debug_image.py | 3 ++- linux-ramdump-parser-v2/parsers/watchdog.py | 3 ++- linux-ramdump-parser-v2/qdss.py | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/linux-ramdump-parser-v2/parsers/debug_image.py b/linux-ramdump-parser-v2/parsers/debug_image.py index 89576fe..6e3df41 100644 --- a/linux-ramdump-parser-v2/parsers/debug_image.py +++ b/linux-ramdump-parser-v2/parsers/debug_image.py @@ -1,4 +1,4 @@ -# Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. +# Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 and @@ -15,6 +15,7 @@ from parser_util import register_parser, RamParser from print_out import print_out_str from qdss import QDSSDump from cachedump import save_l1_dump, parse_cache_dump +from watchdog import TZRegDump QDSS_MAGIC = 0x5D1DB1Bf diff --git a/linux-ramdump-parser-v2/parsers/watchdog.py b/linux-ramdump-parser-v2/parsers/watchdog.py index 4372170..33ca886 100644 --- a/linux-ramdump-parser-v2/parsers/watchdog.py +++ b/linux-ramdump-parser-v2/parsers/watchdog.py @@ -1,4 +1,4 @@ -# Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. +# Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 and @@ -9,6 +9,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. +import struct from print_out import print_out_str from parser_util import register_parser, RamParser diff --git a/linux-ramdump-parser-v2/qdss.py b/linux-ramdump-parser-v2/qdss.py index a100d2f..f8b3308 100644 --- a/linux-ramdump-parser-v2/qdss.py +++ b/linux-ramdump-parser-v2/qdss.py @@ -1,4 +1,4 @@ -# Copyright (c) 2012, The Linux Foundation. All rights reserved. +# Copyright (c) 2012, 2014 The Linux Foundation. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 and @@ -9,6 +9,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. +import struct from print_out import print_out_str tmc_registers = { -- GitLab