Lines Matching refs: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
56 text = " .base: {}\n".format(base.address)
57 text += " .index: {}\n".format(base['index'])
59 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution)
61 text += " .get_time: {}\n".format(base['get_time'])
63 text += " .offset: {} nsecs\n".format(base['offset'])
64 text += "active timers:\n"
65 text += "".join([x for x in print_active_timers(base)])
66 return text
75 text = "cpu: {}\n".format(cpu)
77 text += " clock {}:\n".format(i)
78 text += print_base(cpu_base['clock_base'][i])
87 text += "\n".join([s.format(f, cpu_base[f]) for s, f in fmts])
88 text += "\n"
105 text += "\n".join([s.format(f, ts[f]) for s, f in fmts])
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
189 text = "Timer List Version: gdb scripts\n"
190 text += "HRTIMER_MAX_CLOCK_BASES: {}\n".format(max_clock_bases)
191 text += "now at {} nsecs\n".format(ktime_get())
194 text += print_cpu(hrtimer_bases, cpu, max_clock_bases)
199 text += print_tickdevice(bc_dev, -1)
200 text += "\n"
203 text += "tick_broadcast_mask: {}\n".format(mask)
207 text += "tick_broadcast_oneshot_mask: {}\n".format(mask)
208 text += "\n"
213 text += print_tickdevice(tick_dev, cpu)
214 text += "\n"
216 gdb.write(text)