Lines Matching full:text
38 text = " #{}: <{}>, {}, ".format(idx, timer, function)
39 text += "S:{:02x}\n".format(int(timer['state']))
40 text += " # expires at {}-{} nsecs [in {} to {} nsecs]\n".format(
42 return text
55 text = " .base: {}\n".format(base.address)
56 text += " .index: {}\n".format(base['index'])
58 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution)
60 text += " .get_time: {}\n".format(base['get_time'])
62 text += " .offset: {} nsecs\n".format(base['offset'])
63 text += "active timers:\n"
64 text += "".join([x for x in print_active_timers(base)])
65 return text
74 text = "cpu: {}\n".format(cpu)
76 text += " clock {}:\n".format(i)
77 text += print_base(cpu_base['clock_base'][i])
86 text += "\n".join([s.format(f, cpu_base[f]) for s, f in fmts])
87 text += "\n"
92 text += f" .{'nohz':15s}: {int(bool(ts['flags'] & TS_FLAG_NOHZ))}\n"
93 text += f" .{'last_tick':15s}: {ts['last_tick']}\n"
94 text += f" .{'tick_stopped':15s}: {int(bool(ts['flags'] & TS_FLAG_STOPPED))}\n"
95 text += f" .{'idle_jiffies':15s}: {ts['idle_jiffies']}\n"
96 text += f" .{'idle_calls':15s}: {ts['idle_calls']}\n"
97 text += f" .{'idle_sleeps':15s}: {ts['idle_sleeps']}\n"
98 text += f" .{'idle_entrytime':15s}: {ts['idle_entrytime']} nsecs\n"
99 text += f" .{'idle_waketime':15s}: {ts['idle_waketime']} nsecs\n"
100 text += f" .{'idle_exittime':15s}: {ts['idle_exittime']} nsecs\n"
101 text += f" .{'idle_sleeptime':15s}: {ts['idle_sleeptime']} nsecs\n"
102 text += f" .{'iowait_sleeptime':15s}: {ts['iowait_sleeptime']} nsecs\n"
103 text += f" .{'last_jiffies':15s}: {ts['last_jiffies']}\n"
104 text += f" .{'next_timer':15s}: {ts['next_timer']}\n"
105 text += f" .{'idle_expires':15s}: {ts['idle_expires']} nsecs\n"
106 text += "\njiffies: {}\n".format(jiffies)
108 text += "\n"
110 return text
115 text = "Tick Device: mode: {}\n".format(td['mode'])
117 text += "Broadcast device\n"
119 text += "Per CPU device: {}\n".format(cpu)
121 text += "Clock Event Device: "
123 text += "<NULL>\n"
124 return text
126 text += "{}\n".format(dev['name'])
127 text += " max_delta_ns: {}\n".format(dev['max_delta_ns'])
128 text += " min_delta_ns: {}\n".format(dev['min_delta_ns'])
129 text += " mult: {}\n".format(dev['mult'])
130 text += " shift: {}\n".format(dev['shift'])
131 text += " mode: {}\n".format(dev['state_use_accessors'])
132 text += " next_event: {} nsecs\n".format(dev['next_event'])
134 text += " set_next_event: {}\n".format(dev['set_next_event'])
143 text += fmt.format(dev[member])
145 text += " event_handler: {}\n".format(dev['event_handler'])
146 text += " retries: {}\n".format(dev['retries'])
148 return text
191 text = "Timer List Version: gdb scripts\n"
192 text += "HRTIMER_MAX_CLOCK_BASES: {}\n".format(
194 text += "now at {} nsecs\n".format(ktime_get())
197 text += print_cpu(hrtimer_bases, cpu, max_clock_bases)
202 text += print_tickdevice(bc_dev, -1)
203 text += "\n"
206 text += "tick_broadcast_mask: {}\n".format(mask)
210 text += "tick_broadcast_oneshot_mask: {}\n".format(mask)
211 text += "\n"
216 text += print_tickdevice(tick_dev, cpu)
217 text += "\n"
219 gdb.write(text)