Lines Matching +full:per +full:- +full:string
4 # per-cpu tools
6 # Copyright (c) Siemens AG, 2011-2013
24 return gdb.selected_thread().num - 1
27 if tid > (0x100000000 - MAX_CPUS - 2):
28 return 0x100000000 - tid - 2
37 if cpu == -1:
78 entry = -1
130 super(LxCpus, self).__init__("lx-cpus", gdb.COMMAND_DATA)
143 """Return per-cpu variable.
145 $lx_per_cpu("VAR"[, CPU]): Return the per-cpu variable called VAR for the
147 Note that VAR has to be quoted as string."""
152 def invoke(self, var_name, cpu=-1):
153 var_ptr = gdb.parse_and_eval("&" + var_name.string())
163 $lx_current([CPU]): Return the per-cpu task variable for the given CPU
169 def invoke(self, cpu=-1):