Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tools
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
vendor
qcom-opensource
tools
Commits
94045f83
Commit
94045f83
authored
10 years ago
by
Linux Build Service Account
Committed by
Gerrit - the friendly Code Review server
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "linux-ramdump-parser-v2: don't print regs for check-for-watchdog"
parents
bfea0a6c
ed1ce8ad
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
linux-ramdump-parser-v2/parsers/watchdog.py
+3
-16
3 additions, 16 deletions
linux-ramdump-parser-v2/parsers/watchdog.py
with
3 additions
and
16 deletions
linux-ramdump-parser-v2/parsers/watchdog.py
100644 → 100755
+
3
−
16
View file @
94045f83
...
@@ -306,6 +306,9 @@ class TZRegDump(RamParser):
...
@@ -306,6 +306,9 @@ class TZRegDump(RamParser):
return
True
return
True
def
parse
(
self
):
def
parse
(
self
):
if
self
.
ramdump
.
addr_lookup
(
'
memdump
'
):
return
None
ebi_addr
=
self
.
ramdump
.
read_tz_offset
()
ebi_addr
=
self
.
ramdump
.
read_tz_offset
()
if
ebi_addr
is
None
:
if
ebi_addr
is
None
:
...
@@ -323,22 +326,6 @@ class TZRegDump(RamParser):
...
@@ -323,22 +326,6 @@ class TZRegDump(RamParser):
'
[!!!!] Read {0:x} from IMEM successfully!
'
.
format
(
ebi_addr
))
'
[!!!!] Read {0:x} from IMEM successfully!
'
.
format
(
ebi_addr
))
print_out_str
(
'
[!!!!] An FIQ occured on the system!
'
)
print_out_str
(
'
[!!!!] An FIQ occured on the system!
'
)
# The debug image will be responsible for printing out the register
# information, no need to print it twice
if
self
.
ramdump
.
is_config_defined
(
'
CONFIG_MSM_DEBUG_IMAGE
'
):
print_out_str
(
'
[!!!!] Debug image was enabled, the contexts will be printed there
'
)
return
regs
=
self
.
init_regs
(
ebi_addr
)
if
regs
is
False
:
print_out_str
(
'
!!! Could not get registers from TZ dump
'
)
return
for
i
in
range
(
self
.
ncores
):
self
.
dump_core_pc
(
i
)
self
.
dump_all_regs
()
def
get_wdog_timing
(
ramdump
):
def
get_wdog_timing
(
ramdump
):
jiffies_addr
=
ramdump
.
addr_lookup
(
'
jiffies
'
)
jiffies_addr
=
ramdump
.
addr_lookup
(
'
jiffies
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment