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
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"
104 text += "\n".join([s.format(f, ts[f]) for s, f in fmts])
105 text += "\njiffies: {}\n".format(jiffies)
107 text += "\n"
109 return text
114 text = "Tick Device: mode: {}\n".format(td['mode'])
116 text += "Broadcast device\n"
118 text += "Per CPU device: {}\n".format(cpu)
120 text += "Clock Event Device: "
122 text += "<NULL>\n"
123 return text
125 text += "{}\n".format(dev['name'])
126 text += " max_delta_ns: {}\n".format(dev['max_delta_ns'])
127 text += " min_delta_ns: {}\n".format(dev['min_delta_ns'])
128 text += " mult: {}\n".format(dev['mult'])
129 text += " shift: {}\n".format(dev['shift'])
130 text += " mode: {}\n".format(dev['state_use_accessors'])
131 text += " next_event: {} nsecs\n".format(dev['next_event'])
133 text += " set_next_event: {}\n".format(dev['set_next_event'])
142 text += fmt.format(dev[member])
144 text += " event_handler: {}\n".format(dev['event_handler'])
145 text += " retries: {}\n".format(dev['retries'])
147 return text
190 text = "Timer List Version: gdb scripts\n"
191 text += "HRTIMER_MAX_CLOCK_BASES: {}\n".format(
193 text += "now at {} nsecs\n".format(ktime_get())
196 text += print_cpu(hrtimer_bases, cpu, max_clock_bases)
201 text += print_tickdevice(bc_dev, -1)
202 text += "\n"
205 text += "tick_broadcast_mask: {}\n".format(mask)
209 text += "tick_broadcast_oneshot_mask: {}\n".format(mask)
210 text += "\n"
215 text += print_tickdevice(tick_dev, cpu)
216 text += "\n"
218 gdb.write(text)