Skip to content
Snippets Groups Projects
Commit 1402e7d5 authored by Satya Durga Srinivasu Prabhala's avatar Satya Durga Srinivasu Prabhala
Browse files

lrdp-v2: print tick_do_timer_cpu as part of timerlist

tick_do_timer_cpu helps in debugging issues by holding CPU number,
which owns update jiffies functionality.

Change-Id: I576a2970af0c1479ba956fd97896d4924670f4a1
parent f21d248c
No related branches found
No related tags found
No related merge requests found
# Copyright (c) 2015, The Linux Foundation. All rights reserved. # Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
# #
# This program is free software; you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License version 2 and
...@@ -137,6 +137,12 @@ class TimerList(RamParser) : ...@@ -137,6 +137,12 @@ class TimerList(RamParser) :
self.iterate_vec(vec, base) self.iterate_vec(vec, base)
self.print_vec(vec) self.print_vec(vec)
tick_do_timer_cpu_addr = self.ramdump.address_of('tick_do_timer_cpu')
tick_do_timer_cpu_val = "tick_do_timer_cpu: {0}\n".format(self.ramdump.read_int(tick_do_timer_cpu_addr))
self.output_file.write("=" * len(tick_do_timer_cpu_val) + "\n")
self.output_file.write(tick_do_timer_cpu_val)
self.output_file.write("=" * len(tick_do_timer_cpu_val) + "\n")
def parse(self): def parse(self):
self.output_file = self.ramdump.open_file('timerlist.txt') self.output_file = self.ramdump.open_file('timerlist.txt')
self.get_timer_list() self.get_timer_list()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment